cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 controller bootloader Jump

NandhakumarGanesan
Associate II

Hi,

I am try to develop a bootloader for STM32F103C8T6 controller.

 

my bootloader memory is 16 KB address range 0x8000000 to 0x8004000.

my application range is 45 KB 0x800C000 to 0x8010000.

 

jump statement I am using below mentioned one,

void(*app_reset_handler)(void) = (void*)(*((volatile uint32_t*)(0x8004C00+4U)));

HAL_NVIC_DisableIRQ(TIM2_IRQn);

app_reset_handler();

 

flash one by one both bootloader and application hex files it could be work using STlink software.

but i am try to flash with my sotware it could be not work.

but I have checked all address hex data same. for both files. 

 

example:

ST link software address detail

 

NandhakumarGanesan_0-1718607176359.png

my software Address detail,

NandhakumarGanesan_1-1718607310008.png

same way I can check properly for all address .If I can flash With ST link software means its should work but in my software means its should not work. So kindly help for this issue. i am struggle on past 1 week for this issue. 

 

 

I can follow below link  for developing,

https://www.youtube.com/watch?v=ppQx_scTsvQ

 

0 REPLIES 0