Hi,
I'm using the Zigbee ZStack-CC2530-2.3.0-1.4.0 with IAR workbench 8051 and SmartRF Flash Programmer to program a module CC2530F2530.
I want to upload a sample hex file came from the installation CD into the device, but it says "Could not open specified hex file".
I have tried many of the sample hex files, but none of them works. The interesting thing is that my friend successfully uploads a hex file into the same device and he passes the device to me. I can use "read flash into hex file" to download the program from the device into a hex file and then use "erase, program and verify" to upload the same hex to the device. But I can not upload any new hex file to the device. Any help is appreciated!
Hello all,
I have the same problem.
I'm using the \ZStack-CC2530-2.5.1a with IAR workbench 8051 and SmartRF Flash Programmer to program TI SoC CC2530F256
I compiled TI sample application GenericApp located in: C:\Texas Instruments\ZStack-CC2530-2.5.1a\Projects\zstack\Samples\GenericApp\CC2530B
With IAR workbench I don't have problem to flash my device.
However, when I try to flash the same HEX file with TI SmartRF Flash Programmer I received the following error:
"Could not open specified hex file".
Can someone please advise?
Regards,
Efi
Do you generate the hex file with the following two steps?
1.Select "intel-extended" output in your linker option.
2. Enable the following two lines.
// Include these two lines when generating a .hex file for banked code model:-M(CODE)[(_CODEBANK_START+_FIRST_BANK_ADDR)-(_CODEBANK_END+_FIRST_BANK_ADDR)]*\_NR_OF_BANKS+_FIRST_BANK_ADDR=0x8000
YiKai Chen Do you generate the hex file with the following two steps? 1.Select "intel-extended" output in your linker option. 2. Enable the following two lines. // Include these two lines when generating a .hex file for banked code model:-M(CODE)[(_CODEBANK_START+_FIRST_BANK_ADDR)-(_CODEBANK_END+_FIRST_BANK_ADDR)]*\_NR_OF_BANKS+_FIRST_BANK_ADDR=0x8000
Hello YiKai Chen,
Thanks for your help.
In order to enable IAR debugging capabilities and also generate HEX file I made the following changes:
Now I can use the HEX file for flashing my device.