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.

Flashing the AWR1642 Evaluation Module (AWR1642BOOST)

Other Parts Discussed in Thread: AWR1642BOOST, UNIFLASH, MMWAVE-SDK

Hi,

I am trying to flash the Evaluation Module (AWR1642BOOST) using the binary image file from TI

I i am using the UniFlash utility under windows and configured the ports correctly. UniFlash auto detect the device and seem to communicate with it but when i am trying to load/verify  the image file i keep getting

" a data verification error occurred, file load failed " 

Also When i am trying to manually select the AR1642 configuration and starting i am getting a slight different window for loading images and i dont have an option to read memory (which when using auto detection i do) also when trying to load from here it complains it cannot communicate with the serial port. 

Can you please help 

  • Hello ,

    For the 16xx, you only need to use one image. Use the 'xwr16xx_ccsdebug.bin' for Meta Image 1 and leave all other Meta Image slots empty.

    And I assume you have set the right COM port in the "Settings & Utilities" of Uniflash.

    -Raghu
  • Hi,
    I am using to correct COM port and used only the one image (when it is being auto detected - there is only one image place available unless specifically adding another one) but i keep getting verification error.

    Guy
  • Hello Guy Mardiks,

    The recommended way to use the UNIFLASH for mmWave devices is to "Choose Your Device" in the "New Configuration" rather than the AutoConnection.

    Please refer to the MMWAVE_UNIFLASH_USERGUIDE for your reference.

    The "data verification Error" is seen when the Uniflash tries to use the JTAG to download the FW rather than the UART.  Download of FW is not supported over JTAG for mmwave devices.

    Hope this resolves the issue you are facing with Uniflash flashing.

    Thanks,

    Raghu

    ----------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    ----------------------------------------------------------------------------------------------------------

     

  • Hi,
    I have also tried choosing the device (instead of auto-connect) but then when i am trying to load the image the Uniflash application get stuck and hangs on a pop-up windows for loading flash "opening com port" (the console output suggests that it did connected to the COM port as it continues and the last console output line reads
    "Cortex_R4_0: Set break signal"

    Guy
  • Hello Guy,

    Please check if the COM port selected is the right COM PORT.

    You can go to the "Settings and Utilities" view and check the COM Port selected.

    You should choose the "XDS110 Class Application/User UART" port for the flashing.

    I am assuming that you already have the right SOP mode settings for flashing( SOP2 and SOP0 jumpers connected).

    Also please remove the DEVPACK and just connect the AWR1642BOOST to the PC for flashing.

    Regards,

    Raghu

    ----------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    ----------------------------------------------------------------------------------------------------------

  • Hi,
    That is what i was doing i set the COM port the the COM that was assigned as
    "XDS110 Class Application/User UART" which in my case was COM8 (COM7 is assigned to aux data)

    it only once seem to even try to start and then as i mentioned got stuck when i retired it keeps saying it cannot access the COM port - tried restarting the application and power cycling the module but it refuses to communicate with the COM port.
  • Hi Guy,
    Did you try removing the DEVPACK and just use the AWR1642BOOST connected to PC?

    Can you send me the pic of the EVM and the screenshot of the Uniflash error ?

    Thanks,
    Raghu
  • Hi i have only one board (AWR1642BOOST) - see pics.

    also attached snapshots of the COM ports and the UniFlash with the error.

  • Hello Guy,

    From looking at your AWR1642BOOST I see that the "P3(SOP2)" is open. You will need to close this during the flashing operation. Use the jumper and close the SOP2 during the flashing.

    Please refer to "Sec 4.1 How to flash an image onto xWR14xx/xWR16xx EVM" in the mmwave SDK User guide.

    Rest of the setup look fine to me.

    Regards,

    Raghu

    ----------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    ----------------------------------------------------------------------------------------------------------

  • Hi,Thanks but the same error remains even after i closed the jumper .
  • Hello Guy,

    This is strange.

    The error snapshot says that COM8 cannot be accessed.

    Are you connected to teraterm/hyperterminal on this port? Or is the RadarStudio connected to this port?

    BR,

    Raghu

  • Hi,
    I have no other program (that i am aware of) that is using the COM port - i have only the Uniflash program open. no idea what it is not able to access/open the port.
  • Hi,
    I have no other program (that i am aware of) that is using the COM port - i have only the Uniflash program open. no idea what it is not able to access/open the port.

    I have tried connecting it to a different computer and from it i was able to load the image.

    is there also a way to download the image from the unit using the flash utility?

    Thanks

    Guy

  • Hi Guy,
    Good to know you are able to flash the device. But it still doesn't answer why you had problem on the other PC.

    Not able to understand your other query.

    -Raghu
  • Hi,
    On the computer that it worked i only installed the flash utility. on the one that it does work i have also installed all other related programs such as the mmwave_SDK, mmwave_fdp,ti_emupack
    even though they are not running is it possible they installed drivers that causes a conflict with the flash utility?

    As for the other query - my question was - when i have an already flashed unit is it possible using the flash utility to read the image from the device and store it as a bin image file on the computer.

    Thanks
    Guy
  • Hello Guy,

    Per our understanding, the installed driver will not cause any conflict with flash utility.

    The flash utility is not capable of reading the image from the device and storing in the bin img file on the PC.

    Thanks,

    Raghu

    ----------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    ----------------------------------------------------------------------------------------------------------

  • Hi,
    Thanks, so it is probably something related to the computer's setting - i will try check it out later.

    One more thing now i have flashed a modified image we received for a maximum of 200 objects (instead of 100 that as i understand was in the original flashed image). can you tell me where can i find the image bin file for the image the was originally on the module (i have tried loading the bin file from "C:\ti\mmwave_sdk_01_00_00_05\firmware\radarss\xwr16xx_radarss_rprc.bin" but it says that it cannot be loaded to the module - console error is "file indicated is not a valid file to flash to ARW1642:0x43525052")

    Thanks
    Guy
  • Hi
    I have eventually found the original demo binary and was able to upload it.

    Thanks
    Guy
  • Hi Guy,
    Good you are able to find the binaries.

    The original demo/driver binaries can be found the respective project folders of the MMWAVE-SDK

    If all your queries on the UNIFLASH is answered, please mark the reply that helped resolve the query so that we can close this thread.

    For any new query that you may have, you can open a new e2e post .

    Thanks,
    Raghu
  • Hi Guy,

    Did you resolve your issue? I have the exact same issue with my AWR1642BOOST EVM. I have not been able to move forward because of this issue. Please post if you found a solution.

    Thanks,

    Jerry

  • Hi,

    My issue was resolved by doing couple of things:

    1) not using the auto detection and selecting the module manually from the device list.

    2) which was the main problem at my end - from some reason the computer (laptop) i was working with could not connect to the COM port- i tried using a different computer and it worked fine with it. i did not find what was the conflict at the first computer.

    Hope this helps

    Regards

    Guy