TI中文支持网
TI专业的中文技术问题搜集分享网站

AWR2243BOOST: 单片AWR2243+AM2732EVM固件刷录问题

Part Number:AWR2243BOOSTOther Parts Discussed in Thread: AM2732, SYSCONFIG, MATHLIB, UNIFLASH, DCA1000EVM

TI专家好,

我这边想基于AWR2243Boost+AM2732EVM做开发板的Demo运行及数据采集调试,但是当前在刷录固件时有些问题,我的操作步骤如下(均参考mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_user_guide.pdf),麻烦帮忙看下是否存在问题:

针对Demonstration Mode(参考mmwave_mcuplus_sdk_user_guide.pdf——3.2.1):

1、Boot模式设置为UART Boot Mode(SOP0—2:101)

2、然后参考AM273x MCU+ SDK: Flashing Tools,安装了python3.10.2,设置EVM,在CCS中Setup UART Terminal,如下,请问此处设置完UART Terminal需要连接各核下载打印吗?(当前CCS中Load Program还有点问题,可能缺少AM2732对应的ccs_base文件)

3、然后基于AM273x MCU+ SDK: Flashing Tools,按照Flash configuration file,设置UART boot mode,然年Flashing the files,环境变量设置如下log(参考mmwave_mcuplus_sdk_user_guide.pdf——4.2——step3),在运行checkenv.bat时会提示find' 不是内部或外部命令,也不是可运行的程序或批处理文件。,此处为何会报find不识别呢,是否会影响最终的固件刷录呢?

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>setenv.bat

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_SDK_DEVICE=am273x

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set DOWNLOAD_FROM_CCS=yes

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_SDK_TOOLS_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_SDK_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set CCS_INSTALL_PATH=C:/ti/ccs1100

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set R5F_CLANG_INSTALL_PATH=C:/ti/ccs1100/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set XDC_INSTALL_PATH=C:/ti/ccs1100/xdctools_3_62_01_16_core

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_XWR2XXX_DFP_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_dfp_02_02_03_01

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>SET MCU_PLUS_AM273X_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mcu_plus_sdk_am273x_08_01_01_06

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>SET MCU_PLUS_AWR294X_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mcu_plus_sdk_awr294x_08_01_01_06

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>SET SYSCONFIG_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/sysconfig_1.10.0

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_AWR294X_DFP_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_dfp_02_04_03_01

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set AWR294X_RADARSS_IMAGE_BIN=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_dfp_02_04_03_01/firmware/radarss/xwr2xxx_radarss_metarprc.bin

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set C66X_CODEGEN_INSTALL_PATH=C:/ti/ccs1100/ccs/tools/compiler/ti-cgt-c6000_8.3.11

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set C66x_DSPLIB_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/dsplib_c66x_3_4_0_0

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set C66x_MATHLIB_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mathlib_c66x_3_1_2_1

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>call checkenv.bat
'find' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

4、接下来刷录固件(参考mmwave_mcuplus_sdk_user_guide.pdf——4.2——step4以及AM273x MCU+ SDK: Flashing Tools中Flashing the files),在CMD中执行下述命令时,会报出Invalid argument的错误,如下述截图,请问此处的端口-p及配置文件-cfg是否配置正确,错误提示cfg的配置文件Invalid argument,请问此处应如何做修改调整呢?

 cd ${SDK_INSTALL_PATH}/tools/bootpython uart_uniflash.py -p {name of your UART com port} --cfg={path to your edited config file}



5、如果上述固件刷录完成后,需要切换到QSPI Boot Mode模式下才能运行对应的application案例吗?


此外,针对CCS development mode(参考mmwave_mcuplus_sdk_user_guide.pdf——3.2.2):
当前通过Blackhawk XDS560v2-USB System Trace Emulator可以在CCS11.1.0.00011连接R5_0核,但是load program会报如下错误,是不是CCS11.1.0.00011\ccs\ccs_base里面缺少相应的AM2732对应的gel等文件,这个可以从哪里下载获取吗,我看如下TPR12 EVM Setup.docx里面好像需要一个

