flotulopex
- 23rd December 2006, 11:24
Experiencing some trouble with my programmers, I want to program my PIC "manually".
The idea is to use another PIC as a programmer and send bitwise the whole programming sequence.
In this example, I will use the 16F88's Chip Erase sequence (ChipErase_Timing.JPG).
The code would look something like this:
...
HIGH MCLR 'Enter Program Mode
HIGH DATA 'Start programming sequence
HIGH CLOCK 'First High clock signal
LOW CLOCK 'First Low clock signal
HIGH or LOW DATA '
...
and so on.
A.- Is it possible to do it this way?
B.- The ChipErase command is "11111" Command_Mapping.JPG); what would be the full "bits chain"? Could it be "11111111111" (I don't show the clock bits).
The idea is to use another PIC as a programmer and send bitwise the whole programming sequence.
In this example, I will use the 16F88's Chip Erase sequence (ChipErase_Timing.JPG).
The code would look something like this:
...
HIGH MCLR 'Enter Program Mode
HIGH DATA 'Start programming sequence
HIGH CLOCK 'First High clock signal
LOW CLOCK 'First Low clock signal
HIGH or LOW DATA '
...
and so on.
A.- Is it possible to do it this way?
B.- The ChipErase command is "11111" Command_Mapping.JPG); what would be the full "bits chain"? Could it be "11111111111" (I don't show the clock bits).