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

Field test my code

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







Field test my code
PostPosted: Mon Apr 07, 2003 2:46 pm     Reply with quote

I am using CCSC and MPLAB 6.13

Once I got my code running in the PIC's memroy, how can I burn it to the EEPROM of PIC18C8620 so that it will run automatically when the power is applied to it?

I checked the option of Programmer->Setting->Program->EEPROM, but it doesn't seem to have any effect.

Thanks!
___________________________
This message was ported from CCS's old forum
Original Post ID: 13470
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

Re: Field test my code
PostPosted: Mon Apr 07, 2003 3:37 pm     Reply with quote

:=I am using CCSC and MPLAB 6.13
:=
:=Once I got my code running in the PIC's memroy, how can I burn it to the EEPROM of PIC18C8620 so that it will run automatically when the power is applied to it?
:=
:=I checked the option of Programmer->Setting->Program->EEPROM, but it doesn't seem to have any effect.
---------------------------------------------------------

You are confusing Program Memory with Data EEPROM. They
are different. The code that is produced by the CCS compiler
is programmed into the Program Memory.

In the Settings window, you normally should have all of
the boxes selected. ie., Program Memory, Configuration Bits,
ID Locations, etc., should all be selected.

Also, you said you're using an 18C8620. I think you mean
18F8620.

1. First, compile your program.
2. Click on "Configure" and "Select Device". Set it for your
PIC.
3. click on "Select Programmer" and select your programmer.
4. Then click on "Enable Programmer".
5. Then click on "Program".

That should do it.

(This assumes that you have configured MPLAB for the proper
COM port for your programmer)
___________________________
This message was ported from CCS's old forum
Original Post ID: 13471
Chen
Guest







Re: Field test my code
PostPosted: Wed Apr 16, 2003 8:20 am     Reply with quote

:=:=I am using CCSC and MPLAB 6.13
:=:=
Thanks for your reply.

I enabled all the options and follow your steps (step4 is no clear to me, so i skip it), MPLAB programed both program memory and EEPROM, but I don't think the program runs (it still runs when invoked from MPLAB's environment)

:=:=Once I got my code running in the PIC's memroy, how can I burn it to the EEPROM of PIC18C8620 so that it will run automatically when the power is applied to it?
:=:=
:=:=I checked the option of Programmer->Setting->Program->EEPROM, but it doesn't seem to have any effect.
:=---------------------------------------------------------
:=
:=You are confusing Program Memory with Data EEPROM. They
:=are different. The code that is produced by the CCS compiler
:=is programmed into the Program Memory.
:=
:=In the Settings window, you normally should have all of
:=the boxes selected. ie., Program Memory, Configuration Bits,
:=ID Locations, etc., should all be selected.
:=
:=Also, you said you're using an 18C8620. I think you mean
:=18F8620.
:=
:=1. First, compile your program.
:=2. Click on "Configure" and "Select Device". Set it for your
:=PIC.
:=3. click on "Select Programmer" and select your programmer.
:=4. Then click on "Enable Programmer".
:=5. Then click on "Program".
:=
:=That should do it.
:=
:=(This assumes that you have configured MPLAB for the proper
:=COM port for your programmer)
___________________________
This message was ported from CCS's old forum
Original Post ID: 13709
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