No debugger?
I have read somewhere that the Propeller has no debugger.
Does it have at least the DEBUG output as in BasicStamp ?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Does it have at least the DEBUG output as in BasicStamp ?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
I would bet money that Chip has put some debugging suggestions at least in the official documentation.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Martin Hebel
Perform an Employer's Survey of Electronic Technologies Graduates· - Click here!
Personal Links with plenty of BASIC Stamp info
and SelmaWare Solutions - StampPlot - Graphical Data Acquisition and Control
Post Edited (Martin Hebel) : 3/7/2006 6:06:07 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Cheers, Chris
z~··· clear z to 0 (false)
z~~·· set z to -1 (true)
<-··· bitwise rotate left
Many of the operators are combined with assignment as in other languages:
x //= 5 is the same as x = x // 5
In truth, I did nothing but assemble the code; the routines were created by Chip.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
elseif z or i == 1
interperted as elseif z or (i == 1)
or as elseif (z or i) == 1
I almost always use () since I don't trust my memory on how this particular language does it.
· elseif z or (i == 1)
because the == operator has higher precedence than or.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Under "normal" circumstances, precedence would, indeed, make the order clear, but with our experience with the Stamp's interpretation...[noparse]:)[/noparse]
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
Post Edited (Paul Baker) : 3/8/2006 6:48:48 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
[code]
You may also use a modified version of Dave's sample 04 (see http://forums.parallax.com/showthread.php?p=574524) to display various information on a video screen.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
yes, I absolutely agree - a video monitor together with some code like your EXAMPLE 09 is the most valuable debugging tool for the Propeller (much more informative than blinking LEDs). Thank you for posting this example.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
I think Parallax needs to get ready to sell lots of monitors.· Thanks for the support.
Dave
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
What do the display specs need to be to run directly from a Propeller ?
Thanks,
Chris
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
After using Jon Williams' debug object for awhile, I found that I needed something simpler yet: just a self-contained object that twiddled an output pin directly -- no inputs -- and provided an inverted signal that would drive my PC's RxD pin without additional circuitry. Here's the result:
My PC works fine with the Propeller's 0 and 3.3V signal levels (in lieu of -10 and +10), but this may not work for everyone.
-Phil
Post Edited (Phil Pilgrim) : 3/18/2006 5:15:39 AM GMT
Just started to get my Propeller chips up and running ( Been using javelin and BS2's for a while.)
I used the PC_Debug example ( From N&V) running at 460,800bps and it works fine. Running at 9600bps, the output stops with a corrupt character in hyperterminal. Any-one experienced any issues running at a lower speed?
Any help much appreciated,
Mike
PS - I really want to get this running as I am (still) putting together and Videocamera remote controller. 2 cogs will be Sony LANC to controll video cameras, 1 cog for PWM for the Pan/Tilt controller, and I will still have cogs left over for user interface, debug, etc. This is the answer to my dreams. ( LANC is serial at 9600bps - with some twists, which is why I am trying things out at a lower speed.)
I'm using the I2C object with the Matrix Orbital LK202-25 which Parallax sells (although I don't know if the Parallax version has the I2C Interface). This allows me to extend the interface the EEProm is connected too and have debug output without using any additional pins. I'm working on a SPIN object that will support the LK202-25 I2C Commands. This little device also allows a 5x5 keybpard to be attached to it allowing LCD output and keyboard input without using additional Propeller pins. I use this very setup throughout Embedded Systems Desktop Integration with the BASIC STAMP. I'm currently porting that over to the propeller. When completed there will be a debug supervisor that will hopefully offer single step, register display, and some other goodies for assembly program debugging.
Regards,
Oliver