本人最近在用TI官方TMS320C5515 EZDSP开发板,用开发板自带的USB HID示例代码用仿真器全速运行完全正常,电脑上能找到该HID设备,但是我下载到外部FLASH中,确不能正常运行,而且仿真器也连接不上了,老是报错(这个问题在上个帖子中已经解决,把FLASH的CS脚拉高),我重新在TI官网上下载这开发板的USB示例代码,还是出现同样的问题,下载地址为:http://support.spectrumdigital.com/boards/usbstk5515_v2/reva/files/usbstk5515_BSL_CCSv33_RevA.zip ,是否运行USB相关程序,哪里还需要配置呢,示例工程中CMD文件配置如下,附件有USB示例代码,敬请各位多多请教,这个项目时间紧急,小弟感激不尽!
USB示例中的CMD文件配置如下:
-stack 0x1000
-sysstack 0x1000
-heap 0x1000
MEMORY
{
MMR (RW) : origin = 0000000h length = 0000c0h /* 192 bytes memory-mapped registers*/
VEC (RX) : origin = 00000c0h length = 000300h /* 768 bytes on-chip ROM vectors */
DARAM_0 (RW) : origin = 0000400h length = 001C00h /* 7KB on-chip DARAM 0 */
DARAM_1 (RW) : origin = 0002000h length = 002000h /* 8KB on-chip DARAM 1 */
DARAM_2 (RW) : origin = 0004000h length = 002000h /* 8KB on-chip DARAM 2 */
DARAM_3 (RW) : origin = 0006000h length = 002000h /* 8KB on-chip DARAM 3 */
DARAM_4 (RW) : origin = 0008000h length = 008000h /* 32KB on-chip DARAM 4 */
SARAM_0 (RW) : origin = 0010000h length = 020000h /* on-chip 256KB SARAM 0 */
USBBUF (RW) : origin = 0030000h length = 020000h /* USB buffer allocation */
}
SECTIONS
{
vectors : > VEC ALIGN = 256
.text : > SARAM_0 ALIGN = 4
.stack : > SARAM_0 ALIGN = 4
.sysstack : > SARAM_0 ALIGN = 4
.data : > DARAM_1
.bss : > DARAM_1, fill = 0
.cinit : > DARAM_2
.const : > DARAM_2
.sysmem : > DARAM_3
.buffer1 : > DARAM_0
.buffer2 : > DARAM_0
.switch : > DARAM_4
.cio : > DARAM_1
.usbBuffer : > USBBUF
}
xiao sumbeam:
各位专家,上面的问题我依然没找到解决方案,敬请各位多多指教啦。