Hi,
I repost my question in this section of the blog.
I've received the EZ430-RF2560 kit few days ago and I tried to recompile the original project (accelerator) using IAR MSP430 30 days demo edition (v.5.20). I successfully compiled and downloaded the project (GA 1.0) using the USB stick.
Tue Jun 21 23:31:36 2011: Interface dll version 2.4.8.2
Tue Jun 21 23:31:36 2011: Device : MSP430F5438A
Tue Jun 21 23:31:36 2011: External voltage : 0.0 V
Tue Jun 21 23:31:36 2011: VCC voltage : 3.5 V
Tue Jun 21 23:32:19 2011: Download complete.
Tue
Jun 21 23:32:19 2011: Loaded debugee: C:\Texas Instruments\EZ430-RF256x
SDK\GA
1.0\MSP430-CC2560_Applications\Source\bluetooth\build\msp430\spp\ez430-accl\iar\release\Debug\Exe\
ez430-accl.d43
Tue Jun 21 23:32:19 2011: Target reset
When I tried to debug the application (Debugger->go) as result I obtaind an "error condition" with the red and blue leds blinking at the same time while the green led is ON.
When I "break" the debugger I can see an averflow stack error in the routine sdk_error_handler() (inside the while(1) neverending loop).
The same result connecting the re-programmed board to the 3V battery pack. I tried to download the recompiled firmware using a different downloader (Elprotronic FETPro430 Lite) without errors but the "error condition" was still present.
Using the same downloader (FETPro430) I read the firmware from the second bluetooth board (the working one) and I saved it in .hex format. Using FETPro430 I reprogrammed the first board using the .hex file and now it is working.
I think that the problem is in the code generated by Iar compiler . Is it possible to solve the problem? Or alternatively try to compile the project with CCE?
Thank you for your attention,
Pier Andrea.