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.

AWR1642BOOST: Flashing firmware using SPI interface

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: UNIFLASH, AWR1642

  Dear Sir:

  I'm trying to use SPI  interface instead of using UART interface to flash the firmware  to the AWR1642BOOST board.

I have done the SPI pin jump wire from AWR1642BOOST to the JTAG programmer, but it couldn't work.

This is my setting structure as below:

The Uniflash  will show "Image loading failed: Not able to connect to serial port. Recheck COM port selected and/or permissions."

Would you please help for this problem?

Thanks and Best Regards,

Michael



  • Michael,
    This path with SPI is not being exercised with UNIFLASH .
    I will check internally to find out if there is any solution already available.

    -Raghu
  • Raghu,

    Ok, Thank you so much.
    I'm looking forward to your further information.

    Thanks and Best Regards,

    -Michael
  • Hello Michael,
    The lines you seem to be indicating are JTAG lines and not SPI. Could you confirm which interface you are exactly using?
    The Uniflash uses the UART interface to the AWR1642 device , which intern uses the QSPI interface to write the file into the onboard serial flash.This code from the serial flash is loaded to the AWR1642 device RAM every time it boots up. You can use the JTAG interface to write the code directly to the AWR1642 RAM from the CCS tool (not Uniflash). But since this is store in the RAM you would have to load it every time you reset the AWR1642 device.

    Regards,
    Vivek
  • Hello Vivek:

    Yes, the interface  I want to  use is JTAG, not SPI. Sorry for the mistake. On the other hand, I am trying to use an extral FT232(an USB to serial UART dongle) to flash firmware to the AWR1642 by Uniflash.  This is my setting structure as below. But unflash still shows the error: "Image loading failed: Not able to connect to serial port. Recheck COM port selected and/or permissions." I just want to make sure if I can use an extenal USB to UART dongle to flash firmware to the AWR1642 by Uniflash instead of using the intenal UART port of  AWR1642 device. Please help me to see if there is any problem for this  procedure.

    Thanks and Best Regards,

    -Michael

  • Hello Vivek:

    Sorry, there are some typos from my reply. My corrections are:
    1. I am trying to use an "extra" FT232(an USB to serial UART dongle)...
    2. I just want to make sure if I can use an "external" USB to UART dongle to flash firmware to the AWR1642 by Uniflash instead of using the "internal" UART port of AWR1642 device.


    Thanks and Best Regards,

    Michael
  • Hello Chun Weng,
    The JTAG interface can be used to load the code directly to the RAM of the AWR1642 device using the CCS tool. It cannot be used to load the code to the serial flash. This is used for debug and code development. You can refer to the SDK user guide (software-dl.ti.com/.../mmwave_sdk_user_guide.pdf) for details of this usage via CCS.

    To flash the code on the serial flash you need to use the UART interface. You can use external FT232 device to convert the UART to USB. Uniflash should be able to use that. Can you confirm you have have set the SOP mode to 5 (101) , which is the flashing mode?

    Regards,
    Vivek
  • Hello Vivek:

    I have resolved the problem. I used external FT232 to flash firmware to the serial flash successfully.
    Thanks for your help.

    Regards,

    Michael