Hi-
I'm using a PICF877A (but may switch to PIC18LF452) and external eeprom 24C256.
I have a hex file (it represents some analog signals) on my PC (notepad) about 200 lines long.
I need to load this hex file onto the eeprom.
I've done alot of reading on this forum (THANK YOU!) about the I2C protocol of getting from PIC to eeprom, but I'm not sure how to get the original file onto the PIC in the first place.
Something about a function MEMCPY?
Any words of advice, red flags noticed, help... appreciated!
SophE
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
Posted: Mon Oct 03, 2005 11:22 am
The simplest method would probably be to send the data serially (RS232). You could probably even modify a boot loader to write to the external eeprom.
Joshua Lai
Joined: 19 Jul 2004 Posts: 42 Location: Malaysia, PJ
Posted: Mon Oct 03, 2005 11:57 pm
Convert the data in notepad into hex file using matlab. Then can program directly using ic-programmer.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum