??? 04/26/05 02:16 Read: times |
#92347 - File system Responding to: ???'s previous message |
Dennis, if you're going to go that route, I'd write code to handle a FAT file system and put it in the flash memory of your device. Then include external RAM that is accessed by both -RD and -PSEN.
When your unit powers up, the code in the microcontroller's flash memory reads the CF card as a FAT file system and loads, say, FIRMWARE.HEX right into RAM. It then transfers control to that code. I started writing exactly such a beast a few months ago using SD cards. I got as far as reading the media information, the FAT table, and root directory off of the SD card and reading the first sector of a given file. Then I got busy with "real" work and haven't had a chance to finish it. But it certainly would work. That way you don't need to use a sector editor to load your firmware. Just "copy firmware.hex e:" (or whatever drive is assigned to the card reader on your PC). Regards, Craig Steiner |
Topic | Author | Date |
Compact flash for code memory? | 01/01/70 00:00 | |
not really | 01/01/70 00:00 | |
Hmmmm | 01/01/70 00:00 | |
just visualize | 01/01/70 00:00 | |
no filesystem | 01/01/70 00:00 | |
its a disk | 01/01/70 00:00 | |
Winhex does! | 01/01/70 00:00 | |
Somebody is! | 01/01/70 00:00 | |
Low-level disk editing... | 01/01/70 00:00 | |
CF is not a memory | 01/01/70 00:00 | |
A word of caution... | 01/01/70 00:00 | |
memory mapped mode | 01/01/70 00:00 | |
Mem mapped mode | 01/01/70 00:00 | |
File system | 01/01/70 00:00 | |
PCMCIA Cards.... | 01/01/70 00:00 | |
NO memory-like access! | 01/01/70 00:00 | |
Flash Cards with "2K Attribute" | 01/01/70 00:00 | |
no, no, NO | 01/01/70 00:00 | |
Jan, You are WRONG and RIGHT | 01/01/70 00:00 | |
CF or not CF | 01/01/70 00:00 | |
Sour Lemons![]() | 01/01/70 00:00 | |
Compact Linear Flash Cards | 01/01/70 00:00 | |
just a thought | 01/01/70 00:00 |