用flash.cmd烧写进flash可以运行,断电重启后无法运行,用例程程序现象也是一样。GPIO24,GPIO32必须外部上拉电阻吗。
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.
您使用的是launchpad?我之前测试闪灯例程是没有问题的
GPIO24,GPIO32必须外部上拉电阻吗。
您可以看一下数据手册的说明
6.9 Boot ROM and Peripheral Booting
https://www.ti.com.cn/cn/lit/ds/symlink/tms320f280049c.pdf
The default boot mode pins are GPIO24 (boot mode pin 1) and GPIO32 (boot mode pin 0). Users may choose to have weak pullups for boot mode pins if they use a peripheral on these pins as well, so the pullups can be overdriven.
我用的仿真器是XDS100V3这个没有影响吧
可以使用的,之前有客户在使用XDS100V3时也遇到了问题,您可以看一下
https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/973016/tms320f280049c-xds100v3-cjtag
如果用串口烧写引导方式还用改吗
SCI的话,GPIO32需要上拉
但再用仿真器烧写程序需把gpio32拉低后才能正常烧写
仿真器烧写的话,是使用的仿真器boot模式。在程序load到芯片的时候,或是reset > restart,CCS会自动屏蔽bootloader的过程,自动跳到main函数入口。具体看一下
4.4.1 Emulation Boot Flow Diagram