2020/3/17

AWR1642BOOST

Error and Fix:
follow 16xx User Guide,download and run (先run R4),出現:
[Cortex_R4_0] **********************************************
Debug: Launching the Millimeter Wave Demo
**********************************************
Debug: MMWDemoMSS Launched the Initialization Task
ti.sysbios.family.arm.v7r.vim.Hwi: line 271: E_undefined: Hwi undefined, intnum: 95
xdc.runtime.Error.raise: terminating execution
ref:RTOS/AWR1642: One question about mmw demo project in mmw SDK 1.1.02

結果我用的就是 1.1.02,板子是 RevB,應該要用 2.0


另外,分成 ARM Cortex R 的 project 和 DSP 的 project。
然後,在 Cortex R 的 project properties 中,Build - Steps - Post Build steps:
${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe xwr16xx_mmw_mss.xer4f xwr16xx_mmw_mss.bin
${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe 
                  LE 37 0x00000006 xwr16xx_mmw.bin 
                        0x35510000 xwr16xx_mmw_mss.bin 
                        0xb5510000 ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/firmware/radarss/xwr16xx_radarss_rprc.bin 
                        0xd5510000 ${WORKSPACE_LOC}/mmw_dss_16xx/Debug/xwr16xx_mmw_dss.bin
${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/xwr16xx/crc_multicore_image/crc_multicore_image.exe xwr16xx_mmw.bin xwr16xx_mmw.bin.tmp
${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe xwr16xx_mmw.bin
可以看到,會 call MulticoreImageGen 把 ...
Version: 1.0.0.0
Usage :
Single image create takes the rprc images and adds the Meta Header  and creates single output image

The resulting output is placed in the output image path

Syntax: ./<executable file name> <ENDIANESS> <Dev_ID> <Mem_Alloc> <output image path/name> 
                                  <Core_ID> <input image1 path/name> 
                                  [<Core_ID> <input image2 path/name>, ...]

ENDIAN: BE/LE --> specifies whether TI header is in Big or Little Endian format
Dev_ID (hex)is the Device ID

For Input rprc images provide the Core_Id(hex) followed by input image name
把 dss 和 mss 的 bin 合在一起。
所以燒錄時 (UniFlash),選一個 bin 檔就可以 (xwr16xx_mmw.bin)




Error and Fix

有時後會 卡在 MulticoreImageGen.exe,這時候,選出 background job,按下 停止,然後看 console,就會有 Error Message。
C:/ti/mmwave_sdk_01_01_00_02/packages/scripts/ImageCreator/xwr16xx/out2rprc/out2rprc.exe xwr16xx_mmw_mss.xer4f xwr16xx_mmw_mss.bin
Parsing the input object file, xwr16xx_mmw_mss.xer4f.
Appending zeros 0
Appending zeros 256
File conversion complete!
C:/ti/mmwave_sdk_01_01_00_02/packages/scripts/ImageCreator/xwr16xx/multicore_image_generator/MulticoreImageGen.exe LE 37 0x01000005 xwr16xx_mmw.bin 0x35510000 xwr16xx_mmw_mss.bin 0xb5510000 
C:/ti/mmwave_sdk_02_01_00_04/firmware/radarss/xwr16xx_radarss_rprc.bin 0xd5510000 C:/Users/charles.chang/workspace_v8/mmw_dss_16xx_11/Debug/xwr16xx_mmw_dss.bin
Number of Input Files 3
Error opening input image file! C:/ti/mmwave_sdk_02_01_00_04/firmware/radarss/xwr16xx_radarss_rprc.bin
這個麻煩的地方就是有 Error 時會 hang 住,但是 error message 不會顯示在 console。
要中斷 build process 後才會顯示。

像這個就是說...xwr16xx_radars_rprc.bin 找步道。

這個 path 是寫死在 project properties , build step 的 post-step 李...

沒有留言:

張貼留言