This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem porting the RL-ARM SD/MMC File Demo for MCBSTM32

Hi,

I have compiled and ran the KEIL example program 'RL-ARM SD/MMC File Demo for MCBSTM32' (mcbstm32_sd_file.zip) and there is no problem.

As I tried to port the code to my own uvision project, I could read the SD card directory and do, say, file rename 'REN'. However the program crashed if I run the TYPE command. The problem seems to be in the fgetc() call in cmd_type(). Similarly the program would crash if I execute a COPY command.

Can you give me some indication as to what might be the cause? I am using MDK-ARM 3.15b and RL-ARM 3.13a.

Thanks and best regards,

Steven

0