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

Write_Program_Memory command:)
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
garyzheng



Joined: 22 Jul 2004
Posts: 25

View user's profile Send private message

my packet size is small and is only 10-15 chars.
PostPosted: Tue Aug 10, 2004 2:00 pm     Reply with quote

I had tought about this question, I write the data from 0x0d00 to 0x0e00,
According the datasheet, i can write 16 chars from 0x0d00 to 0x0d10.

So I don't think the data I stored will exceed the page limit.
bdavis



Joined: 31 May 2004
Posts: 86
Location: Colorado Springs, CO

View user's profile Send private message

PostPosted: Tue Aug 10, 2004 9:55 pm     Reply with quote

I'm not sure if you need to write the page size - I remember some bootloader code was writing 64 bytes at once. It would be worth a try. If you only need to write a few bytes, you could do a read of 64 bytes modify with the few bytes, then write the full page size. If you get it working, please post it - I would think the example code for the bootloader would work. Also - probably worth reading the app note on doing this from microchip - has some good info, and can be chip specific.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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