I am using a cc2530 EM discrete 1.3.1 with SmartRF05EB. I uploaded the 'light_switch.hex' file that came in with the demo .zip file from TI website using SmartRF Flash Programmer. It worked fine.
However, later on I opened the code in IAR EW 8.30.3. When I tried to recompile, there was a linker error, then I solved the issue by using 'C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.5\8051\config\devices\Texas Instruments\lnk51ew_cc2530F256.xcl' file. The code compiled fine.
But after rebuilding when I downloaded the hex file into the board, the LED is toggled only once, then the code stops working. I am not getting what is the problem. Is there something wrong with the linker or I did something wrong?
Thanks in advance.