Thread 中讨论的其他器件:EK-TM4C123GXL
大家好、
我正在使用引导加载 程序、但似乎不知道如何将 C:\ti\TivaWare_C_Series-2.2.0.295\examples\boards\ek-tm4c123gxl\boot_demo_uart_rom.bin 文件编程到 ROM 中。
我正在使用:

但实际上不确定它在 ROM 或闪存中。
然后、我使用 CCS 加载 boot_demo1、甚至可以使用调试器来查看它是否跳转到引导加载程序:
JumpToBootLoader(void)
{
//
// Disable all processor interrupts. Instead of disabling them
// one at a time, a direct write to NVIC is done to disable all
// peripheral interrupts.
//
HWREG(NVIC_DIS0) = 0xffffffff;
HWREG(NVIC_DIS1) = 0xffffffff;
//
// Return control to the boot loader. This is a call to the SVC
// handler in the boot loader.
//
(*((void (*)(void))(*(uint32_t *)0x2c)))();
}
但我不确定是将0x2C 更改为0x100 0000 还是映射到 ROM 的其他值。
假设系统实际上处于引导加载程序模式、我尝试使用 UART 发送所需的程序并获取以下消息:

感谢您的任何反馈。 我知道我即将完成这项工作。
谢谢、
Bob