debugging on HYDRA
phillip v
Posts: 48
Hi, I have a HYDRA and was working my way threw the book... on page 93 under the tip box it talks about hooking a lcd to the expansion port for debugging... has anyone dune this???? this sounds like a veary handy debugging tool.... I know I'de love to have one, but its ben a little while since I've made anything myself and I'm just getting back into programming...
Comments
Viewport http://forums.parallax.com/showthread.php?p=668993
or
PropTerminal http://forums.parallax.com/showthread.php?p=649540
Regards,
Coley
What sort of things were you thinking of doing with a debug display?
Post Edited (phillip v) : 10/22/2007 2:11:56 PM GMT
A couple of points ...
1) Assembly language programs exist when they run as what's called machine code ... just 32-bit numbers that the hardware knows what to do with. These run in the COGs. It would be possible for someone to write an assembly language debugger, but it would be pretty complex. There's a PC program called GEAR that's available here (http://forums.parallax.com/showthread.php?p=624986) that simulates a Propeller and might be the sort of thing you want.
2) Spin programs reside in the HUB memory and are interpreted (like what the Stamps do) by a Spin interpreter that's running in a cog and loaded from on-chip ROM automatically. GEAR knows about Spin code too.
I'm allso thinking of getting the Basic stamp activity kit, I've worket with the stamp2 befor but I think I need a refreasher in programming microprocessors....
Post Edited (phillip v) : 10/22/2007 4:42:07 PM GMT
Post Edited (phillip v) : 10/22/2007 8:13:43 PM GMT