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.

[参考译文] C2000WARE:串行闪存编程器:F2838x 的擦除扇区中存在错误

Guru**** 2589300 points
Other Parts Discussed in Thread: C2000WARE

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1332556/c2000ware-serial-flash-programmer-bug-in-erase-sector-for-f2838x

器件型号:C2000WARE

您好

使用 serial_flash_programmer 工具、我试图擦除闪存的特定扇区、但其中任何扇区都被允许、仅接受"all"选项

调试源代码我意识到一些"其他"被遗忘了。

解决方法如下:  

在文件"serial_flash_programmer.cpp"中

功能: void setEraseSector(unsigned int CPU, uint32_t Sector)

如果没有 else 语句、则会跳到最后一个 else、等于 Sector = 256、不允许我选择所需的扇区。

此致

阿格斯丁

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

    尊敬的 Agustin:

    感谢您通知此问题。 将确保在下一个 C2000Ware 版本中对此实施修复。

    谢谢。此致、

    查尔斯