TPR12 CSP的压缩文件,需要将此文件ccs_base拷到CCS安装目录下,这个文件应该如何获取呢?





TPR12 EVM Setup.docx


麻烦帮忙查看下如上问题,非常感谢。

Shine:

我运行了一下env.bat命令,没有问题。请问您有对checkenv.bat文件做什么修改吗?

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>setenv.bat

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_SDK_DEVICE=am273x

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set DOWNLOAD_FROM_CCS=yes

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_SDK_TOOLS_INSTALL_PATH=C:/ti/mmwave_mcuplus_sdk_04_02_00_02

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_SDK_INSTALL_PATH=C:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set CCS_INSTALL_PATH=C:/ti/ccs1100

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set R5F_CLANG_INSTALL_PATH=C:/ti/ccs1100/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set XDC_INSTALL_PATH=C:/ti/ccs1100/xdctools_3_62_01_16_core

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_XWR2XXX_DFP_INSTALL_PATH=C:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_dfp_02_02_03_01

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>SET MCU_PLUS_AM273X_INSTALL_PATH=C:/ti/mmwave_mcuplus_sdk_04_02_00_02/mcu_plus_sdk_am273x_08_01_01_06

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>SET MCU_PLUS_AWR294X_INSTALL_PATH=C:/ti/mmwave_mcuplus_sdk_04_02_00_02/mcu_plus_sdk_awr294x_08_01_01_06

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>SET SYSCONFIG_INSTALL_PATH=C:/ti/mmwave_mcuplus_sdk_04_02_00_02/sysconfig_1.10.0

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_AWR294X_DFP_INSTALL_PATH=C:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_dfp_02_04_03_01

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set AWR294X_RADARSS_IMAGE_BIN=C:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_dfp_02_04_03_01/firmware/radarss/xwr2xxx_radarss_metarprc.bin

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set C66X_CODEGEN_INSTALL_PATH=C:/ti/ccs1100/ccs/tools/compiler/ti-cgt-c6000_8.3.11

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set C66x_DSPLIB_INSTALL_PATH=C:/ti/mmwave_mcuplus_sdk_04_02_00_02/dsplib_c66x_3_4_0_0

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set C66x_MATHLIB_INSTALL_PATH=C:/ti/mmwave_mcuplus_sdk_04_02_00_02/mathlib_c66x_3_1_2_1

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>call checkenv.bat———————————————–mmWave Build Environment Configured———————————————–

c:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>

,

Kun Wang:

这个没有做修改啊,都是按照SDK User Guide上来操作的,这个地方的错误是否是导致如下刷录错误d的原因呢?

关于硬件连接还想确认下,AWR2243Boost+AM2732两个板子的电源都需要接吗,我看接一个电源,两个板的指示灯都亮了Joy,然后对于AWR2243Boost的XDS110  USB接口在固件刷路这些程序中需要用到吗,AM2732也都有XDS110/FTDI,但是在应用mmWave_Demo_Visualizer/ver/4.2.0/时需要连接到2243的XDS110接口。

,

Shine:

请先按照下面的文档里步骤单独烧写一下AM2732EVM,另外,把您上面DOS命令中的{}去掉。https://software-dl.ti.com/mcu-plus-sdk/esd/AM243X/latest/exports/docs/api_guide_am243x/EVM_SETUP_PAGE.html#autotoc_md26

,

Kun Wang:

非常感谢,按照上述链接步骤可以刷录成功,但是断开电源切换到QSPI模式,然后通过CCS重新连接UART Terminal,上电后没有如下starting boot loader的输出,请问还需要设置啥吗?

然后那个环境变量还是报出“'find' 不是内部或外部命令,也不是可运行的程序或批处理文件。”这个错误,请问这个会不会对后续刷录和Demo运行有影响呢?

谢谢。

,

Kun Wang:

您好,我改了下配置文件default.cfg,然后重新下载了,下图这样是不是可以了,后面断电后不用重复刷吧,只是修改了image才需要重新刷,这样是可以直接运行相关的Demo了吧?

谢谢。

,

Shine:

