View previous topic :: View next topic |
Author |
Message |
nik84
Joined: 07 Mar 2011 Posts: 2
|
Trying to program PIC18F4620 using own serial bus |
Posted: Mon Mar 07, 2011 1:44 am |
|
|
Hi,
I am trying to program the PIC18F4620 using my own programmer essentially. I am using the low-voltage programming method as stated in the Flash Micro-controller programming specification and toggling PGM, PGC and PGD accordingly in order to write to PIC memory.
I am writing to memory using table write commands which consist of the 1000 command followed by a 16-bit operand. I am just trying to load a simple program into code memory which will tri-state PORT C on power up.
I am running the PIC using a 25MHz crystal in HS mode. Hence, I think I will need to program this in the configuration space of memory as well. Does someone know the exactly programming sequence required to do this?
Thanks |
|
 |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
 |
nik84
Joined: 07 Mar 2011 Posts: 2
|
|
Posted: Mon Mar 07, 2011 1:48 pm |
|
|
Thanks for the info. I will try it out. |
|
 |
|