AM2631: AM263X secure boot issue

Part Number: AM2631
Other Parts Discussed in Thread: UNIFLASH

Hi Experts

My customer is running secure boot on am263x. We have successfully turnned the device from HS-FS to HS-SE. However we have trouble running the signed sbl and app on the devcie.

We tested the sbl_qspi_multicore_elf.tiimage + led_example.mcelf on HS-FS devices.

(Noted that we can only use python scripts to generate the signed images, we can not use makefile)

Next we generated the signed sbl_qspi_multicore_elf.hs.tiimage and led_example.hs.mcelf and flashed them via flashed. However, the app is not running correctly as the LED is not blinking.

Any idea how to further debug this issue?

 

In the meantime. If the sbl with debug option closed in the certification is flahsed, the debug port would be closed. In this case, how to flash the sbl with correct certification to recover the debug port?

I tried using uniflash serial session but the flash writer is not working.

image.png

I used the same process on HS-FS devices and it works fine. This should be a problem of SE devices. Perhaps I need a custom Flash writer but I don't know how to generate it as well

How should I recover the debug port?