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.
Tool/software: Code Composer Studio
Hi,
I'm trying to add a new task in simple_peripheral_oad_offchip example to control LED at differente BLE connection status, using mailbox to pass command.
But after add this task, the OAD will fail and return OAD_FLASH_ERROR.
Is there anyway to check the problem?
Using CCS the latest version and SDK version is simplelink_cc2640r2_sdk_3_20_00_21.
If there is more information need to provide, please let me know.
BTW, I tried to add uartlog to simple_peripheral example, and it will become very hard to discover UUID by btool, also, the OAD process will timeout at the first WriteImageBlock.
Is there conflict between uartlog and the example?
Thanks.
Hi,
Update.
The issue cause by the flash CS pin was modified to another usage, so the OAD_FLASH_ERROR will occur.
But there's a problem is that during OAD update, SimplePeripheral_processStackMsg will receive an error code "HCI_BLE_HARDWARE_ERROR_EVENT_CODE".
Please help for this issue.
Thanks.
Hi Curly,
I'm glad you were able to fix your problem. Changing the optimization level can have a significant effect on the code size.
I believe you should increase them all.
Thanks,
Elin