发现最后一块的地址处可写而不可以erase,高手分析下什么原因引起的啊?
我要erase16Mflash后面的14M,每erase 块大小为128k,共要erase bootflash后面的112块,留前面16块为bootrom区,可是erase到111块时就发生了错误,现象如下:
Debug: Erase ptr=0x50e11000. origin ,Debug: In i28f128Erase, erase OK Debug:The number is 438 Debug: Entering i28f128Write function. Debug: address=0xd60000, length=80, overwrite=0 Debug: In i28f128Write, erase OK Debug:The number is 439 Debug: Entering i28f128Write function. Debug: address=0xd60014, length=2, overwrite=1 Debug: In i28f128Write, erase OK Debug: Entering i28f128Erase function. Debug: firstblock=108, numOfBlocks=1. Debug: Erase ptr=0x50e31000. origin ,Debug: In i28f128Erase, erase OK Debug:The number is 440 Debug: Entering i28f128Write function. Debug: address=0xd80000, length=80, overwrite=0 Debug: In i28f128Write, erase OK Debug:The number is 441 Debug: Entering i28f128Write function. Debug: address=0xd80014, length=2, overwrite=1 Debug: In i28f128Write, erase OK Debug: Entering i28f128Erase function. Debug: firstblock=109, numOfBlocks=1. Debug: Erase ptr=0x50e51000. origin ,Debug: In i28f128Erase, erase OK Debug:The number is 442 Debug: Entering i28f128Write function. Debug: address=0xda0000, length=80, overwrite=0 Debug: In i28f128Write, erase OK Debug:The number is 443 Debug: Entering i28f128Write function. Debug: address=0xda0014, length=2, overwrite=1 Debug: In i28f128Write, erase OK Debug: Entering i28f128Erase function. Debug: firstblock=110, numOfBlocks=1. Debug: Erase ptr=0x50e71000. origin ,Debug: In i28f128Erase, erase OK Debug:The number is 444 Debug: Entering i28f128Write function. Debug: address=0xdc0000, length=80, overwrite=0 Debug: In i28f128Write, erase OK Debug:The number is 445 Debug: Entering i28f128Write function. Debug: address=0xdc0014, length=2, overwrite=1 Debug: In i28f128Write, erase OK Debug: Entering i28f128Erase function. Debug: firstblock=111, numOfBlocks=1. Debug: Erase ptr=0x50e91000. origin ,Debug: In i28f128Erase, erase OK Debug:The number is 446 Debug: Entering i28f128Write function. Debug: address=0xde0000, length=80, overwrite=0 Debug: In i28f128Write, erase OK
value = -1 = 0xffffffff
请高手指教,非常感谢
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
【换取逻辑分析仪】自制底板并驱动ArduinoNanoRP2040ConnectLCD扩展板被打赏47分 | |
【分享评测,赢取加热台】RISC-V GCC 内嵌汇编使用被打赏38分 | |
【换取逻辑分析仪】-基于ADI单片机MAX78000的简易MP3音乐播放器被打赏48分 | |
我想要一部加热台+树莓派PICO驱动AHT10被打赏38分 | |
【换取逻辑分析仪】-硬件SPI驱动OLED屏幕被打赏36分 | |
换逻辑分析仪+上下拉与多路选择器被打赏29分 | |
Let'sdo第3期任务合集被打赏50分 | |
换逻辑分析仪+Verilog三态门被打赏27分 | |
换逻辑分析仪+Verilog多输出门被打赏24分 | |
【分享评测,赢取加热台】使用8051单片机驱动WS2812被打赏40分 |