![](templates/subSilver/images/CCSLogo.jpg) |
![CCS C Software and Maintenance Offers](templates/subSilver/images/forumAd6.jpg) |
View previous topic :: View next topic |
Author |
Message |
Chen Guest
|
Field test my code |
Posted: Mon Apr 07, 2003 2:46 pm |
|
|
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 |
|
![](templates/subSilver/images/spacer.gif) |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
Re: Field test my code |
Posted: Mon Apr 07, 2003 3:37 pm |
|
|
:=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 |
|
![](templates/subSilver/images/spacer.gif) |
Chen Guest
|
Re: Field test my code |
Posted: Wed Apr 16, 2003 8:20 am |
|
|
:=:=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 |
|
![](templates/subSilver/images/spacer.gif) |
|
|
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
|