hi
i am getting Hardfault when finit(NULL) function is executed in LPC43xx Coretex M4 Flash file system without RTOS. I am using SD card driver as SDIO43xx.c from standard drivers.
why it goes to Hardfault?. i am using FS_CM3.lib to the project. please provide example project if you have already done.
Thanks and regards Chakravarthi
Hello Chakravarthi,
From the "finit(NULL)", I guess you are trying to use the earlier version of the filesystem, RL-FlashFS.
I recommend starting with an RTOS and the newer File System Component. There is one example for an SD Card and MCB4300 in the Pack Installer: http://www.keil.com/support/man/docs/uv4/uv4_ca_packinstaller.htm
The example is titled "File System Demo", and these newer examples are maintained. In MDKv5.22 or later, you also have access to the Event Recorder to get a lot more debug information from the middleware libraries.
Thanks, Zack
hi Havens,
i have installed the pack from Pack installer and executed the project (C:\Keil_v5\ARM\Pack\Keil\LPC4300_DFP\2.7.0\Boards\Keil\MCB4300\Middleware\FileSystem\File_Demo) but it is giving Media Error without SD Card and With SD card. Actually ,fmount function should return No Media without SD card but it is giving Media Error for all types of errors and why i am getting Media Error even though i have configured the SD card properly??.
is there any fault with Commands defined the RTOS flash file system. can you help me at function fmount("M0:") why it is giving FSmedia Error ?
Now,i am using Keil MDK Plus v5.22 with Licence.
So you're now using a different File System Component, and a different MDK version - and getting a different result.
Sounds like it's time for a new thread - with appropriately adjusted title.
You can always put links between the two threads for reference ...