Hi,
I use simplelink_cc2640r2_sdk_2_40_00_32, xdctools_3_51_01_18_core and the recommended IAR Embedded Workbench for ARM 8.20.2.14838 with IAR Embedded Workbench shared components 8.0.13.5197.
What I have done is the following:
- I loaded simple_peripheral_oad_offchip example from the blestack->simple_peripheral_oad_offchip location in simplelink_cc2640r2_sdk_2_40_00_32.
- NOTE that I have made no changes at all
- I built cc2640r2lp_bin_offchip - FlashOnly: successful
- I built cc2640r2lp_stack - FlashROM: successful
- I built cc2640r2lp_app - FlashROM: successful
- I want to load the images into LAUNCHXL - CC2640R2 and I have it connected via USB
- I activate cc2640r2lp_bin_offchip - FlashOnly in the workspace and go to Project->Download->Download active application: this seems to be successful
- I activate cc2640r2lp_stack - FlashROM in the workspace, but this project now needs a rebuild, but when rebuilding I get the following error when it performs the Post-Build Action:
Error while running cmd /C "C:\ti\simplelink_cc2640r2_sdk_2_40_00_32\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_offchip\tirtos\iar\stack\..\..\..\..\..\..\..\..\tools\blestack\frontier\frontier.exe iar C:\ti\
simplelink_cc2640r2_sdk_2_40_00_32\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_offchip\tirtos\iar\stack\FlashROM\List\sp_oad_offchip_cc2640r2lp_stack_FlashROM.map C:\ti\
simplelink_cc2640r2_sdk_2_40_00_32\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_offchip\tirtos\iar\stack\..\config\iar_boundary.bdef C:\ti\simplelink_cc2640r2_sdk_2_40_00_32\examples\rtos\
CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_offchip\tirtos\iar\stack\..\config\iar_boundary.xcl & C:\ti\simplelink_cc2640r2_sdk_2_40_00_32\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_offchip\
tirtos\iar\stack\..\..\..\..\..\..\..\..\tools\blestack\oad\oad_image_tool.exe --verbose iar C:\ti\simplelink_cc2640r2_sdk_2_40_00_32\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_offchip\tirtos\iar\stack 2 -hex1 C:\ti\
simplelink_cc2640r2_sdk_2_40_00_32\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_offchip\tirtos\iar\stack\FlashROM\Exe\sp_oad_offchip_cc2640r2lp_stack_FlashROM.hex -bdf C:\ti\
simplelink_cc2640r2_sdk_2_40_00_32\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_offchip\tirtos\iar\stack\..\config\iar_boundary.xcl -k "C:\ti\simplelink_cc2640r2_sdk_2_40_00_32\examples\rtos\
CC2640R2_LAUNCHXL\blestack\simple_peripheral_oad_offchip\tirtos\iar\stack\..\..\..\..\..\..\..\..\tools\blestack\oad\private.pem" -o C:\ti\simplelink_cc2640r2_sdk_2_40_00_32\examples\rtos\CC2640R2_LAUNCHXL\blestack\
simple_peripheral_oad_offchip\tirtos\iar\stack\FlashROM\Exe\sp_oad_offchip_cc2640r2lp_stack_FlashROM_oad" - I then deleted the simple_peripheral_oad_offchip example and copy a clean simple_peripheral_oad_offchip to the same location from a backup I made of simplelink_cc2640r2_sdk_2_40_00_32 before starting my work.
- I attempt to build the project again but it fails the Post-build action as above.
What did I do wrong or is there a known bug with the simplelink_cc2640r2_sdk_2_40_00_32 simple_peripheral_oad_offchip example?
It seems that something has changed somewhere that I cannot see so even though I try to build a clean simple_peripheral_oad_offchip example project it always fails the post-build. Please help me as this is very frustrating.
Thank you.
Best regards,
Annette Thøgersen Skjøt