Skip to main content
Jin
Associate II
July 22, 2020
Question

How to recover after flashing wrong tf-a firmware?

  • July 22, 2020
  • 11 replies
  • 4950 views

Hi,

I was looking at the ST Yocto dunfell update and wanted to update tf-a firmware and u-boot:

https://github.com/STMicroelectronics/meta-st-stm32mp/tree/dunfell/recipes-bsp/trusted-firmware-a

Unfortunately I did not realize which of the tf-a versions I should use and ended up flashing the SSP version (using STM32_Programmer_CLI programmer via USB OTG connection)

I had a serial terminal connected open on the other port and saw an error about SSP not being supported on this board when it tried to boot, so I wanted to flash back my old version. Unfortunately, I had to realize that its no longer possible...

The USB OTG connection which is being used for DFU is dead, I do not see anything in dmesg on my notebook when plugging or unplugging the the ST board or when powering cycling the board. The other USB port which I use for a serial connection is still being detected, but I see no output in the terminal when powering the board on.

Basically I lost the ability to reprogram the board via DFU... I also tried booting from the SD card (changed the boot switches accordingly), but it does not come up.

So at this point it is kind of bricked... how can recover from this?

This topic has been closed for replies.

11 replies

Bernard PUEL
Technical Moderator
August 18, 2020

Ok no pb. I will check as soon as people will be back from vacations.