Part Number: AM2634
Other Parts Discussed in Thread: UNIFLASH
Hi,
I am facing an issue while trying to erase a previously UART-flashed program over UART using uart_uniflash.py on the AM263x LaunchPad.
Below are the exact steps and observations.
Flashing Process (Works as Expected)
-
Set the board to UART boot mode and perform a power cycle.
-
Verify that the ROM bootloader is active by observing continuous
CCCCcharacters on the UART terminal. -
Program SBL and application using the UniFlash tool (UART).
-
Change boot mode to QSPI (4S) – Quad Read with UART fallback.
-
Power cycle the board.
-
Application boots and runs correctly from QSPI flash.
Erase Process (Fails)
-
Set the board to UART boot mode and perform a power cycle.
-
Verify
CCCCstring on the UART terminal (ROM bootloader active). -
Attempt to erase flash using
uart_uniflash.py. -
Command used:
python ./uart_uniflash.py -p COM7 --operation=erase --flash-offset=0x0 --erase-size=0xFFFFFFFF
-
Observed output:
Sending erase_command: 1031bytes [00:20, 1791.46bytes/s]
recv error: getc timeout in start sequence
Sending erase_command: 1032bytes [01:00, 11.96bytes/s]
recv error: getc timeout in start sequence
Sending erase_command: 1046bytes [02:50, 2.94bytes/s]
error_count reached 16, aborting.
Sending erase_command: 1048bytes [02:50, 2.94bytes/s]
[ERROR] XMODEM recv failed, no response OR incorrect response from EVM OR cancelled by user,
Power cycle EVM and run this script again !!!
