Unable to communicate with SPI bootloader
Hi,
I am trying to use the ROM bootloader on the STM32G071 to change the contents of specific flash sections. I was able to enter the bootloader just fine, at least I think so because I can see in the debugger how different points in the address space above 1fff0000 are accessed.
I am using this library on another STM32 as a master:
https://github.com/glegrain/STM32-SPI-Bootloader-host
Since it's written by an STM employee and the commands are exactly like in AN2606 I am confident this is correct. However I can't even get past the first synchronization sequence. The bootloader only responds with seemingly random data.
The baud rate is below 8MHz as necessary. Is there some additional timing I have to adhere to, or anything else that I am missing?
