2012-07-04 05:59 AM
Hi,
I've been working on some Bootloader code recently and with help from this forum have got it working, unfortunately for whatever reason if I reset the Microcontroller (set BOOT0 to 0, and RESET to 0 then 1) and then attempt to go in to Bootloader mode again (set BOOT0 to 1, and RESET to 0 then 1) I cannot get the Bootloader to respond to the intial 0x7F command and it means that I have to do a power cycle instead which is obviously not a great solution.Is there anything really fundamental that I am missing here as it strikes me this should be a relatively problem free thing to do.Thanks in advance for any responses,Dave #bootloader #reset-stm322012-07-04 06:11 AM
-RESET too short?
- unstable 1 at BOOT0?2012-07-04 06:17 AM
Well, it will depend on the specific part.
The 0x7F pattern at 8E1 is not read by the parts, but the width is measured by a timer, and then an appropriate baud rate programmed into the USART. There are dependencies on certain USART pins not changing on parts which scan multiple inputs. That things like the HSI/PLL start. And the state of BOOT1.2013-12-15 07:42 AM
Hi,
I've been working on some Bootloader code recently and with help from this forum have got it working, unfortunately for whatever reason if I reset the Microcontroller (set BOOT0 to 0, and RESET to 0 then 1) and then attempt to go in to Bootloader mode again (set BOOT0 to 1, and RESET to 0 then 1) I cannot get the Bootloader to respond to the intial 0x7F command and it means that I have to do a power cycle instead which is obviously not a great solution.Is there anything really fundamental that I am missing here as it strikes me this should be a relatively problem free thing to do.Thanks in advance for any responses,Dave