On Dec 7, 2008, at 1:44 PM, Tony Duell wrote:
I don't know PIC, but for the AVR equivalent the
host
requirements are an
RS-232 port and the ability to run gdb.
Later PICs have on-chip breakpoint debug communication via ICD (a 3-
wire interface)--and there is the ability to run ICE4000.
There is at least one AVR open-source debug package that operates
through the SPI programming interface--using the same tool to program
and debug.
Can you program and debug either or both of these chips without
propietary hardware or software. In other words, is documentation
for the
following availalbe (without signing an NDA, etc )
1) How to send/receive words to the chip (what lines to wiggle and
how,
what voltages to apply, etc)
2) The binary instruction set
3) THe debugging commands/responses
Could I, if I wanted, make the programmer and write the software from
scratch?
(just jumping in)
You can for PICs, most mcs51 variants, most ARM
implementations...and probably AVR as well, but I've not used them
myself so I can't say for sure.
With all respect, modern microcontrollers are not as inaccessible
and closed-down as you think.
-Dave
--
Dave McGuire
Port Charlotte, FL