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.

DSP28335在调用flash_api对flash进行擦除和烧写

在这个过程中,DSP被锁死,请问是什么原因造成的呢,与硬件或者烧写的内容有关吗?程序是TI官方的flash_api例程,

  • 您是直接使用的TI例程?是否有进行修改?现在的CSM passwords 是否全为0x0000?

    关于flash_api有一些notes,您可以参考一下:

    Note: The CSM will be permanently locked if the CSM password locations are loaded with all 0x0000 and the device is secured. During the combined “Erase” function, a sector clear is immediately followed by an erase operation without resetting the device. This will help avoid permanently locking the CSM. Do not program the CSM passwords with all 0x0000.
  •    现在的CSM passwords看不了是多少,修改了擦除的扇区和烧写地址

  • 最害怕的就是误操作写入了数据导致锁死 或者全部写0就没法用了
    建议你定位写入操作及内容 然后解锁或更换芯片
  • 这个误操作具体指什么呢?不知道到底是哪里写错了,现在无法定位原因及写入的内容,已经连续烧掉几块芯片,请问有什么方法解决吗