CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

hex file on PC-->PIC-->eepom

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
SophE
Guest







hex file on PC-->PIC-->eepom
PostPosted: Mon Oct 03, 2005 11:11 am     Reply with quote

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

View user's profile Send private message Send e-mail

PostPosted: Mon Oct 03, 2005 11:22 am     Reply with quote

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

View user's profile Send private message Send e-mail

PostPosted: Mon Oct 03, 2005 11:57 pm     Reply with quote

Convert the data in notepad into hex file using matlab. Then can program directly using ic-programmer.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group