I have added the code.Calling init_filesystem() initializes and
mounts the RAM drive successfully and turns the corresponding pins of
PORT2 HIGH.This happens so if am not calling the tst_fopen()
function.But whenever am calling tst_fopen function,fopen() runs out
by an exception and the corresponding pins of PORT2 are switched as
LOW.
What could be the issue ?
#include "lpc17xx.h"
#include "rl_fs.h"
#include <stdio.h>
↧