Self clocking protocol for micro debugging?

Hi, Tried googling on this, but predictably everything is way too complex. I'm looking for a simple, low speed (few hundred b/s would do it) self-clocking protocol that I can use to dump debugging data from tiny micros that are under test. Single line, tolerant to uncertain clock frequencies and not too complex because the Tx end doesn't have huge amounts of program memory available. Any suggestions before I go and develop my own?

Reply to
Bruce Varley
Loading thread data ...

if your clock is reasonably stable you could probably use asynchrononous serial (like rs-232)? the worse you clock is the fewer data bits you can fit.

morse code?

what attaches to the other end of the wire?

Bye. Jasen

Reply to
Jasen Betts

Freescale (ex Motorola) BDM perhaps? I have no idea whether you would consider that to be too complex though.

Andy Wood snipped-for-privacy@trap.ozemail.com.au

Reply to
Andy Wood

Morse code? not that silly.

you can do a lot with a single output pin, a LED and a resistor. Was what I used for many years to debug micros.

or spit a serial stream at a serial LCD, if you want some sort of dump. let the serial lcd gobble up most of the hard coding, and memory overhead. but then, this may not confirm to your uncertain clock frequencies.

Cheers Don...

--
Don McKenzie

Site Map:            http://www.dontronics.com/sitemap
E-Mail Contact Page: http://www.dontronics.com/email

http://www.dontronics-shop.com/super4-usb-relay-module.html
http://www.wizard-from-oz.com 1000\'s of electronic items
Reply to
Don McKenzie

. . .

. . .

Indeed. Look how some people have got their hands on the firmware for a device like a camera by managing to load into it their own program which does nothing more than blink some existing LED indicator. EG "Hardware-software solution" at

formatting link
(Canon cameras).

Andy Wood snipped-for-privacy@trap.ozemail.com.au

Reply to
Andy Wood

Dallas/Maxim 1-Wire would have to be a good choice here.

formatting link
Should be plenty of code available for your chosen device and language.

Dave.

Reply to
David L. Jones

Manchester LIN - just use the basics, not the whole shebang.

Reply to
dmm

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.