A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
Hi. How would i go about transfering my EEPROM Data from the PIC to either a PC or Floppy/Memory Card? I am currently looking on the Net for info, but just wondering if anyone has done this or have any information to help me? Cheers Paul
Simplest is serial link. Bit bang it if you have to. Capture with Hyperterm. Use commas to separate data fields and you can easily import saved file into a spreadsheet. Interface is as simple as 74HC14 and some series resistors. Next easiest is using a memory card in '1bit' mode. Basically SPI. Lots of web docs out there on how to do that. Look for 'SD card PIC data logger' for lots of hits. Digikey has the card connectors. (Hirose) Big headache is that you have to write the card in FAT16 or FAT32 format for a PC to understand it without a special driver. R Paul wrote: > Hi. How would i go about transfering my EEPROM Data from the PIC to > either a PC or Floppy/Memory Card? I am currently looking on the Net > for info, but just wondering if anyone has done this or have any > information to help me? > > Cheers > Paul
HI Paul, How much data? You can probably use MPLAB, "view" the EEPROM, copy/paste it to a text editor. I have done that with the program memory view after loading hex code that I don't have the source code for (a partial disassembly). In this case you'd just have a HEX code dump; but with a little trimming with the editor you can then create an array for a source file. The file can then be assembled/compiled, and a proper hex file generated. At one time I had a utility that would generate a proper hex file from a simple trimmed HEX dump. Not too hard to write. Mostly you need to calculate the checksum and add the Intel (or whatever) format. From a HEX file you should be able to write it where ever you want. Alan KM6VV (OK, that was a mess of steps, but hopefully it gives you the idea). > > Hi. How would i go about transfering my EEPROM Data from the PIC to > either a PC or Floppy/Memory Card? I am currently looking on the Net > for info, but just wondering if anyone has done this or have any > information to help me? > > Cheers > Paul
You can read it directly from some programmers. IC-Prog will do it. Mike --- In piclist@picl..., "Paul" <paul_lav@...> wrote: > > Hi. How would i go about transfering my EEPROM Data from the PIC to > either a PC or Floppy/Memory Card? I am currently looking on the Net > for info, but just wondering if anyone has done this or have any > information to help me? > > Cheers > Paul >______________________________