On 10/7/05, Chen Xiao Fan <
xia...@sg.pepperl-fuchs.com> wrote:
>
> PICkit 2 has one mystery button and 2x64KB 24LC512
> EEPROMs for future use. Maybe it is time to demystify
> this puzzle. ;-)
>
> What is the intention for this button and the EEPROMs?
> Last time we have a discussion on PIClist and we guess
> that it will be used to store and hex file and start the
> programming/verification process. Is this correct?
I think it could be used for this, but the PICkit would still need to
be connected to a computer for power. ( or an Altoids tin:
http://www.chrisdiclerico.com/2004/10/24/ipod-altoids-battery-pack-v2
)
When I was in Arizona this weekend I stopped by the Microchip factory
at Chandler. Dan Butler was gone, unfortunately, but Steven Bible
talked to me for a while about the design of the PICkit 2. I didn't
get the impression that those EEPROMs are dedicated to anything in
particular. They just increase the flexibility of the PICkit 2
platform.
If you study the PICkit 2 schematic, several of the programming lines
are connected to analog inputs. So one possible applicaition would be
a signal analysis / data logger application similar to the PICtail
signal analysis daughter board:
http://microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en020777
The button will also trigger the bootloader if pressed during
power-up. This should be handy for experimentation!
> Another possibility I am thinking of is like Basic
> Stamp. We can put a rather big byte code interpreter
> (basic/C/pascal/...) inside and use the EEPROMs to
> store the byte code.
I vote for Python! I guess no-one's ever made a "py-machine" before.
> Another question is the future support for 18J device.
> Since the PGC/PGD generated by PIC is about 5V, is
> this okay for the 18J device or the future dsPIC33
> device. Vdd/Vpp can be adjusted in PICkit 2.
I believe support for more devices is planned.
> There is an AUX pin for the ICSP socket as well. It
> does not take part in programming. What is the
> potential use of the AUX pin?
There are a *lot* of potential uses of that pin, and the other,
"programming" pins. Look carefully at the schematic. A lot of
thought was put into it.
I spent a few hours trying to get PyUSB to work tonight. I could
write to, but not read from, the PICkit. There are more fun things to
work on, so I am going to abandon PyUSB integration for now.
My next steps are to get bootloading working, and set up the toolchain
to rebuild the firmware.
Regards,
Mark
markrages@gmail
--
You think that it is a secret, but it never has been one.
- fortune cookie