如果我在0x00000000处开始写入一个程序,再从0x00020000写入一个程序,我在第一个程序的最后把PC指针跳转到0x00020000是否就能实现第二个程序的运行?
如何利用CCSv5.4的编译器的代码块定位功能把第二个程序块定位到0x00020000,然后在第一个程序块后面直接跳转到0x00020000??
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.
楼主,
建议你下载tivaware软件开发包,里面的boot_demo就是实现的楼主需要的功能。简单来说需要实现这些功能。
在ccs下,代码定位功能可以通过修改cmd文件实现。还要注意的是代码定位后还需要改写VTABLE来设置中断向量表的偏置地址。