Just a warning to others, the C027 doesn't seem to like running without the USB socket powered up.
The most obvious flaw can be seen on the schematic, the reset button only goes to a part powered by the USB bus which then controls the CPU reset. This means that if the USB interface isn't powered up the reset button doesn't work.
I've also seen some odd results with applications that don't use the USB port running fine with the USB connected for startup and then disconnected but crashing if the USB is never connected. Hello world doesn't have this issue so it is application dependent. My best guess / random speculation as to the cause is that things aren't getting a clean power on reset.
There is a simple work around to this, just connect the output labeled 5V on the side of the board to pin 1 on the USB socket (the square pin) and the board supplies power to it's own USB interface and everything works fine.
A switch on that connection is probably a good idea, you don't want to supply 5V and then also connect a USB cable, nasty things can happen when two things try to drive the same power rail.
Since USB power only seems to be needed for startup or the reset button you could instead use a momentary button rather than a switch and hold it down when connecting the main power without USB connected.
Just a warning to others, the C027 doesn't seem to like running without the USB socket powered up.
The most obvious flaw can be seen on the schematic, the reset button only goes to a part powered by the USB bus which then controls the CPU reset. This means that if the USB interface isn't powered up the reset button doesn't work.
I've also seen some odd results with applications that don't use the USB port running fine with the USB connected for startup and then disconnected but crashing if the USB is never connected. Hello world doesn't have this issue so it is application dependent. My best guess / random speculation as to the cause is that things aren't getting a clean power on reset.
There is a simple work around to this, just connect the output labeled 5V on the side of the board to pin 1 on the USB socket (the square pin) and the board supplies power to it's own USB interface and everything works fine. A switch on that connection is probably a good idea, you don't want to supply 5V and then also connect a USB cable, nasty things can happen when two things try to drive the same power rail. Since USB power only seems to be needed for startup or the reset button you could instead use a momentary button rather than a switch and hold it down when connecting the main power without USB connected.