Hi, I am trying to have a TXT file which stores some data. This data is to be read by the microcontroller. Where can I store such a file on the board.
If something similar to this has been done then please share.
Board: MCB2300 Processor: LPC2388 with ARM7
Thanks
TXT file becuase we need to be able to read, edit and modify the data in the file easily, and reading txt files in c is easy. Any kind of file is ok, does not have to be a txt file specifically.
So an example of the data would be
userID password Somedata 312345689 12S E213 123654879 2d6 B312 +23654879 2d6 C312
I have looked into examples and found a way to store files on SD Card, but as I am stil new to working with MicroProcessors. I am unsure of how it really works And from exploring the example code, it would only see what the files are in the SD Card, create an empty file and possibly read it, but i do not see a real way to make major changes to the file. It needs to be able to add data, and go comparisons on the data as well
The usage would be: 1) Adding new users 2) Deleting existing users 3) Modifying users 4) Doing a comparison
so for point 4 - We get an input string (the source of this string is irrelevant right now), and we want to be able to compare the input string with the data in the file to check if the right password is used (as an example)
The data could be ranging from 20 lines to even 40,000 lines (but this would be limited by the processor, so if we cant go more than 2000 lines, that is also OK because its a prototype)
The reason I did not give details, because I wanted more of a Yes or No answere, and yes i know how to google it and did try that, but i am looking specifically for LPC2388 It was proving harder than i imagined
That is, so often, the case!
It is far too easy (and common) to look at something and say, "that looks easy" and to think that it therefore must be easy.
As the old saying goes,
"It takes a great deal of effort to make something appear effortless"
Always beware of judging something "easy" when you don't know the details!
Never said it was easy, just Harder... so i never assumed it was easy. anyways thanks for "ALL the help" you have provided...
if you know how to help then do.
I am unsure of how it really works
Then do some reading, play with samples and come back when you have specific questions.
Then you should have posed the question in a form that would requires a "yes" or "no" answer.
Your original post could not be answered meaningfully with "yes" or "no".