I'm currently learning about MCUs in school (read: n00b) and I'm trying to fool around with the equipment at home. Problem is that I only have a netbook and don't have any serial IOs on it, so I have to make due with a USB connection. The MCU is a Z8 Encore! 64K Series Z8F6423. But to hook up a output i have to hook it up to a filter board that my school built (i think), which I have photographed and uploaded to the album below. To power the filter board, it's hooked up to a Spartan-3 FPGA board which also is in the picture.
I'm trying to program the MCU to output a simple "Hello World!", but instead of sending it through UART0, I'm trying to send it through the GPIOs, into another board my school made, which then should output it through a USB cable. The USB should be visible in the pictures here: album
My question is simply, how do I send the output through the GPIO to the USB, which then should show up in PuTTY on my laptop? Is this possible for you to answer, or do you have to know the exact schematics of the filter board? Based on the code below, it is sending the signal through the UART0, but where should I send it if I want it to go through the GPIO?
The program is as simple as this:
#include <eZ8.h>
#include <sio.h>
void main() {
init_uart(_UART0_DEFFREQ,_DEFBAUD); // set-up UART0 to 57600, 8n1
printf("hello world\n");
do {} while (1 != 2); // stay here forever
}