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.

AWR6843: 参考AWR1642无操作系统工程,移植到AWR6843,通过仿真器加载程序,运行正常;合成文件烧写到芯片,只要启动射频,DSP出现跑飞

Part Number: AWR6843
Other Parts Discussed in Thread: AWR1642, AWR1843, , SYSBIOS, IWR6843

         TI的工程师,你好   最近,在移植AWR1642无操作系统的工程到AWR1843,通过仿真器在CCS运行程序,串口通信,射频启动,数据采集都正常;

但是一旦合成烧写文件,写入到芯片,只要启动射频,DSP就会出现问题,经常跑飞;

烧写文件和仿真器运行不一样的地方在哪里?比如配置啥的?

  • 请问是怎么合成烧写文件的?同样的合成命令生成的bin文件能在AWR1642上运行吗?

  • 更正一下,现在是在AWR6843上运行无操作系统,合成文件是参考TI的Image_Creator_User_Guide 文档,写了一个bat文件,

    这个文件合成过带操作系统sysbios的文件,是可以正常运行的。

    内容如下:

    @echo off

    REM Set mss/dss input and flash out put file name
    SET MSS_IMAGE_OUT=xwr68xx_mmw_mss_nonOS.xer4f
    SET DSS_IMAGE_OUT=xwr68xx_mmw_dss_nonOS.xe674
    SET FLASH_IMAGE_OUT=xwr68xx_mmw_nonOS.bin

    REM Delete previously output bin files
    del %FLASH_IMAGE_OUT%

    REM Convert MSS and DSS out files to bin files
    out2rprc.exe %MSS_IMAGE_OUT% xwr68xx_mmw_mss_nonOS.bin
    out2rprc.exe %DSS_IMAGE_OUT% xwr68xx_mmw_dss_nonOS.bin

    REM generate the multicore image
    REM format: MulticoreImageGen.exe <LE/BE> <DEV_ID> <SHMEM_ALLOC> <OUTPUT FILE> <COREID> <IMAGE1> <COREID> <IMAGE2> ..
    REM skd_1.2
    REM MulticoreImageGen.exe LE 37 0x01000005 %FLASH_IMAGE_OUT% 0x35510000 xwr16xx_mmw_mss.bin 0xb5510000 ./firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 xwr16xx_mmw_dss.bin
    REM sdk_2.0
    REM MulticoreImageGen.exe LE 37 0x00000006 %FLASH_IMAGE_OUT% 0x35510000 xwr16xx_mmw_mss.bin 0xb5510000 ./firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 xwr16xx_mmw_dss.bin
    REM 6843 sdk3.4
    MulticoreImageGen.exe LE 37 0x00000006 %FLASH_IMAGE_OUT% 0x35510000 xwr68xx_mmw_mss_nonOS.bin 0xb5510000 ./firmware/radarss/xwr6xxx_radarss_rprc.bin 0xd5510000 xwr68xx_mmw_dss_nonOS.bin

    REM generate and fill in the CRC for the multicore images
    crc_multicore_image.exe %FLASH_IMAGE_OUT% %FLASH_IMAGE_OUT%.tmp

    REM append crc to the flash image
    gen_bincrc32.exe %FLASH_IMAGE_OUT%


    REM ----------------------------------------------------------------
    REM Delete temp file
    REM ----------------------------------------------------------------
    del xwr68xx_mmw_mss_nonOS.bin
    del xwr68xx_mmw_dss_nonOS.bin
    del %FLASH_IMAGE_OUT%.tmp
    del crcFile

    pause

  • 同样的功能的代码,用一样的合成命令生产的bin文件烧写到AWR1642上,运行正常;但是在AWR6843上运行异常

  • 能否直接参考能运行的IWR6843的工程文件里的post build指令添加到您的工程文件里,
    如C:\ti\mmwave_industrial_toolbox_4_12_0\labs\Out_Of_Box_Demo\src\xwr6843ISK

  • 这种方法试过,一样的 ;这些指令和我写到文件本来就是一样的效果

  • 可否提供6843的无操作系统参考例程?

  • 麻烦提供一下您的代码或者测试代码,我需要转给e2e工程师看一下。

  • 通过修改DSP端堆栈大小,目前运行正常