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

Problems with old code in memory

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








Problems with old code in memory
PostPosted: Thu Oct 06, 2005 4:03 am     Reply with quote

Hi All,

I've just been debugging some old code on my 16F877A development board. The program was quite large and complex using both internal and external ram and several ADC channels. I then programmed it with some older, smaller and more basic code to compare the functionality, but it no longer works as it did (no changes made since and compiles ok). One of the ADC channels isn't working at all, and the one the is appears to be behaving as it did when I had the previous program loaded Exclamation

Is it possible that there is some legacy code left behind somehow? Is there a way to completely wipe the whole chip (i'm using ICD-U40 and the latest IDE version).

Ed
edhaslam



Joined: 15 Jul 2005
Posts: 89
Location: UK

View user's profile Send private message

Re: Problems with old code in memory
PostPosted: Thu Oct 06, 2005 4:07 am     Reply with quote

Anonymous wrote:
Hi All,

I've just been debugging some old code on my 16F877A development board. The program was quite large and complex using both internal and external ram and several ADC channels. I then programmed it with some older, smaller and more basic code to compare the functionality, but it no longer works as it did (no changes made since and compiles ok). One of the ADC channels isn't working at all, and the one the is appears to be behaving as it did when I had the previous program loaded Exclamation

Is it possible that there is some legacy code left behind somehow? Is there a way to completely wipe the whole chip (i'm using ICD-U40 and the latest IDE version).

Ed


I've also noticed that the fuses 'warning' message no longer appears when I upload the code with the ICD.

Fuses before: #fuses HS, NOPROTECT, NOPUT, NOWDT, NOBROWNOUT, NOLVP, NOCPD, NOWRT

Fuses Now: #fuses HS,NOLVP,NOWDT,PUT

Ed
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