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.
I am trying to do off chip OAD for simple_peripheral project.
Here are the implementation details:
Hardware Components: CC2650em+Smart RF06 board
Software :BLE_STACK: ble_sdk_2_02_00_31+ TI-RTOS: tirtos_cc13xx_cc26xx_2_18_00_03
Project: cc2650_lp \ simple_peripheral
IDE: IAR
I am following the "Over-the-Air Download User’s Guide For BLE-Stack™ Version: 2.2.0' .
I built the bim_extflash, simple_peripheral_app and simple_peripheral_stack projects as explained in section 8.2 Out of box demo (off chip OAD).
I also made the following changes to suit my needs:
I used the cc2650lp code instead of cc2650em because the latter does not have an OAD_extflash configuration.I changed the board file to cc2650dk_5xd in preprocessor symbols.
Also, I changed the configuration of the bim_extflash project to FlashOnly_ST.
Before using the merge.bat file ,I modified the script to read bim hex file from FlashOnly_ST folder.
I have the following issue:
I generated the all.hex and app_stack_oad.hex files using merge.bat,and i am able to load the all.hex (bim+app+stack) file successfully on the board. But when I perform oad on BLE device monitor ,the download cancels immediately at 0%.
I get the error:
Oad programming timed out.
WriteRSp[FFC1]:st=20 n=0
WriteRsp failed
Gap link Terminated: status=0 h=0 reason=0x08
SimpleBlePeripheral disconnected.
What could be the source of this issue? Do I have to change the locations of bim,app and stack in the merge.bat folder? Have I overlooked something?
Please advise.
Yes, I have tried the flash_lp configuration .The device didn't advertise after successful loading.
I am using a custom made board with the same configuration of external flash as that of sensortag.
Hi,
You can test the attachment, I just follow user guide to create hex. It can work with my CC2650EM/CC2650STK/CC2650LP
Hi,
We recommend default values for the external flash but it should work as long as the application fits in the external images. The app+stack will not fit since it will take up more than the 0x10000 bytes allocated in external flash.
Best wishes