TMS570 使用f021时候 连续写入只能最多写入16个字节,在写入的数据大于16个字节的时候写入失败,通过内存查看并没有写入成功,还有就是在Fapi_issueAsyncCommandWithAddress(Fapi_EraseBank,pStartAddress);时候如果我擦擦除的是bank那么就是数据长度小于16个字节仍然不能够写入成功,不知道是什么情况,求大家的指导,谢谢!!!
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.
TMS570 使用f021时候 连续写入只能最多写入16个字节,在写入的数据大于16个字节的时候写入失败,通过内存查看并没有写入成功,还有就是在Fapi_issueAsyncCommandWithAddress(Fapi_EraseBank,pStartAddress);时候如果我擦擦除的是bank那么就是数据长度小于16个字节仍然不能够写入成功,不知道是什么情况,求大家的指导,谢谢!!!
嗯 谢谢你的回答 是我之前理解错了。看了官方的例程知道问题所在了。
Yida 你好,
如果你的问题解决了,麻烦结贴。另外,如果可以的话,更希望你能把你的理解和经验回复在帖子里与大家分享,谢谢!
Yida 你好,
你用的是哪个片子?在写入数据时,最多写入多少字节也可以在datasheet里找到说明。 例如,如果你使用的片子是TMS570LS12xx, 在datasheet 中6.10.1 Flash Memory Configuration一节的注释里,你可以看到“The Flash banks are 144-bit wide bank with ECC support”, 即写入字节bank宽度为16 bytes * 8 (data)+2bytes * 8 (ECC)= 144-bit, 所以单次最多写入16个字节。