This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2632: AM263x KeyWriter Bootloader Fails to Transition from HS-FS to HS-SE

Part Number: AM2632
Other Parts Discussed in Thread: UNIFLASH

Hello Experts,

 

Platform and Background:

  • MCU: AM2632
  • SDK version: mcu_plus_sdk_am263x_11_01_00_19
  • Project path: otp_keywriter_am263x_SR_11_10_01_00_00\sbl_keywriter\am263x\r5fss0-0_nortos\ti-arm-clang
  • Target operation: Attempting to transition board from HS-FS to HS-SE (secure mode change)

Code modification:

#define KEYWR_HW                                        AM263x_HW_CUST

certHeader.reserved = KEYWRITER_MODE;

 

VPP hardware configuration:

External 1.7v voltage source.

Snipaste_2026-05-12_10-15-23.png

 

Issue Description and Log Summary:

When running the KeyWriter Bootloader, I am encountering the following errors: 

Efuse writing row failed
Snipaste_2026-05-12_09-52-09.png

Regards,

 

Mason

  • Hi Mason,

    From the logs if seems like the write failed when writing to the MSV BCH row. 

    May I know when you run the same again, are you able successfully right the same? Or is it always stuck here?

    May I also know your setup how you are executing the OTPKW?

    Thanks and Regards,

    Nikhil Dasan

  • Hi Nikhil,

    Yes, every time I run the process, it gets stuck at this point. The workflow is roughly as follows:

    In QSPI (4S) mode, I use UniFlash to flash the sbl_keywriter.debug.tiimage file at address 0x60000000. After flashing, I power cycle the board by turning the main supply off and on, while keeping the VPP 1.7V power continuously on. During the reboot, I read the log output via the UART serial port.

     

    Best regards,

    Mason

  • Hi Mason,

    As aligned in the call, can you try doing the same in UART boot mode?

    The VPP should not be kept ON during power cycle. The flow of VDD first, followed by VPP should be followed, and VPP should be enabled just before keywriting and disabled after keywriting.

    Hence it is suggested to control the VPP via software using an LDO.

    Thanks and Regards,

    Nikhil Dasan