4 posts / 0 new
Last post
jame0769
Offline
Last seen:3 weeks 5 days ago
Joined:2021-01-07 12:13
开发模式下写入的程序,断电后需要重新写入?

刚刚接触 PAN1740A 蓝牙模块, PAN1740A 的MCU使用 DA14585 。

数据手册上说:在开发模式环境下,MCU的程序只是写入RAM中

以下是数据手册

"During development mode phase application code is developed using the ARM Cortex-M0 SW environment. The compiled code is downloaded into the System RAM or any retention RAMs by means of SWD (JTAG) or any serial interface (e.g. UART). Address 0x00 is remapped to the physical memory that contains the code and the CPU is configured to reset and execute code from the remapped device. This mode enables application development, debugging and on-the-fly testing."

是不是就是说,开发模式下写入的程序在断电后就会消失?

手上没有开发板,本来想用探针,把USB开发板的当作量产工具来用。

OTP一次性写入前,想多点(脱离开发板的)测试

Device:
Martin.Ge
Offline
Last seen:2 months 1 week ago
Staff
Joined:2020-01-06 06:51
嗨,珍妮,

嗨,珍妮,

你的理解没错。

在开发模式下,断电后程序会消失。

Br

Martin

jame0769
Offline
Last seen:3 weeks 5 days ago
Joined:2021-01-07 12:13
Hi Martin,

Hi Martin,

感谢你的回答。

补充一个问题:Dialog低功耗蓝牙MCU有没有类似FLASH一样能多次写入,掉电保存的器件

Martin.Ge
Offline
Last seen:2 months 1 week ago
Staff
Joined:2020-01-06 06:51
嗨,珍妮,

嗨,珍妮,

Dialog的低功耗产品中的5系列都是泡在ram里面运行。69系列是在flash里面运行(第三方flash)。

除此之外有一些mcu也是有内置flash,比如DA14586。

谢谢

Br

Martin