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.

[参考译文] RTOS/MSP432E401Y:写入和读取特定位置

Guru**** 2577385 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/780987/rtos-msp432e401y-writing-and-reading-a-specific-location

器件型号:MSP432E401Y

工具/软件:TI-RTOS

您好、

我正在为我的应用程序使用"nvsinternal"示例程序。

使用该应用程序、我能够将数据写入闪存存储器并读取闪存存储器。

但是、我想将数据写入特定的存储器位置、并在需要时进行读取。

根据示例,基地址为 0xE0000,扇区大小为 0x4000。 这意味着我可以从(0xE0000到0xE3FFF)写入数据。

如果我完全想将数据写入该位置(0xE2000)、那么在写入和读取该位置时如何将写入地址初始化为 NVS 句柄。  

谢谢你

此致

Kalyan。