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.
hi i have one txt file, containing the times and some symbols code, i want to read it using Atmel89S51, the txt file is in my PC, but i want to save it on RAM/Mu or any other storage media, how can i do it
the pattern of txt file is like this day , Symbol code 1, time 1, symbol code 2, time 2 .............
0,12:00,0,12:00,0,12:00,0,12:00,0,12:00 0,12:00,0,12:00,0,12:00,0,12:00,0,12:00 : : : 0,12:00,0,12:00,0,12:00,0,12:00,0,12:00
each line is, for one day, so it will be, 365 lines, or 366 the "," and ":" are not necessarily it may be like this
0120001200012000120001200 ------------ using storage media, which is suitable, and how can i do it or any other Atmel Mc having a large number of RAM, where is create a text array the requirement is to save data at one time, then read it, i mean no need to rewrite/update.
i m Using C
Best is to either use EEPROM (external I2C or SPI-connected or better a processor with EEPROM internally) or select a processor that allows you to perform In Application Programming (IAP) so you can store the data in the code flash I do not know about 'best', I'd use a parallel flash (you can get 2 Mbyte for ~$3).
Erik