各位,大家好:
最近我在使用TI提供的Demo程序serial_flash_programmer对f28335设备进行下载程序,内核程序(Flash_APIV2.1)成功下载并运行,就在用户程序即我自己的DSP程序下载一半的时候下载函数从串口收不到块教研位了,请问有没有遇到过的大哥,指点一下。
程序运行如下:
C2000 Serial Firmware Upgrader
Copyright (c) 2013 Texas Instruments Incorporated. All rights reserved.
Copyright (c) 2013 Texas Instruments Incorporated. All rights reserved.
getting comm state
building comm DCB
adjusting port settings
building comm DCB
adjusting port settings
calling f05_DownloadImage
Downloading CDRM3_AFRP_HW1.0_US_FW2.txt to device…
Downloading CDRM3_AFRP_HW1.0_US_FW2.txt to device…
Kernel AutoBaud Successful
Kernel Loaded
Done Waiting for kernel boot…attempting autobaud
Application AutoBaud Successful
Kernel Loaded
Done Waiting for kernel boot…attempting autobaud
Application AutoBaud Successful
在我跟踪了VS代码后发现,程序运行到了f05_DownloadImage.cpp文件的int f05_DownloadImage(void)函数的ReadFile(file, &rcvData, 1, &dwRead, NULL);这句代码处一直读到不到内容,所在一直在这里死循环,请大家给我点意见谢谢。