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.

LP-EM-CC1314R10: Cant jump to app from bootloader

Part Number: LP-EM-CC1314R10
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

Hello guys, 

I recently started a project with cc1314 series, and I am trying to implement bootloader. Right now I am simply using MCUboot and Sensor_oad_offchip as my projects . In the end I want to create custom bootloader as mcuboot complexity is not needed. 

Now lets get to the issue, as the titles suggests I cant jump from mcuboot to my sensor_oad_offchip application. 

I have modified the mcuboot code to just simple jump to the prgentry address of the application which is given in OAD header, but it does not work. I have done this process before on cc1357 and I also created an custom bootloader using BIM on that mcu and never faced this issue on that. 

Here is the mcuboot code

As you can see, I have commented out all the parts related to mcuboot and directly jumping to the vector table of sensor_oad_offchip application, but it does not work.

My end goal is just to use mcuboot and sensor_oad_offchip projects as a reference and create my own headers and everything else. 

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
int main(void)
{
fih_int bootStatus;
struct boot_rsp bootRsp;
#ifndef EXCLUDE_GPIOS
powerUpGpio();
lightRedLed();
#endif //EXCLUDE_GPIOS
// trace_init();
// MCUBOOT_LOG_INF("mcuboot_app");
//
//#ifdef MCUBOOT_HW_ROLLBACK_PROT
//
// if (FIH_SUCCESS != boot_nv_security_counter_init()) {
// MCUBOOT_LOG_INF("bootRsp: failed to initialize secure counter page");
// mcubootFail();
// }
//
//#endif
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX