4 posts / 0 new
Last post
cgha
Offline
Last seen:2 months 5 days ago
加入:2016-03-23 13:05
otp烧录后和flash烧录跑起来程序不一样

我现在burn了otp,程序能跑起来,蓝牙什么的也正常,但是貌似进不了低功耗。另外在烧录了otp后是否还能用jtag进行仿真? 因为我在otp header里边已经烧录了remap otp at 0

Device:
CYibin
Offline
Last seen:3 months 2 weeks ago
工作人员
加入:2017-12-14 02:48
你好,

你好,

1. 烧录 OTP 无法进入低功耗

从目前的描述,无法确定问题出在哪里。需要先确定不是固件的问题导致的功耗异常

另外, OTP header 中的字段不建议过多更改,比如,remap otp at 0 是用户用不到的字段。

2. 烧录 OTP 后是否能用 jtag 仿真

OTP header 有一个字段: disable jtag,默认是使能 jtag 的。只要该字段没有被配置过,则是可以通过 jtag 仿真的。

cgha
Offline
Last seen:2 months 5 days ago
加入:2016-03-23 13:05
你的意思是否烧录了OTP后即使不烧录otp

你的意思是否烧录了OTP后即使不烧录otp header中的remap otp at 0也能从otp启动是吧?

在otp header中我没有除能jtag,但是在otp header中我烧录了remap otp at 0,是否还能通过jtag 让它从ram开始跑?

CYibin
Offline
Last seen:3 months 2 weeks ago
工作人员
加入:2017-12-14 02:48
你好,

你好,

让 boot 选择从 OTP 中拷贝代码的是 OTP header 中 valid flag 字段。

烧录 OTP 后,仍然能用 JTAG 调试。