TI中文支持网
TI专业的中文技术问题搜集分享网站

28377D BOOTCTRL

TI工程师您好,我这边有两个问题,请指教:

1)BOOTCTRL寄存器的值一个芯片只能修改一次吗,还是可以反复修改?

2)通过修改BOOTCTRL寄存器对boot进行配置,我想配置GPIO72和GPIO73为boot mode 选择引脚,那如何对寄存器值进行修改呢?

     我想的步骤是这样的:1.工程中加入DCSM_Z1_ZoneSelectBlock和对应的CMD文件2837xD_dcsm_lnk_cpu1.cmd   2.将BOOTCTRL 的值写为0x4900FF5A

请指点,谢谢。

Susan Yang:关于修改boot引脚,您可以看一下TRM的 4.4 Configuring Boot Mode Pins

www.ti.com/…/spruhm8h.pdf

There are two ways to program the BOOTCTRL location in OTP (register is read only so you can not write to it).

1) Flash plug-in GUI

In CCS click on "Tools -> On-Chip Flash". This will open the GUI and here you can find the BOOTCTRL field which you can program.

2) Include the value in .out

In C2000Ware you can refer example "blinky_with_DCSM" and see how you can include this in your code and have .out to program.

Please note that this is OTP region (one time programmable) and have other security settings as well hence you have to be careful while programming it. Once programmed, you can not change the value. Also it may be good idea to program Z2 BOOTCTRL first so that if there is any issue, you have one more chance to program Z1 BOOTCTRL which will override Z2 BOOTCTRL setting.

赞(0)
未经允许不得转载:TI中文支持网 » 28377D BOOTCTRL
分享到: 更多 (0)