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.
hello,
I would like to use USB DFU BOOT mode instead of UART BOOT mode SBL& application flashing (write all QSPI flash).
So I'm going to follow the AM243x MCU+ Getting Started Guide AM243x MCU+ SDK 09.01.00.
I'm currently stuck at the 'Command to flash SOC initialization binaries to EVM' step under the 'Preparing to flash the application' section.
The files I used (from mcu_plus_sdk_am243x_09_01_00_41\tools\boot\sbl_prebuild\am243x-lp):
default_dfu_ospi.cfg was written as follows:
# First point to sbl_uart_uniflash binary, which function's as a server to flash one or more files
--flash-writer=sbl_dfu_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_ospi.release.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=hello_world_am243x-lp_r5fss0-0_nortos_ti-arm-clang.appimage.hs_fs --operation=flash --flash-offset=0x80000
This is my stage now
There seems to be a problem using usb_dfu_uniflash.py.
when i use dfu-util directly, it's working.
could you help what's wrong with me
Hi Seungho Yu,
Please make sure the path to `dfu-util` is available in the Environment Variables to allow access to the `dfu-util` executable from anywhere as required by the `usb_dfu_uniflash.py`. Please refer to the following response in one other thread:
Regards,
Prashant