TMS320C30内部没有启动自引导机制(Bootloader),使得程序上电后从外部Flash启动较为复杂;利用CPLD地址译码重映射、Flash在线编程烧写技术,解决了贴片式Flash程序烧写问题,实现了中断LED程序从外部Flash启动;另外,鉴于外部Flash运行速度慢的缺点,设计了代码搬移程序,在FLASH启动后,首先执行搬移程序,把FLASH内的程序代码搬移到外部RAM内执行,实现了代码的高速执行;实践证明,该方法简单适用,运行稳定可靠,实现了TMS320C30上电后的用户程序自动引导,满足了外部贴片式Flash启动和代码高速运行的要求.%TMS320C30 does not have the bootstrap function, and this makes the program run from Flash very difficultly. Based on the re - coding with CPLD and on-line program of Flash, resolves the problem of the piece package Flash' s program, and makes the led interrupt project run in the Flash successfully. On the other hand, for the limit of the Flash speed, designs the code remove program, when the Flash power on runs the code remove program which moves the code from Flash to RAM first, and this improves the code running speed. Experiment shows that this method is simple and stability, and makes the user code bootstrap of TMS320C30 successfully, meeting the requirement of the high speed running from flash when power on.
展开▼