Debug Uart on Pins P30, P31
Gavin
Posts: 134
The Propellor Editor/Development software uses the boot uart on port pins P30, P31.
It would be nice if the next version on the software could have a popup serial terminal window on these pins.
This would make a useful debug serial port without using up more pins or adding extra hardware.
Gavin
·
It would be nice if the next version on the software could have a popup serial terminal window on these pins.
This would make a useful debug serial port without using up more pins or adding extra hardware.
Gavin
·
Comments
-Martin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hebel
StampPlot - Graphical Data Acquisition and Control
AppBee -·2.4GHz Wireless Adapters & transceivers·for the BASIC Stamp & Other controllers·
Any time frame for the"upcoming" new Propeller tool?
Gavin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
~~Brian
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
~~Brian
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Bonzer mate.
Next question, when is the Spin compiler coming?
Gavin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Just wondering if Spin can be compiled to Prop assembly so it does not run 250 times slower.
Not sure how the ROM Spin intepreter works, token based?
I should be getting the Hydra book and prop manual tomorrow, I find it hard to learn from the pdf manual.
Have lots to learn yet on coding this beast. Most questions are from near total ignorance.
Gavin
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
as the "current loop" fits in the cog, it runs at (near) assembly speeds. (I say (near) only because the compiler is not
very smart right now and doesn't do a good job optimizing expressions, so there are too many move instructions.)
I will probably have something ready to share by February.
It's really only a prototype, but it should be possible to use the same ideas and target other languages like C and
even Spin.
I ocassionally scan the forums when I'm not writing. It just so happens that very first project in my upcoming Propeller book will show you how to alternate between the IDE and HyperTerminal. In fact between Chapters 1 & 2, I cover several debug methods that also include multiple displays and communications devices.
After working in-depth with the Propeller for almost a year, my personal observation is that the is so much flexibility already built into the Propeller, that implementing a debugger to a single output can be done in under 10 lines. Outputting to multiple devices can be accomplished in about 15 lines and without any loss of format capability. I think adding a debug Window would run the risk of imposing restrictions that aren't really necessary.
In any case, with a little luck you can look for this book to be available early summer from Parallax directly.
Regards,
Oliver