2014-06-25 11:30 PM
Hey,
I have a strange occurrence concerning with my STM32F.I try to flash the bootloader using the FlashLoaderDemonstrator. I'm sending an acknowledgment to the controller but it doesn't send me the acknowledgment back. Every second time is answers with 0x1F and in the other case it sends nothing and the flashloader times out.I'm pretty sure I used the right settings of the BOOT0 and BOOT1 pinsMaybe this is simple question but neither the reference sheet nor the serial protocol helped me here.BRTobias.2014-06-26 05:19 AM
The System Loader expects even parity (8E1)
The 0x7F sent is not read by the loader, but used to measure the baud rate, if the processor measures the wrong rate, then all subsequent communication will fail. Consider if your serial port, or USB dongle, is actually working properly. Try other serial ports. On the STM32F4-DISCO you CANNOT use USART1 PA9/PA10, due to a large bulk capacitor attached to PA92014-06-26 07:56 AM
I'm using the pins PA9 and PA10
Today I tried with a USB-to-TTL converter and different true serials with maxim3232I got the same result all the time2014-06-26 08:37 AM
It's not clear to me what you're sending to the System Loader. Once you send the 0x7F to auto-baud the connection, and it sends you an 0x79 back, it's wait for you to send it properly constructed commands.
[DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/System%20Memory%20Boot%20on%20STM32L15x&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=403]https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FSystem%20Memory%20Boot%20on%20STM32L15x&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B¤tviews=403