We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have a problem with the project using Flash file system (RTL-ARM) on LPC2368 (no real time system). I believe the problem is somewhere with the retarget.c file.
Originally I used the retarget.c from http_demo. tcp/ip and dhcp worked fine. I implemented sd card directory read. I can read the flash disk and print the directory using printf.
Problems have started when I tried to read the file. As soon as I declared FILE *fin in my function, I've got an error "L6200E: Symbol __stdout multiply defined (by retarget.o and stdio.o)" when linking.
I replaced the file retarget.c by the file from the project Keil\ARM\RV30\RTL\Boards\Keil\MCB2300\SD_File. Now it compiles and links ok, but when I start debugging (using Ulink), after download it goes straight to the endless loop in _sys_exit in retarget.c. On reset/start it does the same.
Does anybody have a clue what is going on here ? I coudn't find any clear explanation on how to configure the retarget.c.
Gennady