xbee die when upload sketch to arduino board.

please help me. , when i've set the Xbee on arduino shield to Zigbee end devices AT , then upload temperature read sketch to arduino the xbee is die(red led off) how can i config this or i've something wrong ?

when i've set the Xbee

Which XBee?

on arduino shield

Which shield?

arduino the xbee is die(red led off)

XBees don't have lights.

how can i config this or i've something wrong ?

Config what? Where's your code?