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

Can you write to Program Memory while the PIC is running?

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



Joined: 09 Oct 2007
Posts: 62

View user's profile Send private message

Can you write to Program Memory while the PIC is running?
PostPosted: Wed Apr 09, 2008 4:15 pm     Reply with quote

PIC16F690-ICD / ICD2 / PCM 4.060

Using the write_program_memory function or any other function? I need to take in a 520 byte command string. Thanks!
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Apr 09, 2008 4:28 pm     Reply with quote

Look in the 16F690 data sheet, in section 10.0.
http://ww1.microchip.com/downloads/en/DeviceDoc/41262E.pdf
Look in the table of contents on the left side in the Acrobat reader.
If a PIC can write to Flash Program Memory, the data sheet will
very prominently have sections on Writing and Erasing that memory.

Compare that data sheet to the 16F88. Look in section 3.0
and see what it shows in the table of contents:
http://ww1.microchip.com/downloads/en/DeviceDoc/30487c.pdf
ThomasC



Joined: 09 Oct 2007
Posts: 62

View user's profile Send private message

PostPosted: Wed Apr 09, 2008 4:48 pm     Reply with quote

Thanks so much. I just read the data sheet right before I read your comment. I also tried the write_program_memory and it didn't work and the read_program_memory did. Thanks for the confirmation.

*solved*
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