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

Programming the 18LF2620

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



Joined: 25 Nov 2004
Posts: 30
Location: Germany

View user's profile Send private message

Programming the 18LF2620
PostPosted: Tue Mar 28, 2006 2:06 am     Reply with quote

Hello,

I want the 18LF2620 to get started. I have already worked with 18F458 and 18F258. I am using the bootloader, which PICC has in its package. Now I changed the used device to 18F2620 (include "18F2620.h") und tried to compile, but there is an error:

The bootloader includes "loader.c". In this file there is the command

Code:

erase_program_eeprom(addr)

which works well with the other PICs but not with 18F2620. I deleted that line and compilation is successful. But programming the PIC without (erase_...) is not successful.

Can someone help me?

For testing just the program that I want to be executed on the PIC, I programmed it directly, without a bootloader. Isn't that correct? It doesn't work.

I also added some lines to the bootloader which shall switch a LED on. It doesn't work.

Can someone help me? Has someone a little test program, which works with the 18F2620? Or a working bootloader? Unfortunately I cannot upload my code, because it is not on this computer. I will upload it later. Maybe someone can help before that?

I would be very thankful for help. The PIC does not communicate with me and so I don't know where is the mistake.

Best wishes, pom

Oh, I forgot:
I do the programming of the bootloader with the MPLAP ICD2. The corresponding software says, that programming is successful.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue Mar 28, 2006 1:44 pm     Reply with quote

What is your compiler version ?
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