中级会员
 
- 积分
- 211
- 金钱
- 211
- 注册时间
- 2015-12-6
- 在线时间
- 47 小时
|
1金钱
使用USB读取内部FLASH
1、电脑中显示G盘,但是却没有空间,要求格式化
2、初始化是成功的,往flash里写数据,读取数据都是可以的。
3、MAL_Write(uint8_t lun, uint64_t Memory_Offset, uint32_t *Writebuff, uint16_t Transfer_Length)
SPI_FLASH_BufferWrite((u8*)Writebuff,Memory_Offset,Transfer_Length);
uint16_t MAL_Read(uint8_t lun, uint64_t Memory_Offset, uint32_t *Readbuff, uint16_t Transfer_Length)
SPI_FLASH_BufferRead((u8*)Readbuff, Memory_Offset, Transfer_Length);
4、在MAL_Write MAL_Read 中都调用了相应的SPI读写函数,但是却没有显示flash的内容,那么是什么原因引起的呢?
|
|