是的,flash是非易失性memory,断电后数据不会丢失,不需要每次都烧写。

,

Kun Wang:

那个环境变量每次刷 flash需要都重新设置一遍吗,然后我现在那个还是有上面的错误会不会有啥影响呢,虽然那个报错看着也能刷录flashJoy.

,

Kun Wang:

您好,

我现在重新刷LVDS数据采集的appiamge,但是一直显示串口找不到,切换多个接口及更换线束都是这样,请问是什么原因呢?

谢谢。

,

Shine:

如果烧写好能正常运行的话,应该没啥影响。路径没有改变的话,不需要在设置一遍。

,

Shine:

Kun Wang 说:

您好,

我现在重新刷LVDS数据采集的appiamge,但是一直显示串口找不到,切换多个接口及更换线束都是这样,请问是什么原因呢?

谢谢

和之前能烧写的时候比有什么改动吗?

,

Kun Wang:

没有啥改动,只是更换了烧录的appimage,我刚重启了电脑,重新刷录可以了,现在重新刷录又不行了,这个哪里不稳定吗,这个端口也没占用啊,我在CCS看了log就关闭了UART Terminal。

,

Shine:

每次烧写的时候把板子重新上下电看是否能解决。

,

Kun Wang:

没有用,上电、断电、换USB接口,只有重启电脑有用,刚又重启了下JoyJoyJoy

此外,想问下在刷录后怎么确认一定是刷录成功的呢,我现在更换am273x_mmw_demoTDMLVDS.appimage,想结合DCA1000做数据采集,首先在cmd命令中UART Boot Mode模式下是下载成功的,如下:

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mcu_plus_sdk_am273x_08_01_01_06\tools\boot>python uart_uniflash.py -p COM11 –cfg=E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\tools\am273x\default.cfg

Parsing config file …Parsing config file … SUCCESS. Found 3 command(s) !!!

