I have this simple code stored as my _BOOT_P2.BIX file on my SD card.
_blueled = 29 ' 1=ON
entry drvnot #_blueled '
waitx ##20_000_000 'delay
I have a blue led connected on P29 via a 5K to ground on my P2D2 board.
I note when I plug into the USB (for power) that the SD program loads and runs.
BUT, the led flashes about 1/2s on and 1/2s off for a few seconds before it flashes randomly for a really short time, and then flashes constantly at about 1s on and 1s off. It looks like the board is resetting. Maybe its a power issue from the USB computer port.
I haven't had time yet to check on the P2-EVAL board yet and just on way out.
Its probably just the power from the laptop causing this, but I want to be sure. Can anyone test this on either P2D2 or P2-EVAL (change led to P56 on P2-EVAL) to confirm its working ok.
Sorry, but time is short for the ROM code so I want to be sure.