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.

How flash IWR1642 BOOST by UNIFLASH (flashing my new project)

Other Parts Discussed in Thread: UNIFLASH, IWR1642

Hello do you someone know how can I write my program to IWR1642 by uniflash?

I modified the example (mmwave_sdk_01_00_00_05, mmw demo) in CSS and I checked functionality of code using debugging in CCS. I recompiled firstly dss and secondaly mss part. I opened the uniflash for IWR1642. I have switched the SOP0 and SOP2 for programming. I used the COM which is called UART for comunication and I flashed the xwr16xx_mmw.bin file .... after that I disconected the SOP 2 and after turn on the power supply the LED NERR_out indicate error....where can be problem? the program is running in debug mode.

thank you for your response Michal 

  • Hi Michal,

    If you're trying to run in debug mode then it is a separate binary altogether called xwr16xx_ccsdebug.bin. You won't use the xwr16xx_mmw.bin file that is generated by compilation but rather the .xer4f file. This process is illustrated in the demo user guide which is available here: dev.ti.com/.../


    Cheers,
    Akash
  • Yes I understand and it is work properly but HOW I can flash IWR1642 by my program. I need use only chip with flashed program ..... and UART for storing data to matlab.
  • I found the IWR1642 Bootloader Flow 

    ti.com/lit/an/swra563/swra563.pdf.

    The page 9 paragraph 3.1 is show the file format for IWR 1642 flashing.
    The target binary file is composed of the following sections:

    • Header

    • R4F application

    • DSP application

    • TI Radar Block patch

    I think that the for mmwave_sdk_01_00_00_05 is (after build in CCS ):

    • Header = I don!t know where found it

    • R4F application = xwr16xx_mmw_mss.bin

    • DSP application = xwr16xx_mmw_dss.bin

    • TI Radar Block patch = xwr16xx_mmw.bin

    Is it true? And for flash device is possible choose in iniflash:

    Meta Image 1 : Header = I don!t know where found it

    Meta Image 2 : R4F application = xwr16xx_mmw_mss.bin

    Meta Image 3 : DSP application = xwr16xx_mmw_dss.bin

    Meta Image 4 : TI Radar Block patch = xwr16xx_mmw.bin

    I think that it is possible use it but I!m not sure because the Image Creator utility is suggested for multicore data creation in this manual, but I don!t know how and why.

  • Hi Michal,

    This is not true, you will only flash a single image in Meta Image 1 for the IWR1642. You need to build the DSS first and when you build the MSS binary the DSS binary will automatically be integrated.

    I'd highly recommend you follow the steps in the User Guide here for both Deployment and Debug modes: dev.ti.com/.../

    Let me know if you have more questions!


    Cheers,
    Akash
  • Hello ,

    thank you for your help. I don't have installed CRC. It made mystage during posbuild the bin soubor. The all is work properly now.

    Michal