Other Parts Discussed in Thread: TMS320F28379S, C2000WARE
器件型号: TMS320F28379S
主题: C2000WARE 中讨论的其他器件
大家好:
我们目前正在为 F28379S 开发闪存内核、但其未按预期运行。
存在许多风险
CPU: TMS320F28379S
CCS: 12.7.1.
系统配置: SecondaryBootloader + Application
输出格式: EABI (ELF)
DCSM: 未使用
闪存内核:
C2000Ware_5_03_00_00/device_support/f2837xs/examples/cpu1/F2837xS sci_flash_kernel
串行闪存编程器:
C2000Ware_5_03_00_00\utilities\flash_programmers\serial_flash_programmer
问题
将上述闪存内核修改为 eabi (ELF) 格式并重新编译后、我尝试使用串行闪存编程器进行固件更新。
该进程在以下时间点停止(冻结):
...<snip>...
Bit rate /s of transfer was: 493.101196
Kernel loaded! Booting kernel...
Done waiting for kernel boot...
Attempting autobaud to send function message...
分析
//*****************************************************************************
//
// Locks baud rate.
//
//*****************************************************************************
void
autobaudLock(void)
{
...<snip>...
while (dwRead == 0){
ReadFile(file, &rcvData, 1, &dwRead, NULL);
}
...<snip>...
}
这意味着没有从闪存内核接收到响应(“A"回“回波回波)。
其他调查
我发现信息表明hex2000文本输出需要以下选项:
--memwidth=16
--romwidth=16
添加这些选项后、行为略有改变、但在以下情况下仍会冻结:
...<snip>...
Bit rate /s of transfer was: 493.101196
公钥
我附加了闪存内核工程。
您能否回顾一下并指出闪存内核实现或配置存在任何问题?
如有任何指导或建议、将不胜感激。
此致
Takaaki
