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

Ccsload File status CORRUPT for PIC24

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



Joined: 07 Aug 2017
Posts: 1

View user's profile Send private message

Ccsload File status CORRUPT for PIC24
PostPosted: Mon Aug 07, 2017 2:44 am     Reply with quote

I have compiled a small test program to PIC24 with ccs version 5.008 and there is no errors.

But when i load into ccsload version 5.043, it says File status CORRUPT.



When I make a small program to pic16 or pic18 everything is ok.

main.c


main.h


Any idea ?
Ttelmah



Joined: 11 Mar 2010
Posts: 19504

View user's profile Send private message

PostPosted: Mon Aug 07, 2017 6:17 am     Reply with quote

5.008, was only a beta version of V5 at best.

Now it suggests something in your code is possibly trying to write to a memory address that this is accepting, but the later compiler is not.

Are you using anything like a #ROM statement, or trying to write to the config words?.

The address where it is going wrong, is just below the flash config words.

If posting code, post it using the code buttons, as text, not as pictures. Using the picture means we have to type it back in.

Using 5.009 (the earliest I kept, since before this the compiler didn't basically work), it compiles and loads OK on the current CCSload.
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