2015-02-19 01:57 AM
Hi all,
Is it necesary to implement a additional code in my application to jump to the bootloader? #magic-eight-ball2015-02-19 03:06 AM
Signs Point to Yes
2015-02-19 03:54 AM
No if you can play with the PINs: you should make sure Boot0(Pin) = 1 and Boot1(Pin) = 0, then power it up, the bootloader will start executing. See
.2015-02-19 05:17 AM
No if you can play with the PINs: you should make sure Boot0(Pin) = 1 and Boot1(Pin) = 0, then power it up, the bootloader will start executing. See
. That's not the simplest way for it to happen.2015-02-19 08:20 PM
Bit of a blind port, but should work fine
Reboot_Loader PROC
EXPORT Reboot_Loader
LDR R0, =0x40021034 ; RCC_APB2ENR (+0x34)
LDR R1, =0x00000001 ; ENABLE SYSCFG CLOCK
STR R1, [R0, #0]
LDR R0, =0x40010000 ; SYSCFG_CFGR1 (+0x00)
LDR R1, =0x00000001 ; MAP ROM AT ZERO
STR R1, [R0, #0]
LDR R0, =0x1FF00000 ; ROM BASE (STM32L053)
LDR R1, [R0, #0] ; SP @ +0
MOV SP, R1
LDR R0, [R0, #4] ; PC @ +4
BX R0
ENDP ; sourcer32@gmail.com
Other similar threads
/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Help%20with%20application%20jump%20to%20system%20memory%20boot&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=771
2019-01-22 10:07 AM
I'm trying to do the same thing with L071 and my MCU jumps to the bootloader with no problem. But for some reason I can't make its i2c interface work. I can talk to the bootloader using i2c if I am entering it not from software. What am I missing?