This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530 serial boot loader can't run app code

Other Parts Discussed in Thread: CC2530

I want to download my app code more efficient, and I have read the document "Serial Boot Loader for CC253x.pdf", config my project step by step as it says, but I met some difficulties:
1. when build the SBL project which in ZStack-CC2530-2.5.1a\Projects\zstack\Utilities\BootLoad\CC2530, IAR gives error as below:
Fatal Error[e72]: Segment PDATA_Z must be defined in a segment definition option (-Z, -b or -P)
Error while running Linker
then I add PDATA_Z to sb-boot.xcl, build is ok. But I don't know whether it's correct.
......

-Z(CODE)INTVEC=_CODE_START
-Z(CODE)BIT_ID,BDATA_ID,DATA_ID,IDATA_ID,IXDATA_ID,PDATA_ID,PDATA_Z,XDATA_ID=_CODE_START-_CODE_END
........,
2.when I use SBL tool to download my app code into CC2530, but find that it doesn't run to my app code, that is to say, it doesn't jump to 0x2000. I don't know why, should the link file cc2530-sb.xcl be done some modifications?

3.when I produce SBL Application Code with Boot Code, download it with flash program tool, CC2530 runs to my app, but when I try to download my app code by SBL tool, it dosen't work then.

Could you please give me some guidance, thanks a lot.