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 CCS Technical Support

Transfering data from external eeprom to a PC

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







Transfering data from external eeprom to a PC
PostPosted: Wed Apr 02, 2003 10:15 am     Reply with quote

Hi all
I am thinking about reading data from an external eeprom using a serial port. This is part of a Uni project and I realisticly only have 2 days in which to complete this project. Can it be done? How do I recive data on the PC? What type of serial cable do i need? How do I send the data from the PIC(a 16F877)?

Thanks
Chris
___________________________
This message was ported from CCS's old forum
Original Post ID: 13312
Neutone



Joined: 08 Sep 2003
Posts: 839
Location: Houston

View user's profile Send private message

Re: Transfering data from external eeprom to a PC
PostPosted: Wed Apr 02, 2003 10:39 am     Reply with quote

:=Hi all
:=I am thinking about reading data from an external eeprom using a serial port. This is part of a Uni project and I realisticly only have 2 days in which to complete this project. Can it be done? How do I recive data on the PC? What type of serial cable do i need? How do I send the data from the PIC(a 16F877)?
:=
:=Thanks
:=Chris

Thats a lot of details to what you want to do. You can't develop that in 2 days. Your fastest development path would be to find a freeware programm for the PC. That gives you your man machine interface. Use a MAX232 to change rs232 to logic voltage levels. Impliment support in the pic and your done. Look through the forum and you may find some examples for transfering packets to and from a pic. A widely supported and well documented protocol you might use is modbus.
www.modbus.org
___________________________
This message was ported from CCS's old forum
Original Post ID: 13314
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

Re: Transfering data from external eeprom to a PC
PostPosted: Wed Apr 02, 2003 10:41 am     Reply with quote

:=Hi all
:=I am thinking about reading data from an external eeprom using a serial port. This is part of a Uni project and I realisticly only have 2 days in which to complete this project. Can it be done? How do I recive data on the PC? What type of serial cable do i need? How do I send the data from the PIC(a 16F877)?
:=
------------------------------------------------------------

CCS has an example file called EX_EXTEE.C, which does
exactly what you want. You can find it here:
c:\Program Files\Picc\Examples

The CCS FAQ page has a schematic showing how to connect a PIC
to a PC, using a MAX232 chip. (You could use MAX232A and only
have to use 0.1 UF caps, instead of 1 UF).
<a href="http://www.ccsinfo.com/faq/?6" TARGET="_blank">http://www.ccsinfo.com/faq/?6</a>
Also, you would use pins C6 and C7 on the 16F877 instead of
A2 and A3. (Pin C6 would go to pin 11, and pin 12 would go
to pin C7).

___________________________
This message was ported from CCS's old forum
Original Post ID: 13315
Shane Rowell
Guest







Re: Transfering data from external eeprom to a PC
PostPosted: Wed Apr 02, 2003 11:56 am     Reply with quote

Chris,

If you send me a detailed message on exactly what you are trying to do, I may be able to help. Depending on the size of the eeprom the approach may differ. Please indicate all manufacturers part #'s.

Shane



:=Hi all
:=I am thinking about reading data from an external eeprom using a serial port. This is part of a Uni project and I realisticly only have 2 days in which to complete this project. Can it be done? How do I recive data on the PC? What type of serial cable do i need? How do I send the data from the PIC(a 16F877)?
:=
:=Thanks
:=Chris
___________________________
This message was ported from CCS's old forum
Original Post ID: 13319
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