大家好!
还是这个问题,有木有人知道TMS320F28030内部固化的Bootloader的CAN_Boot接口函数的作用到底是什么?我们可不可以直接用?
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.
大家好!
还是这个问题,有木有人知道TMS320F28030内部固化的Bootloader的CAN_Boot接口函数的作用到底是什么?我们可不可以直接用?
在TMS320x2803x Boot ROM Reference Guide(sprugo0)文档的2.9 Bootloader Modes章节中,下方note里有这么一段话:
The default behavior of the GetMode option on unprogrammed devices is to boot to flash. This behavior can be changed by programming two locations in the OTP as shown in . In addition, if these locations are used by an application, then GetMode will jump to flash as long as OTP_KEY != 0x55AA and/or OTP_BMODE is not a valid value.
意思是对一颗空芯片来讲,默认是从flash上boot的,要改变默认的flash boot到CAN boot,可以改变OTP_KEY和OTP_BMODE的值,而这是通过对OTP编程实现的,所以写入这两个值需要烧写一个.out文件,这个文件里只改变这两个地址的值就ok了。