Part Number: LP-EM-CC1314R10
Other Parts Discussed in Thread: UNIFLASH, CC1314R10
Tool/software:
Hi,
We are working on the Linux collector example and sensor_OAD_onchip projects to update the firmware through OAD. In this we had used two LP-EM-CC1314R10 launchpads, LP1 as (MCUBoot and sensor_oad_onchip) and LP2 as (Co-processor).
Steps followed for firmware update through OAD:
1. The Mcuboot project had imports and made changes in primary slot and secondary slot sizes and uncommented MCUBOOT_OVERWRITE_ONLY and also commented MCUBOOT_DIRECT_XIP from the references with the TI 15.4 OAD SDK guide.
2. Import the sensor_OAD_onchip project, cleaned and build.
3. Using the uniflash tool, we had flashed the mcu_boot .hex file and the sensor_oad_onchip .bin file (0x6000) in LP1.
4. Import the co-processor project cleaned and build. And then we had flashed the .hex file generated with the uniflash tool in LP2.
5. The Linux collector (./host_collector collector.cfg from ti154stack_linux_x64_4_40_00_03) ran from the terminal from the location of "prebuild/bin" and then connected LP1 and LP2 in the Linux machine.
6. Both the collector and sensor had connected and checked the toggle command; the rest of the firmware update command all works fine.
7. When selecting the bin file with the command "f app.bin" initiate the FW update request to the selected device with the "w" command.
8. The continuously collecting collector tries the reset command for the firmware update initiated in the sensor, but the sensor didn't respond to it.
9. We had made the sensor in debug mode and checked OAD_IMG_A and OAD_IMG_B in "oadResetReqCb." This is responsible for sending the response to the reset command.
10. Also enabled both the macros one by one, but in the collector end, we had received the reset command response. And then the report's firmware update failed.
What is the meaning of OAD_IMG_A and OAD_IMG_B in "oadResetReqCb" and help us to resolve the issue. Please support this issue and also update the firmware through OAD.
Regards,
Mani vel