rtt spi flash mound不成功
本帖最后由 dmjkun 于 2013-6-6 22:03 编辑格式化后把第一扇区读回来,应该是格式 化成功了,但为什么dfs_mount不成功呢
在mount过程中卡死在f_opendir函数的 LEAVE_FF(dj->fs, res);
后跟踪到res = follow_path(dj, path);返回 FR_INT_ERR错误,
- RT - Thread Operating System
/ | \ 1.1.0 build Jun6 2013
2006 - 2012 Copyright by rt-thread team
SST25VF016 detection
sdcard init failed
psr: 0x81000000
pc: 0x0800c2fa
lr: 0x0800c2ef
r12: 0x00000002
r03: 0x20008cc3
r02: 0x2000a2f0
r01: 0x00000000
r00: 0x20000100
hard fault on thread: 冀究懒旅呐魄壬仕掏蜗醒矣哉肿刭谯茌捱噌忏溴骁栝觌
threadpristatus sp stack size max used left tickerror
-------- ---- ------- ---------- ---------- ---------- ---------- ---
tidle 0x1f ready 0x00000040 0x00000100 0x00000040 0x00000020 000
timer 0x04 suspend 0x00000040 0x00000200 0x00000040 0x00000009 000
tshell 0x14 ready 0x00000040 0x00000800 0x00000040 0x0000000a 000
冀究懒旅 0xf1
另外hard fault on thread后的报错,乱码是什么原因 rtconfig.h#define RT_DFS_ELM_MAX_SECTOR_SIZE4096 好了,谢谢了,rtt初学,不懂怎样设置,请见谅
页:
[1]