Other Parts Discussed in Thread: UNIFLASH, AM5718
hello,
I am trying to program the flash on the AM571x IDK development kit using Uniflash. This is in preparation for flashing a custom board in a manufacturing setting.
Found this FAQ: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1005148/faq-processor-sdk-am57x-how-to-boot-from-qspi-flash-on-am57x
I followed the instructions except that the UniFlash and SDK versions installed are different.
UNIflash version 8.2.0
AM571x SDK version 8.1
COM7 is where the "C" are printed and the COM7 connection was disconnected from the PC and re-connected as suggested in the uniflash documentation
Downloading the flash programmer using seems to work with
C:\ti\uniflash_8.2.0\dslite.bat --mode load --config=C:\Users\jott\ti\CCSTargetConfigurations\Flash_XDS100.ccxml -f C:\ti\uniflash_6.4.0\processors\FlashWriter\idkAM571x\uart_idkAM571x_flash_programmer.out -n 7
Executing the following command:
> "C:\ti\uniflash_8.2.0\deskdb\content\TICloudAgent\win\ccs_base\DebugServer\bin\DSLite" load --config=C:\Users\jott\ti\CCSTargetConfigurations\am571x_IDK.ccxml -f C:\ti\uniflash_8.2.0\processors\FlashWriter\idkAM571x\uart_idkAM571x_flash_programmer.out -n 7 -g flash.log For more details and examples, please refer to the UniFlash Quick Start guide. DSLite version 12.2.0.2985 Configuring Debugger (may take a few minutes on first launch)... Initializing Register Database... Initializing: IcePick_D Executing Startup Scripts: IcePick_D Initializing: ARM9_ICONT1 Executing Startup Scripts: ARM9_ICONT1 Initializing: ARM9_ICONT2 Executing Startup Scripts: ARM9_ICONT2 Initializing: CS_DAP_IPU_1_C0 Executing Startup Scripts: CS_DAP_IPU_1_C0 Initializing: Cortex_M4_IPU1_C0 Executing Startup Scripts: Cortex_M4_IPU1_C0 GEL: Cortex_M4_IPU1_C0: GEL Output: --->>> AM571x Cortex M4 Startup Sequence In Progress... <<<--- ... GEL: CortexA15_0: GEL Output: DEBUG: Clock is active ... GEL: CortexA15_0: GEL Output: --->>> IVAHD Initialization is DONE! ... <<<--- GEL: CortexA15_0: GEL Output: --->>> PRUSS 1 and 2 Initialization is in progress ... <<<--- GEL: CortexA15_0: GEL Output: --->>> PRUSS 1 and 2 Initialization is in complete ... <<<--- GEL: CortexA15_0: GEL Output: --->>> AM571x Target Connect Sequence DONE !!!!! <<<--- Loading Program: C:\ti\uniflash_8.2.0\processors\FlashWriter\idkAM571x\uart_idkAM571x_flash_programmer.out Preparing ... PT_LOAD[0]: 0 of 77940 at 0x40330000 PT_LOAD[0]: 32752 of 77940 at 0x40330000: 42% PT_LOAD[0]: 65504 of 77940 at 0x40330000: 84% Finished: 84% Setting PC to entry point.: 84% Running... Success
Tried to flash the MLO file but there was no expected output, just returned to system prompt after the banner "For more details and examples, please refer to the UniFlash Quick Start guide."
C:\>C:\ti\uniflash_8.2.0\dslite.bat --mode processors -c COM7 -f C:\ti\processor_sdk_rtos_am57xx_08_01_00_09\pdk_am57xx_1_0_19\packages\ti\boot\sbl\binary\idkAM571x\qspi\bin\MLO -d 2 -i 1 -o 0 Executing the following command: > C:\ti\uniflash_8.2.0\processors\ProcessorSDKSerialFlash.exe -c COM7 -f C:\ti\processor_sdk_rtos_am57xx_08_01_00_09\pdk_am57xx_1_0_19\packages\ti\boot\sbl\binary\idkAM571x\qspi\bin\MLO -d 2 -i 1 -o 0 For more details and examples, please refer to the UniFlash Quick Start guide. C:\>
Even tried to flash the led_TEST file. this returned to system prompt after "The file extension is"
C:\>C:\ti\uniflash_6.4.0\dslite.bat --mode processors -c COM7 -f C:\ti\processor_sdk_rtos_am57xx_08_01_00_09\processor_sdk_rtos_am57xx_08_01_00_09\prebuilt-sdcards\idkAM571x\sd_card_files\led_TEST -d 2 -o 80000 Executing the following command: > C:\ti\uniflash_6.4.0\processors\ProcessorSDKSerialFlash.exe -c COM7 -f C:\ti\processor_sdk_rtos_am57xx_08_01_00_09\processor_sdk_rtos_am57xx_08_01_00_09\prebuilt-sdcards\idkAM571x\sd_card_files\led_TEST -d 2 -o 80000 For more details and examples, please refer to the UniFlash Quick Start guide. The file extension is C:\>
Any suggestions on why downloading the MLO is not working?
Thanks,
Joe