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.

[参考译文] LP-EM-CC2745R10-Q1:在字节级擦除内部闪存的 API 是什么?

Guru**** 2527710 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1560403/lp-em-cc2745r10-q1-what-is-the-api-for-erasing-internal-flash-at-the-byte-level

器件型号:LP-EM-CC2745R10-Q1


工具/软件:

您好、TI

SDK 版本:9.11.00.18

   我们当前用于擦除内部闪存的 API 是 (但是,参数是 extern int_fast16_t NVS_erase(NVS_Handle handle, size_t offset, size_t size));  size  必须是扇区大小的整数倍 。 由于我不需要擦除整个扇区、因此我想问是否有用于字节级擦除的 API。

此致!

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

    闪存技术意味着您只能在扇区级别进行擦除。 闪存没有字节级擦除粒度。

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

    您好:

    Kier 正确。 您只能擦除扇区级别的字节。

    此致、

    Nima Behmanesh