I plugged my Quickstart board in today and it has stopped working. I wrote a quick program to test it and used two different computers. On the first computer, the LEDs blink correctly but the print statements are garbled. On the other computer, propload won't get past the "verify" stage.
The code running is:
Code: Select all
#include <propeller.h>
// Personal library files
#include <PropWare.h>
#include <gpio.h>
// Main function
void main (void) {
uint8_t i = 0;
uint32_t led = 1;
GPIODirModeSet(BYTE_2, GPIO_DIR_OUT);
while (1) {
__simple_printf("Hello world! %u\n", i);
led = ((uint32_t) 1) << 16;
led <<= i%8;
GPIOPinWrite(BYTE_2, led);
waitcnt(CLKFREQ + CNT);
i++;
}
}
Thanks,
David