AnsweredAssumed Answered

STM32F429 system bootloader responds with 0xD2

Question asked by LOUD on Sep 9, 2015
Latest reply on Sep 11, 2015 by LOUD
I have a custom PCB with the STM32F429, and can set the BOOTB0 and BOOTB1 before #RST. My code asserts the Reset line for 20 milliseconds, so I hope that is long enough. Strangely, upon selecting the System Bootloader, all I ever get over the SPI link is 0xD2.

I'm sending the sync byte of 0x5A, and following the diagram for the Bootloader SPI synchronization frame.

I suppose it's possible that my clock rate is too high (5 MHz). What is the maximum for the STM32F42xxx System Bootloader? AN2606 say up to 8 MHz, so I assume 5 MHz is fine. Also, other developers are using this same custom hardware to talk to their firmware on the STM32F429, and the SPI link is working for them. The only difference is that I need to access the System Bootloader.

If BOOTB selects SRAM, I get 0xFF, and if BOOTB select Main Flash, I get 0x00. I even tried the alternate Main Flash (BOOTB0=0 BOOTB1=1) and received three 0xFF followed by 0x00s. I haven't probed the BOOTB pins, but the change in behavior tells me that I'm at least able to get different results with different BOOTB selections.

Any ideas?

Outcomes