Skip to main content
Explorer II
November 4, 2024
Question

IAP Jump to application not working

  • November 4, 2024
  • 2 replies
  • 1625 views

Hello, IAP have problem that jump to app.

MCU : Stm32f303cbt6

 

- boot side

a. STM32F303CBTX_FLASH.ld

TaronKim_0-1730683594916.png

b. main.c

TaronKim_1-1730683631898.png

c. main.h

TaronKim_3-1730683694730.png

 

 

- app side

a. STM32F303CBTX_FLASH.ld

TaronKim_2-1730683661036.png

b. system_stm32f3xx.c

TaronKim_4-1730683744559.png

 

Thanks.

 

    This topic has been closed for replies.

    2 replies

    Graduate II
    November 4, 2024

    >> IAP have problem that jump to app.

    Perhaps you could explain WHAT the problem is?

    Use the debugger, step the transfer of control.

    Perhaps disassemble the code, make sure interfering with the stack frame impacts your use of auto/local variables.

    Make sure the vectors don't contain blank FLASH data.

    Set the boot FLASH length to 48 KB, reduce the app's to 80 KB

    TaronKimAuthor
    Explorer II
    November 4, 2024

    This problem is that boot can't jump to app.

    When boot work Jump();, boot keep working next step.. not jump.

     

    Acutally boot bin file size is under 40KB, why reduce the app's to 80KB?

     

    Graduate II
    November 4, 2024

    Because there's only 128KB in the part, and you're starting 48K (0xC000) in... that kind of why

    Graduate
    November 4, 2024