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.

IWR6843: Flashing IWR6843 over UART at UniFlash

Part Number: IWR6843
Other Parts Discussed in Thread: UNIFLASH

Hi,

I'm developing a board using IWR6843, and I have the following questions.

Radar data can be received using Host MCU (STM32), but cannot flashing IWR6843 chip over UART at UniFlash (v6.3).

HW Configuration is as follows.

I was configured to bypass data between the User port and UART1 in the host, and it was connected to the PC with an FTDI UART-USB converter.

I can communicate in Functional mode, and tried to flash using UniFlash in Flash mode, but the COM port was not recognized.

How can I flashing IWR6843 in the above structure?

Thanks.

  • Hi Jinhyeong,

    Before using uniflash to flash the device, ensure that the COM port is disconnected from Tera Term.  To do this, within Tera Term click file -> disconnect.  Then, try flashing the device.

    In addition, please ensure that the device is in flashing mode and that you have power cycled the device.

    Regards,

    Brennan

  • I have already checked the following several times

    1. COM port is disconnected from Tera Term.

    2. SOP was set 1 0 1 and reboot device.

    But It's still same in UniFlash.

  • Hi Jinhyeong, 

    Since this is a custom board, how are you setting the SOP jumpers?

    In addition, ensure that the COM port you are setting in Uniflash is the User UART//Enhanced (CFG) Port. 

    Also, please confirm you have the appropriate drivers installed.  Refer to the resource below and ensure all the necessary steps have been followed for the setup of your device.

    https://dev.ti.com/tirex/content/mmwave_industrial_toolbox_4_10_0/docs/hardware_guides/evm_setup_operational_modes.html

    Regards,

    Brennan

  • The SOP jumper setting was set to 1, 0, 1 for flashing as mentioned above.

    The com port used by Uniflash is not a USER//Enhanced port, but a UART port of the host that transmits data to the USER//Enhanced port as it is.

    The FTDI Converter driver has been installed.

    Is flashing via host(FTDI converter <-> Host <-> IWR6843 User port) impossible because UniFlash doesn't recognize the port?

  • Hi Jinhyeong, 

    Could you please post a screenshot of your COM ports in the device manager to this thread?  This could be a case of UniFlash not recognizing the port.

    Regards,

    Brennan

  • The com port used by Uniflash is not a USER//Enhanced port, but a UART port of the host that transmits data to the USER//Enhanced port as it is.

    This mention is not correct... COM port used by UniFlash is FTDI USB-USAR Converter port and FTDI is connected UART1 at host.

    And Data of UART1 is passed  USER UART in host FW. 

    Finally, USER UART is connected USER//Enhanced port of IWR6843. (you can refer block diagram in the first question)

    If flashing is not possible with the above configuration, I will configure it not to go through the host.

  • Hi, Jinhyeong,

    After you click the "load image" in uniflash, the uniflash will send a break signal to device. A long low level break signal, then device will have the response for this break signal. You can have UART sending 0X00 in 110bps or other low bps to simulate this break signal..

    After this, UART will send command and data in 115200bps.

    You can refer to FIGURE 9 at document: https://www.ti.com.cn/cn/lit/pdf/swra627

    Regards,

    Wesley

  • Thank you, Wesley for the reply!

    Jinhyeong, please try this and post in this thread if you are having additional problems.

    Regards,

    Brennan