8 months, 1 week ago.

hard fault error in frdm k64f board

sir, I am Anju Antony and i am quite new to Mbed projects. I want to build a project to access data from a file that is in the SD card of FRDM K64F board. I was unable to read the data , so i tried doing example program to read and write from SD card. I tried this https://os.mbed.com/cookbook/SD-Card-File-System. and have changed the pins like SDFileSystem sd(PTE3,PTE1,PTE2,PTE4, "sd");

The program compiles and the serial terminal shows hard fault error, when i searched the error i got https://armmbed.github.io/mbedos-error/?error=0x80FF013D. I don't know what to do next,. The terminal shows like ++ MbedOS Fault Handler ++

FaultType: HardFault


R0 : 0000 C7C4

R1 : 00000000

R2 : 0000D7C4

R3 : 20000124

R4 : 0000D7C4

R5 : 0000C7C4

R6 : 0000C7D4

R7 : 20000BE4

R8 : 00000000

R9 : 00000000

R10 : 0000 C56C

R11 : 0000C56C

R12 : 00000000

SP : 2002FFD0

LR : 000010FF

PC : 0000 1116

: 41000000

PSP : 00000000

MSP : 2002FF68

CPUID: 410FC241

HFSR : 4000 0000

MMFSR: 00000000

BFSR : 00000086

UFSR : 00000000

DFSR : 00000008

AFSR : 0000 0000

BFAR : 0000C7C4

Mode : Thread

Priv : Privileged

Stack: MSP

MbedOS Fault Handler

++ MbedOS Error Info ++

Error Status: 0x80FF013D Code: 317 Module : 255 Error Message: Fault exception

Location: 0x913F

Error Value: 0x1116

For more info, visit: https://armmbed.github.io/mbedos-error/?error=0x80FF013D

Mbed OS Error Info

System will be rebooted due to a fatal error

Reboot count(=2591) reached maximum, system will halt after rebooting

Please help Regards Anju Antony

Comment on this question
Be the first to answer this question.

You need to log in to post a question