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.

MMWAVE-DEVPACK: Error message in CMD with AWR1243BOOST

Part Number: MMWAVE-DEVPACK

I ran mmwave_link.exe in CMD and received "mmWave Device Power on failed for deviceMap 1 with error -8".

What caused this error?

All LEDs on mmwave -devpack are on except DS4, and DS1 looks on.

 

  • Hello Naoyuki-san,

    The issue that you are facing will be seen only if you have not flashed the right firmware in the AWR1243BOOST .
    Please flash the firmware using the RadarStudio . Refer to "5.1.5 Flash Program" in the "RadarStudio_User's_Guide.pdf" to flash the firmware.

    After flashing the firmware, you will be able to work with the CMD line application mmwavelink_example.exe .

    Regards,
    Raghu
  • Hello Naoyuki-san,

    Can you confirm that FTDI driver is Installed and can you send complete log on Command shell.

    In my understanding, Your MMWAVE-DEVPACK and AWR1243BOOST boards are not connected as mentioned in DFP user guide Section 4

    Regards,
    Kaushal
  • Here is command log with the error message. USB Drivers are installed below and boards are connected like Figure 5, jumper for SOP0 is on (connected) on AWR1243BOOST.

    Any idea on this error mode?

  • Hi Raghu,

    I was trying to flash the firmware to AWR1243BOOST and faced some issue during the flash process.

    Radar studio configurations were correctly set below, but once I clicked "Flash", the command window showed up and quickly disappeared.

    The port 12 should be a correct port. I am going to try to do one more time next week.

  • Hello Naoyuki-san,

    The "COM12" is the right port but looks like it is not connected.

    As an alternative use the "FlashProgrammer" utility that is available in the "MMWAVE-DFP".

    Please go though the readme.txt in "$mmwave-dfp-install\rf_eval\radarstudio\FlashProgrammer\readme.txt" on how to execute the flash programmer.

    Please check if below commands are there in "XWR1xxx_Package.txt" file and execute "mmwaveprog_cmdline.exe" as mentioned in readme.txt 

    FORMAT,SFLASH

    $mmwave-dfp-install\firmware\radarss\xwr12xx_xwr14xx_radarss.bin,BSS_BUILD,SFLASH

    $mmwave-dfp-install\firmware\masterss\xwr12xx_masterss.bin,MSS_BUILD,SFLASH

    $mmwave-dfp-install\firmware\masterss\xwr12xx_memswap.bin,CONFIG_INFO,SFLASH

    Please note when using the "mmwaveprog_cmdline.exe" , remove MMWAVE-DEVPACK and just connect the "AWR1243BOOST" to the PC.

    Regards,

    Raghu

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

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

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

  • Hello Naoyuki-san,

    The standard flashing tool we would like the customers to use is "Uniflash". 

    "Uniflash" should be your preferred method to flash the firmware to the device.

    Regards,

    Raghu

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

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

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

  • Hi Raghu,

    Thank you for your suggestions. I could flash the firmware to AWR1243 successfully.

    but I took out SOP2 jumper, left  the SOP0 jumper, connected mmWave DevPack, ran mmwavelink_example.exe, and still saw the same error.

    "mmWave Device Poer on failed for deviceMap 1 with error -8". 

    Do you think there is something wrong DevPack board?

    I forgot telling one thing, when I received Devpack board, R108 100Kohms register is missing so I put the register on the board by myself. 

    8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: Initialization complete.
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: Flashing process starting...
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: Connecting to COM Port COM12...
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: Reset connection to device
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: Set break signal
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: Connection to COM port succeeded. Flashing can proceed.
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: Reading device version info...
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: ** 2 files specified for flashing.
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: Checking file C:/ti/mmwave_dfp_00_07_00_04/firmware/radarss/xwr12xx_xwr14xx_radarss.bin for correct header for AWR1243.
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: AWR1243 device, fileType=RadarSS_BUILD detected -> OK
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: Checking file C:/ti/mmwave_dfp_00_07_00_04/firmware/masterss/xwr12xx_masterss.bin for correct header for AWR1243.
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: AWR1243 device, fileType=MSS_BUILD detected -> OK
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: !! Files are valid for AWR1243.
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: Format on download was specified. Formatting SFLASH storage...
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: -->Erasing storage [SFLASH]
    [8/22/2017, 11:18:09 AM] [INFO] Cortex_R4_0: -->Sending Erase command to device...
    [8/22/2017, 11:18:20 AM] [SUCCESS] Cortex_R4_0: -->Erase storage completed successfully!
    [8/22/2017, 11:18:20 AM] [INFO] Cortex_R4_0: Downloading [RadarSS_BUILD] size [196692]
    [8/22/2017, 11:19:06 AM] [INFO] Cortex_R4_0: SUCCESS!! File type RadarSS_BUILD downloaded successfully to SFLASH.
    [8/22/2017, 11:19:06 AM] [INFO] Cortex_R4_0: Downloading [MSS_BUILD] size [98332]
    [8/22/2017, 11:19:30 AM] [INFO] Cortex_R4_0: SUCCESS!! File type MSS_BUILD downloaded successfully to SFLASH.
    [8/22/2017, 11:19:30 AM] [INFO] Cortex_R4_0: Disconnecting from device on COM port COM12...
    [8/22/2017, 11:19:30 AM] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
    [8/22/2017, 11:19:30 AM] [INFO] Cortex_R4_0: Instance deinitialized!
    [8/22/2017, 11:19:30 AM] [SUCCESS] Program Load completed successfully.
  • Hello Naoyuki-san,

    The R108 on the DEVPACK is required to be left open. However there is no issue if you install a 100kOhm resistor.

    Can you please confirm that you have not connected to RadarStudio/Uniflash when executing "mmwavelink_example.exe"?

    -Raghu
    ---------------------------------------------------------------------------------------------------------

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

    ----------------------------------------------------------------------------------------------------------
  • Hi Raghu

    I ran mmwavelink_example.exe without any connection to RadarStudio/Uniflash and still saw the same error.

    I also removed R108 register just in case to ran one more time, and saw the different error below, and PC didnt recongnized mmWavePack via USB.

    only DS6 LED on mmWavePack was on. 

    Once I put R108 register again, USB connections of 4 AR-DevPack-EVM-012 from mmWavePack was established but I saw the same error "mmWave Device Power on failed for deviceMap 1 with error -8".

    I am guessing something wrong in DevPack. mmWave Device Power in error message is mentioning to DevPack?   

  • Hello,

    The reason of error you are facing because you are flashing the wrong version of MSS/BSS firmware. If you want to flash firmware on AWR1243 EVM then you need to choose FW from '$DFP_install_path/firmware/masterss' and '$DFP_install_path/firmware/radarss' directory.

    Moreover, when you run mmwavelink_example.exe it will download these firmwares over SPI, so before running this example erase the sFlash fully and then run this mmwavelink_example.exe.

    Regards,

    Jitendra

  • Hi Jitendra,

    I erased the firmware of AWR1243 first using UniFlash tool and it was done succefully. Please see the command lines below.

    after that, you selected firnwares below. I believed these were right firmware to use, but again, I disconnected UniFlash, and connected AWR1243BOOST to mmWavePack with PC, the same error showed up after ran mmwavelink_example.exe. The mmwave DFP installed to my PC is 00_07_00_04.

    - Erase/Flash

    [8/25/2017, 2:10:42 PM] [INFO] Cortex_R4_0: Initialization complete.
    [8/25/2017, 2:10:42 PM] [INFO] Cortex_R4_0: Connecting to COM Port COM12...
    [8/25/2017, 2:10:42 PM] [INFO] Cortex_R4_0: Reset connection to device
    [8/25/2017, 2:10:42 PM] [INFO] Cortex_R4_0: Set break signal
    [8/25/2017, 2:10:42 PM] [INFO] Cortex_R4_0: Connection to COM port succeeded. Flashing can proceed.
    [8/25/2017, 2:10:42 PM] [INFO] Cortex_R4_0: FORMAT Command: Initiating erase operation of SFLASH storage area.
    [8/25/2017, 2:10:42 PM] [INFO] Cortex_R4_0: -->Erasing storage [SFLASH]
    [8/25/2017, 2:10:42 PM] [INFO] Cortex_R4_0: -->Sending Erase command to device...
    [8/25/2017, 2:10:53 PM] [SUCCESS] Cortex_R4_0: -->Erase storage completed successfully!
    [8/25/2017, 2:10:53 PM] [INFO] Cortex_R4_0: Disconnecting from device on COM port COM12...
    [8/25/2017, 2:10:53 PM] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
    [8/25/2017, 2:10:53 PM] [INFO] Cortex_R4_0: Instance deinitialized!
    - Reprogrammed 
    [8/25/2017, 2:14:53 PM] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
    [8/25/2017, 2:14:53 PM] [INFO] Cortex_R4_0: Instance deinitialized!
    [8/25/2017, 2:15:11 PM] [INFO] Cortex_R4_0: Initialization complete.
    [8/25/2017, 2:15:11 PM] [INFO] Cortex_R4_0: Flashing process starting...
    [8/25/2017, 2:15:11 PM] [INFO] Cortex_R4_0: Connecting to COM Port COM12...
    [8/25/2017, 2:15:11 PM] [INFO] Cortex_R4_0: Reset connection to device
    [8/25/2017, 2:15:11 PM] [INFO] Cortex_R4_0: Set break signal
    [8/25/2017, 2:15:12 PM] [INFO] Cortex_R4_0: Connection to COM port succeeded. Flashing can proceed.
    [8/25/2017, 2:15:12 PM] [INFO] Cortex_R4_0: Reading device version info...
    [8/25/2017, 2:15:12 PM] [INFO] Cortex_R4_0: ** 2 files specified for flashing.
    [8/25/2017, 2:15:12 PM] [INFO] Cortex_R4_0: Checking file C:/ti/mmwave_dfp_00_07_00_04/firmware/radarss/xwr12xx_xwr14xx_radarss.bin for correct header for AWR1243.
    [8/25/2017, 2:15:12 PM] [INFO] Cortex_R4_0: AWR1243 device, fileType=RadarSS_BUILD detected -> OK
    [8/25/2017, 2:15:12 PM] [INFO] Cortex_R4_0: Checking file C:/ti/mmwave_dfp_00_07_00_04/firmware/masterss/xwr12xx_masterss.bin for correct header for AWR1243.
    [8/25/2017, 2:15:12 PM] [INFO] Cortex_R4_0: AWR1243 device, fileType=MSS_BUILD detected -> OK
    [8/25/2017, 2:15:12 PM] [INFO] Cortex_R4_0: !! Files are valid for AWR1243.
    [8/25/2017, 2:15:12 PM] [INFO] Cortex_R4_0: Format on download was specified. Formatting SFLASH storage...
    [8/25/2017, 2:15:12 PM] [INFO] Cortex_R4_0: -->Erasing storage [SFLASH]
    [8/25/2017, 2:15:12 PM] [INFO] Cortex_R4_0: -->Sending Erase command to device...
    [8/25/2017, 2:15:23 PM] [SUCCESS] Cortex_R4_0: -->Erase storage completed successfully!
    [8/25/2017, 2:15:23 PM] [INFO] Cortex_R4_0: Downloading [RadarSS_BUILD] size [196692]
    [8/25/2017, 2:16:08 PM] [INFO] Cortex_R4_0: SUCCESS!! File type RadarSS_BUILD downloaded successfully to SFLASH.
    [8/25/2017, 2:16:08 PM] [INFO] Cortex_R4_0: Downloading [MSS_BUILD] size [98332]
    [8/25/2017, 2:16:32 PM] [INFO] Cortex_R4_0: SUCCESS!! File type MSS_BUILD downloaded successfully to SFLASH.
    [8/25/2017, 2:16:32 PM] [INFO] Cortex_R4_0: Disconnecting from device on COM port COM12...
    [8/25/2017, 2:16:32 PM] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
    [8/25/2017, 2:16:32 PM] [INFO] Cortex_R4_0: Instance deinitialized!
    [8/25/2017, 2:16:32 PM] [SUCCESS] Program Load completed successfully.