Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/14/03 04:16
Read: times


 
#54693 - RE: storing strings on flash
Responding to: ???'s previous message
...or you could use the good, old index method... store an index of alphabets and the first location in flash where it occurs. You could do this in a very small piece of code while you actually download the data and store it to flash. As you mentioned, you can do the sorting outside the uC and transmit the sorted list itself, so that you don't need to worry about the sorting or the integrity of your index.

For retrieval you jump to the first occurence of the alphabet in your flash memory, and then search sequentially for the string you want. Depending on the sort of data and the availability of memory (RAM and flash), you can optimize the design of your index and the search algorithm.

I guess this method will be much easier to implement on a uC than hashing...

kundi

List of 18 messages in thread
TopicAuthorDate
storing strings on flash            01/01/70 00:00      
   RE: storing strings on flash            01/01/70 00:00      
      RE: storing strings on flash            01/01/70 00:00      
         RE: storing strings on flash            01/01/70 00:00      
            RE: storing strings on flash            01/01/70 00:00      
   RE: storing strings on flash            01/01/70 00:00      
      RE: storing strings on flash            01/01/70 00:00      
      RE: storing strings on flash            01/01/70 00:00      
         Clarification required - Suresh!            01/01/70 00:00      
            RE: Clarification required - Suresh!            01/01/70 00:00      
               RE: Clarification required - Suresh!            01/01/70 00:00      
                  RE: Clarification required - Suresh!            01/01/70 00:00      
                     clarified            01/01/70 00:00      
               RE: Clarification required - Suresh!            01/01/70 00:00      
                  RE: Clarification required - Suresh!            01/01/70 00:00      
                  problem in detailed            01/01/70 00:00      
                     RE: problem in detailed            01/01/70 00:00      
   RE: storing strings on flash            01/01/70 00:00      

Back to Subject List