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.

Sample Switch RouterEB - OTAclient .hex file size exceeds 256KB

Other Parts Discussed in Thread: CC2531, CC2530, Z-STACK

hello,

I am using Gateway client  application on BBB with cc2531 coordinator connected through USB and router device is smart RF board with cc2530 EM connected to it.

- I want to do OTA client application on CC2530 and upgrade image through the OTA server.  I read the document from following path

Texas Instruments\Z-Stack Home 1.2.1\Documents\Z-Stack OTA Upgrade User's Guide.pdf 

- and come to know that in the sample swich directory code for ota client for ROUTER as well EB is given.

- So I start with sampleswitch from

Texas Instruments\Z-Stack Home 1.2.1\Projects\zstack\HomeAutomation\SampleSwitch\CC2530DB\SampleSwitch.eww

and select RouterEB -OTAclient

-  I made changes in  option-> linker-> output ...

1. in output file select override default and give name sampleswitch.hex  

2. In format select other, output format - intel-extended, variant - none, module-local symbols - all

-rebuild the code and generated .hex file

-but when I try to upload file using flash programmer, it gives me error "CC2530 - ID0129: HEX file content at address 0x7C7FF exceeds chip's 256 kB flash size".

Can any one tell me why I am getting this error since I am not changing any thing in the sample code?