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 working on OAD feature at CC2640 launchpad and download the example code below:
1. bim_oad_onchip_cc2640r2lp_app
2. presistent_app_cc2640r2lp
3. simple_peripheral_cc2640r2lp_oad_onchip_app
4. simple_peripheral_cc2640r2lp_oad_onchip_stack
In the project "presistent_app_cc2640r2lp", there is a folder named OAD that is for the OAD function.
But after copy the OAD folder in my project, the compile error shows:
======================================================================
#10234-D</a> unresolved symbols remain
Field 'rfu' could not be resolved
gmake: *** [all] Error 2
gmake[1]: *** [cc2640r2lp_app.out] Error 1
Symbol 'fixedHdr' could not be resolved
Type 'imgHdr_t' could not be resolved
unresolved symbol flashEndAddr, first referenced in <whole-program>
unresolved symbol prgEntryAddr, first referenced in <whole-program>
======================================================================
These error all in a typedef structure "imgHdr_t", declared in oad_image_header.h and use in oad_image_header.c.
Is there something that I missed?
Thanks
Hi Curly,
You shouldn't have to manually copy files to an OAD example. Can you remove the project and re-import the simple_peripheral_cc2640r2_oad_onchip_app (which will download all 4 projects) and build the projects? Are you following the SimpleLink Academy Enhanced OAD lab?
Thanks,
Elin
Hi Elin,
I followed the percudure of the OAD example and got some questions.
First, in the BLE-Stack User's Guide, mention of Setting up the BLE OAD Environment.
After I followed the step of build and flash each project, but the console message is not the same as the document shows.
Here using the oad_onchip_app.
Second, I continued the following step to perform the OAD.The Btool shows OAD download successful.
And using the same image and OAD again, it still success.
But I wasn't modify the value of SOFTWARE_VER define in oad_image_header.h. How could it be? The console didn't show any message of OAD version like the document show below, so I can't confirm if it works.
Thanks!