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.
Tool/software:
Dear TI Team,
we have AM2432 based custom board.
we are looking to flash hello world application through UART.
Following are the steps we are doing:
1. Check SPI flash through OSPI read_write SDK code -- result -- "All tests are passed"
2. MCU is UART boot now Load hello world code through command prompt --
# First point to sbl_uart_uniflash binary, which function's as a server to flash one or more files
--flash-writer=sbl_prebuilt/am243x-lp/sbl_uart_uniflash.release.hs_fs.tiimage
# Now send one or more files to flash or flashverify as needed. The order of sending files does not matter# Program the OSPI PHY tuning attack vector
--operation=flash-phy-tuning-data
# When sending bootloader make sure to flash at offset 0x0. ROM expects bootloader at offset 0x0
--file=sbl_prebuilt/am243x-lp/sbl_ospi.debug.hs_fs.tiimage --operation=flash --flash-offset=0x0
# When sending application image, make sure to flash at offset 0x80000 (default) or to whatever offset your bootloader is configured for
--file=C:/ti/hello_world_am243x-lp_r5fss0-0_freertos_ti-arm-clang.appimage.hs_fs --operation=flash --flash-offset=0x80000
3. Apply hard-reset and through command prompt run-- python uart_uniflash.py -p COM16 --cfg=sbl_prebuilt/am243x-lp/default_sbl_null.cfg
3. Launch target configuration through CCS and connect target R5_0_0
4. Load gel file for changing boot mode and select "unlock boot reset"then select "SPI Boot" then select "Warm reset"
5. As per theory, MCU must boot from flash and load application into ram and execute hello world to print "Hello world" but not getting any prints
Please advise on this at the earliest
Regards,
Santosh
Hi Santosh,
3. Apply hard-reset and through command prompt run-- python uart_uniflash.py -p COM16 --cfg=sbl_prebuilt/am243x-lp/default_sbl_null.cfg
This happens in UART boot mode.
3. Launch target configuration through CCS and connect target R5_0_0
4. Load gel file for changing boot mode and select "unlock boot reset"then select "SPI Boot" then select "Warm reset"
5. As per theory, MCU must boot from flash and load application into ram and execute hello world to print "Hello world" but not getting any prints
Without changing bootmode, you are going ahead with these bottom 3 steps.
Can you instead switch to OSPI bootmode/SPI bootmode and try from step 3.
Regards,
Vaibhav