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.

66AK2G02: USB DFU boot mode

Part Number: 66AK2G02

I want to use 66AK2G0x USB DFU boot mode to write QSPI flash.
Is there QSPI writing tool through USB DFU?
When there is nothing that tool, is there tool of firmware transporting from the pc?

  • I've forwarded this to the booting experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • We support USB DFU boot mode on this device but don`t have a QSPI flashing utility that is based on this boot mode yet.

    There is a tool in the Processor SDK RTOS that allows you to transfer an image to a SD card and then reads the image from the SD card and flashes it to the QSPI flash.
    processors.wiki.ti.com/.../Processor_SDK_RTOS_BOOT_K2G

    Regards,
    Rahul
  • Thank you for your information.
    However, there is no plan to implement the SD card slot, I can't select SD boot mode.
    I want information to realize QSPI flashing utility with USB DFU boot mode.
    Are there detailed information of USB DFU boot mode?
    (how to make firmware for DFU transfer, how to transfer firmware, firmware transfer protocol, etc...)

    Regards,
    Masataka
  • I am posting some of my notes based on our testing of this feature in the ROM bootloader:

    • Connect to USB1 port and set the boot switches to USB boot, setup boot switches to USB boot:

    When you power on, you should see the USB device enumerate on the host:

    Host setup:

    •    Download Zadig utility to install WinUSB? driver. download link:
    •    Download DFU writer utility version 0.7 from here :
    •    Run DFU utility with the boot image using the command                                                                                                                                                             dfu-util.exe -D <bootimage>_gphdr.bin

    Boot Image creation:

    • hex470 arm.rmd app.out   // this generates app.hex [refer to .rmd in SBL in Processor SDK RTOS for reference]
    • b2ccs app.hex app.blob.ccs
    • cp app.blob.ccs tmp.ccs
    • ccsAddGphdr -infile tmp.ccs -outfile tmp2.ccs
    • ccsAddGptlr -infile tmp2.ccs -outfile app.gphdr.byte.ccs
    • cp app.gphdr.byte.ccs app.gphdr.ccs
    • ccs2bin -swap app.gphdr.ccs app.gphdr.bin

    All the utilities described here are in the Processor SDK RTOS 

    processors.wiki.ti.com/.../Processor_SDK_RTOS_BOOT_K2G

     

  • Thanks.
    I'll try this way.

    Regards,
    Masataka