DEBUG on P2
JimFouch2
Posts: 26
Not sure if I'm doing something wrong, but can't seem to get the DEBUG functions to work on Prop Tool 2.4.1
When I try to run this sample program...
When I press Control+F10 to load & Run in Ram I get a message box stating there is no Propeller 1 is found.
It does find the P2 and programs it but the code seems to stop where the debug statement is.
Not sure if I'm misunderstanding how debuging works on the P2.
When I try to run this sample program...
'#ifndef __P2__ '#error this demo is for P2 only '#endif ' ' blink in Spin ' con _clkfreq = 160_000_000 pin = 56 delay = _clkfreq / 4 pub demo() | when when := getct() + delay repeat pintoggle(pin) ' if debug is enabled, print the next cycle debug(udec_long(when)) waitct(when) when += delay
When I press Control+F10 to load & Run in Ram I get a message box stating there is no Propeller 1 is found.
It does find the P2 and programs it but the code seems to stop where the debug statement is.
Not sure if I'm misunderstanding how debuging works on the P2.
Comments