PFM-487开发板,读写W25Q32 FLASH,根据官方所述,将排插68(MOSI)与82相连, 67(MISO)与81相连, 66(CLK)与80相连, 65(SS)与79相连。程序中只修改了W25Q32的ID号,原来为W25Q16的ID 0xEF14,将其修改为0XEF15,其余都不变,编译之后下载到开发板中,最后还是出现fail,log如下:
+------------------------------------------------------------------------+
| M480 SPI Sample with SPI Flash |
+------------------------------------------------------------------------+
Flash found: W25X16 ...
Erase chip ...[OK]
Start to normal write data to Flash ...[OK]
Normal Read & Compare ...[FAIL]
搞了几天了依旧无法给出能正确跑的case,跟STM32比起来,感觉太不友好了
|