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

Search found 3 matches
CCS Forum Index
Author Message
  Topic: PIC16F785 EEPROM read and write not working
jmartinstro

Replies: 4
Views: 6228

PostForum: General CCS C Discussion   Posted: Thu Nov 09, 2006 4:30 am   Subject: PIC16F785 EEPROM read and write not working
I take back what I said about the read_eeprom(). It's using incorrect
register addresses for the 16F785. I installed your version of the
compiler and looked at the .LST file. Also, the write ...
  Topic: PIC16F785 EEPROM read and write not working
jmartinstro

Replies: 4
Views: 6228

PostForum: General CCS C Discussion   Posted: Wed Nov 08, 2006 2:26 am   Subject: PIC16F785 EEPROM read and write not working
I don't see anything wrong with the read_eeprom() ASM code.
Your union is a little strange. You have a union between a 16-bit
bit value (2 bytes) and an array which is 4 bytes.

You don't rea ...
  Topic: PIC16F785 EEPROM read and write not working
jmartinstro

Replies: 4
Views: 6228

PostForum: General CCS C Discussion   Posted: Tue Nov 07, 2006 10:31 am   Subject: PIC16F785 EEPROM read and write not working
My code for PIC16F785 EEPROM read and write not working.
Compiler 3.225

A code fragment is as follows:

union Calibration
{
int16 Cal_Voltage;
BYTE Ical[4];
}Calib;

void Write_V ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group