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.

AWR1642: Cannot run the image from the flash

Part Number: AWR1642
Other Parts Discussed in Thread: IWR1642

Hello everyone

Based on this thread  

I tried all the two methods. However, the board is not running for those two methods. The following is my output from the first method. Can you tell me what the problem is? Thanks.

Xining

C:\ti\mmwave_sdk_01_00_00_05\packages\scripts\windows>generateMetaImage.bat metaImage.bin 0x01000005 C:\Users\xxx\workspace_v7\XXX\16_XXX_mss_v2\Debug\xwr16xx_16_XXX_mss_v2_mss.bin C:\ti\mmwave_sdk_01_00_00_05\firmware\radarss\xwr16xx_radarss_rprc.bin C:\Users\ti\workspace_v7\XXX\16_MMW_dss\Debug\xwr16xx_mmw_demo_dss.bin
c:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\multicore_image_generator\MulticoreImageGen.exe LE 37 0x01000005 metaImage.bin 0xb5510000 C:\ti\mmwave_sdk_01_00_00_05\firmware\radarss\xwr16xx_radarss_rprc.bin
Number of Input Files 1
Number of zeros 8

call c:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\crc_multicore_image\crc_multicore_image.exe metaImage.bin metaImage.bin.tmp
size of App Image is 136256 bytes
cur_crc_read_addr 64
Failed to remove CRC temp file

perl c:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\append_bin_crc\gen_bincrc32.pl metaImage.bin
>>>> Binary CRC32 = aa5984aa <<<<
>>>> Total bytes in binary file 136260 <<<<
C:\ti\mmwave_sdk_01_00_00_05\packages\scripts\windows>

  • Xining,

    Take a look at this thread, does this answer your question? Otherwise we can have a team member look into this for you.


    Cheers,

    Akash

  • Hi Akash

    That thread does not help me.

    Thanks
  • Peter010 said:
    Number of Input Files 1

    Input are 3 files but only one  file is found. Pls make sure the other two bin files' folder directory are correct.

  • Hi Meng

    Thanks for pointing this error. After I correct this error, the board still cannot run.

    In the CCS debug mode, I am using the image from mmwave_sdk_<ver>/packages/ti/utils/ccsdebug /xwr16xx_ccsdebug.bin. Will this image help my code running? When I burn my own image onto the board, there will be no ccsdebug.bin image. Will this be a problem?

    The following is the output of building image.

    Thanks
    Xining


    C:\ti\mmwave_sdk_01_00_00_05\packages\scripts\windows>generateMetaImage.bat metaImage.bin 0x01000005 C:\Users\XiningYu\workspace_v7\XXXX\16_XXXX_mss_v2\Debug\xwr16xx_16_XXXX_mss_v2_mss.bin C:\ti\mmwave_sdk_01_00_00_05\firmware\radarss\xwr16xx_radarss_rprc.bin C:\Users\XiningYu\workspace_v7\XXXX\16_MMW_dss\Debug\xwr16xx_mmw_dss.bin
    c:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\multicore_image_generator\MulticoreImageGen.exe LE 37 0x01000005 metaImage.bin 0x35510000 C:\Users\XiningYu\workspace_v7\XXXX\16_XXXX_mss_v2\Debug\xwr16xx_16_XXXX_mss_v2_mss.bin 0xb5510000 C:\ti\mmwave_sdk_01_00_00_05\firmware\radarss\xwr16xx_radarss_rprc.bin 0xd5510000 C:\Users\XiningYu\workspace_v7\XXXX\16_MMW_dss\Debug\xwr16xx_mmw_demo_dss.bin
    Number of Input Files 3
    Number of zeros 36
    Number of zeros 8
    Number of zeros 56

    call c:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\crc_multicore_image\crc_multicore_image.exe metaImage.bin metaImage.bin.tmp
    size of App Image is 302848 bytes
    Padded RPRC Image for Core ID:894500864
    cur_crc_read_addr 128
    cur_crc_read_addr 196
    cur_crc_read_addr 136388
    Failed to remove CRC temp file

    perl c:/ti/mmwave_sdk_01_00_00_05/packages\scripts\ImageCreator\xwr16xx\append_bin_crc\gen_bincrc32.pl metaImage.bin
    >>>> Binary CRC32 = af1bb15e <<<<
    >>>> Total bytes in binary file 302856 <<<<

  • Hi Peter,

    You are going to need the ccsdebug.bin to do any development on your own with IWR1642. Try again with this binary involved and see if it works.

    Cheers,
    Akash
  • At what place I may place the ccsdebug.bin file? Behind the DSP core bin file?

    Thanks
    Xining
  • Any new comments?
  • Peter010 said:
    In the CCS debug mode, I am using the image from mmwave_sdk_<ver>/packages/ti/utils/ccsdebug /xwr16xx_ccsdebug.bin. Will this image help my code running? When I burn my own image onto the board, there will be no ccsdebug.bin image. Will this be a problem?

    If you want to use CCS to debug xwr16xx, you need to burn /xwr16xx_ccsdebug.bin to spi flash. In your case, you want to run the code from spi flash directly, so you need not to burn /xwr16xx_ccsdebug.bin.

    I have tried the image_create.bat and found a small error. Pls correct is as below.

    org: MulticoreImageGen.exe LE 0 0x01000005 ..\metaImage.bin 0x35510000 ..\mss_rprc.bin 0xB5510000 ..\xwr16xx_radarss_rprc.bin 0xD5510000 ..\dss.bin

    Change:MulticoreImageGen.exe LE 0 0x01000005 ..\metaImage.bin 0x35510000 ..\mss_rprc.bin 0xB5510000 ..\xwr16xx_radarss_rprc.bin 0xD5510000 ..\dss_rprc.bin

    My xwr16xx_mmw_demo_mss.xer4f and xwr16xx_mmw_demo_dss.xe674 can work well (the bin file burned to flash works ok with mmw demo web GUI) with two methods in the link you shared.

    I attached my xwr16xx_mmw_demo_mss.xer4f/xwr16xx_mmw_demo_dss.xe674. https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/1023/xwr16xx.7zPls kindly try. And pls make sure your xer4f and xe674 work ok in CCS debug before trying to burn it to SPI flash.

     

  • Xining,

    Pls try image_create.bat with above modification. It is much easier.