Executing command 1 of 3 …Found flash writer … sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_uart_uniflash.release.tiimageSending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_uart_uniflash.release.tiimage: 64827bytes [00:07, 1Sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_uart_uniflash.release.tiimage: 64827bytes [00:07, 1Sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_uart_uniflash.release.tiimage: 64828bytes [00:07, 1 Sent flashwriter E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_uart_uniflash.release.tiimage of size 64286 bytes in 7.63s.

Executing command 2 of 3 …Command arguments : –file=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_qspi.release.tiimage –operation=flash –flash-offset=0x0Sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_qspi.release.tiimage: 77175bytes [00:08, 11095.13bySending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_qspi.release.tiimage: 77175bytes [00:08, 11095.13bySending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_qspi.release.tiimage: 77176bytes [00:08, 11095.13bySending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_qspi.release.tiimage: 77177bytes [00:10, 11095.13bySending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_qspi.release.tiimage: 77178bytes [00:11, 11095.13bySending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_qspi.release.tiimage: 77179bytes [00:11, 11095.13by Sent E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_qspi.release.tiimage of size 76286 bytes in 10.42s.[STATUS] SUCCESS !!!

Executing command 3 of 3 …Command arguments : –file=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/ti/demo/am273x/mmw/am273x_mmw_demoTDMLVDS.appimage –operation=flash –flash-offset=0xA0000Sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/ti/demo/am273x/mmw/am273x_mmw_demoTDMLVDS.appimage: 410571bytes [00:Sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/ti/demo/am273x/mmw/am273x_mmw_demoTDMLVDS.appimage: 410571bytes [00:Sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/ti/demo/am273x/mmw/am273x_mmw_demoTDMLVDS.appimage: 411600bytes [00:Sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/ti/demo/am273x/mmw/am273x_mmw_demoTDMLVDS.appimage: 412629bytes [00:Sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/ti/demo/am273x/mmw/am273x_mmw_demoTDMLVDS.appimage: 412629bytes [00:Sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/ti/demo/am273x/mmw/am273x_mmw_demoTDMLVDS.appimage: 412630bytes [00:Sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/ti/demo/am273x/mmw/am273x_mmw_demoTDMLVDS.appimage: 412631bytes [00:Sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/ti/demo/am273x/mmw/am273x_mmw_demoTDMLVDS.appimage: 412632bytes [00:Sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/ti/demo/am273x/mmw/am273x_mmw_demoTDMLVDS.appimage: 412633bytes [00: Sent E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/ti/demo/am273x/mmw/am273x_mmw_demoTDMLVDS.appimage of size 409684 bytes in 40.08s.[STATUS] SUCCESS !!!

All commands from config file are executed !!!

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mcu_plus_sdk_am273x_08_01_01_06\tools\boot>

然后断电切换到QSPI模式上电后,在CCS中Terminal下有时候没有任何log输出,也会出现system init的信息,请问此处如何确定刷录一定是成功的呢?

像之前我刷录am273x_mmw_demoTDM.appimage时还有如下Image Loading Done的信息,此处怎么判定一定是成功的啊,还是说CMD里面刷录完成就可以了,此处只是确认是否是成功的?

还有个问题请教一下,在mmwave_mcuplus_sdk_user_guide.pdf    4.4节中采集ADC数据时,如下step4命令如何执行的啊,a和b也是在cmd命令下执行的吗,需要设置啥吗,我这边一直报系统配置错误?

关于步骤c中ADC数据文件存储路径直接在AM273X_Capture.json中修改就可以了吗?我现在修改为E盘了,是不是默认路径就更换到了"E:\ti\data_capture\am273x__Raw_0"?

非常感谢。

,

Kun Wang:

step4一直显示FPGA配置超时,系统断开,如下:

E:\ti\mmwave_studio_03_00_00_14-2nd generation\mmwave_studio_03_00_00_14\mmWaveStudio\PostProc>DCA1000EVM_CLI_Control fpga AM273X_Capture.json

FPGA Configuration :Timeout Error! System disconnected

,

Chris Meng:

Kun Wang 说:我刚重启了电脑,重新刷录可以了,现在重新刷录又不行了,这个哪里不稳定吗,这个端口也没占用啊,我在CCS看了log就关闭了UART Terminal。

是否有开visualizer,看看是否visualizer占用了串口。

,

Chris Meng:

Kun Wang 说:

step4一直显示FPGA配置超时,系统断开,如下:

E:\ti\mmwave_studio_03_00_00_14-2nd generation\mmwave_studio_03_00_00_14\mmWaveStudio\PostProc>DCA1000EVM_CLI_Control fpga AM273X_Capture.json

FPGA Configuration :Timeout Error! System disconnected

请问你有连接上DCA1000EVM么?

,

Kun Wang:

这个应该是断开了的,我试过刷录完成前visualizer好像是连不上的。

我现在有个新问题JoyJoyJoy,刚python命令在CMD下刷录时发现那个Boot Mode不对,我断电更改了Boot Mode再刷录时有如下错误,请问有办法解决吗?感谢。

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mcu_plus_sdk_am273x_08_01_01_06\tools\boot>python uart_uniflash.py -p COM11 –cfg=E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\tools\am273x\default.cfg

Parsing config file …Parsing config file … SUCCESS. Found 3 command(s) !!!

Executing command 1 of 3 …Found flash writer … sending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02/tools/am273x/sbl_uart_uniflash.release.tiimageSending E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_0[ERROR] XMODEM send failed, no response OR incorrect response from EVM OR cancelled by user, Power cycle EVM and run this script again !!!

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mcu_plus_sdk_am273x_08_01_01_06\tools\boot>

,

Kun Wang:

DCA1000接了AM2732   Debug那个接口,请问DCA1000上现在是需要接FPGA_JTAG吗,还是连接就接FTDI接口?

,

Kun Wang:

请问这个可以不用DCA1000做数据采集吗,直接用AM2732EVM上的以太网口来采集ADC或者目标点数据,mmwave_mcuplus_sdk_user_guide.pdf里面4.5节Ethernet Streaming Enabled这种方式可以吗?

谢谢。

,

Chris Meng:

Kun Wang 说:mmwave_mcuplus_sdk_user_guide.pdf里面4.5节Ethernet Streaming Enabled这种方式可以吗?

目前Ethernet streaming输出的是demo的检测结果。如果要输出ADC原始数据,你需要自行修改代码。AM2732上的以太网是百M的,传输速率是否能满足你的要求,你要评估一下。

,

Chris Meng:

Kun Wang 说:DCA1000接了AM2732   Debug那个接口,请问DCA1000上现在是需要接FPGA_JTAG吗,还是连接就接FTDI接口?

请问DCA1000EVM的网口正常连接了么?PC的IP地址是否有相应修改。 DCA1000EVM上需要连接FTDI的那个usb接口。DCA1000EVM_CLI_Control命令只和DCA1000EVM相关。如果运行有问题,请从DCA1000EVM入手检查。

,

Kun Wang:

好的,非常感谢,如果要输出原始的ADC数据,有相关的代码可以参考吗,Ethernet streaming问题在(+) AWR2243BOOST: AWR2243 Boost+AM2732EVM MMWAVE SDK OOB Demo with Ethernet Streaming Enabled无目标数据问题 – 传感器论坛 – 传感器 – E2ETm 设计支持 (ti.com)这个帖子请教您吧,麻烦帮忙看下,谢谢。

,

Kun Wang:

谢谢,硬件连接应该没问题,IP地址这些我再去检查下,然后查下DCA1000EVM,感谢。

,

Chris Meng:

Kun Wang 说:如果要输出原始的ADC数据,有相关的代码可以参考吗

抱歉,目前没有使用以太网输出原始数据的参考。

,

Kun Wang:

好的,谢谢,上面还有一个问题就是设置环境变量的时候call checkenv.bat一直有如下的错误,在论坛里没有看到这个‘Find’命令报错,这个对后面Build Demo好像有影响,是什么原因呢,原始的文件我都没改过,谢谢。

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>setenv.bat

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_SDK_DEVICE=am273x

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set DOWNLOAD_FROM_CCS=yes

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_SDK_TOOLS_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_SDK_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_mcuplus_sdk_04_02_00_02

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set CCS_INSTALL_PATH=C:/ti/ccs1100

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set R5F_CLANG_INSTALL_PATH=C:/ti/ccs1100/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set XDC_INSTALL_PATH=C:/ti/ccs1100/xdctools_3_62_01_16_core

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_XWR2XXX_DFP_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_dfp_02_02_03_01

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>SET MCU_PLUS_AM273X_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mcu_plus_sdk_am273x_08_01_01_06

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>SET MCU_PLUS_AWR294X_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mcu_plus_sdk_awr294x_08_01_01_06

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>SET SYSCONFIG_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/sysconfig_1.10.0

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set MMWAVE_AWR294X_DFP_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_dfp_02_04_03_01

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set AWR294X_RADARSS_IMAGE_BIN=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mmwave_dfp_02_04_03_01/firmware/radarss/xwr2xxx_radarss_metarprc.bin

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set C66X_CODEGEN_INSTALL_PATH=C:/ti/ccs1100/ccs/tools/compiler/ti-cgt-c6000_8.3.11

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set C66x_DSPLIB_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/dsplib_c66x_3_4_0_0

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>set C66x_MATHLIB_INSTALL_PATH=E:/ti/mmwave_mcuplus_sdk_04_02_00_02/mathlib_c66x_3_1_2_1

E:\ti\mmwave_mcuplus_sdk_04_02_00_02\mmwave_mcuplus_sdk_04_02_00_02\scripts\windows>call checkenv.bat'find' 不是内部或外部命令,也不是可运行的程序或批处理文件。

,

Chris Meng:

你好,

我觉得和你的电脑环境有关系。你可以换一台电脑试试。

,

Kun Wang:

好的,谢谢,我试一下。

,

Kun Wang:

我换了个笔记本好像可以,上面还有个CCS的问题,我另起个帖子咨询,非常感谢。

赞(1)
未经允许不得转载:TI中文支持网 » AWR2243BOOST: 单片AWR2243+AM2732EVM固件刷录问题
分享到: 更多 (0)

© 2024 TI中文支持网   网站地图 鲁ICP备2022002796号-1