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.

AWR1843: Invalid .bin file

Part Number: AWR1843
Other Parts Discussed in Thread: UNIFLASH, ,

Hi Team, 

Good day. I am posting this inquiry on behalf of the customer.

"Please how can I solve this error, pasted below from my Uniflash console"

[11/27/2022, 3:57:43 PM] [INFO] Cortex_R4_0: Initialization complete.
[11/27/2022, 3:57:44 PM] [INFO] Cortex_R4_0: Flashing process starting...
[11/27/2022, 3:57:44 PM] [INFO] Cortex_R4_0: Connecting to COM Port COM5...
[11/27/2022, 3:57:44 PM] [INFO] Cortex_R4_0: Reset connection to device
[11/27/2022, 3:57:44 PM] [INFO] Cortex_R4_0: Set break signal
[11/27/2022, 3:57:44 PM] [INFO] Cortex_R4_0: Connection to COM port succeeded. Flashing can proceed.
[11/27/2022, 3:57:44 PM] [INFO] Cortex_R4_0: Reading device version info...
[11/27/2022, 3:57:44 PM] [INFO] Cortex_R4_0: ** 1 files specified for flashing.
[11/27/2022, 3:57:44 PM] [INFO] Cortex_R4_0: Checking file C:/Users/USER/workspace_v11/TerrainsenseVi117v/Debug/TerrainsenseVi117v.bin for correct header for AWR1843.
[11/27/2022, 3:57:44 PM] [INFO] Cortex_R4_0: Header of C:/Users/USER/workspace_v11/TerrainsenseVi117v/Debug/TerrainsenseVi117v.bin file indicates it is not a valid file to flash to AWR1843: 0x65786946
[11/27/2022, 3:57:44 PM] [ERROR] Cortex_R4_0: !!! Aborting flashing of specified files!!!
[11/27/2022, 3:57:44 PM] [INFO] Cortex_R4_0: Disconnecting from device on COM port COM5...
[11/27/2022, 3:57:44 PM] [INFO] Cortex_R4_0: Flashing instance clean-up initiated...
[11/27/2022, 3:57:44 PM] [INFO] Cortex_R4_0: Instance deinitialized!
Please help to advise. Thank you for extending your help.
Kind regards, 
Marvin
  • Hello Marvin,

    This looks like an issue with the .bin file itself.
    To check if the uniflash tool is working, the customer can try to flash the debug.bin for AWR1843 that comes with the mmwave SDK.

    Regards,
    Saswat Kumar

  • Hi Saswat, 

    Thank you for your prompt response. Please see the feedback from our customer.

    "This looks like an issue with the .bin file itself.
    To check if the uniflash tool is working, the customer can try to flash the debug.bin for AWR1843 that comes with the mmwave SDK."

    Quoting and responding to advise;
    Most likely is an issue with the my .bin file because I successfully flashed the AWR1843 booster with the demo.bin for AWR1843 (guessing he meant demo.bin instead of debug.bin).
    Thanks for the progress!

    So, please, how might I resolve the issue with my .bin file or solve the problem of incorrect header for AWR1843 boost
    I generated it with code composer studio

    Thank you for your assistance.
    Please help to advise. Thank you for extending your help.
    Kind regards, 
    Marvin
  • Hello Marvin,

    What project have you developed? Can you check the CCS based projects makefile in the dev.ti.com/.../node preset in the automotive toolbox for the AWR1843.
    You can compare and check how they are building the file for flashing in the AWR generation 1 EVM.
    You will have to follow the same steps to build a successful binary that can be flashed.

    Regards,
    Saswat kumar

  • Hi Saswat, 

    Thank you for your response. Please see the feedback from our customer.

    "To answer the question that came with the response; 
    An obstacle detection combined with an automatic deceleration and braking algorithm (an ADAS)
    I will try this out and feed you back as soon as possible.
    Thank you for this immense gesture of kindness."
    Thank you for extending your help.
    Kind regards, 
    Marvin
  • Hi Saswat, 

    Please see the additional input from the customer.

    "Nothing positive yet. 
    I'm not sure there's anything wrong with my makefile compared with demo projects.
    The prior error of an invalid header file for the AWR1843 is the possible solution I'm currently exploring.
    I will add the header file of a demo project to mine and see if it works.
    Can I use C code generated by MATLAB's embedded coder directly in code composer studio without further editing to generate a correct .bin file?
    Thank you for your continued support!"
    Please help to advise. Thank you for extending your help.
    Kind regards, 
    Marvin
  • Hello marvin,

    Let me know if it works.

    Regards,
    Saswat Kumar

  • Hi Saswat, 

    Thank you for your response. Please see the feedback from our customer.

    "Thank you for your support so far.
    Can I run an application from a bootable flash(NAND) drive connected to the USB port of the AWR1843boost?
    This is one of the many options I am exploring for lack of success in deploying to AWR1843 with Uniflash.
    Thanks again for your continued support.
    Sorry I have been silent."
    Please help to advise. Thank you for extending your help.
    Kind regards, 
    Marvin
  • Hello Marvin,

    The above-mentioned process will not work as there is no USB interface in the AWR1843, it is a XDS debugger.

    Regards,
    Saswat Kumar