How to make a stdout peripheral?

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Hallo, I have devolped a small LCD controller for my grhaphic display, OPB
compliant.

When I create an embedded system with edk, I can choose STDIN and STDOUT, but my
peripheral isn't between those I can choose. There is RS232, ecc. of my Spartan
3 Starter Kit.

I would make it a stdout. What should I do?

Re: How to make a stdout peripheral?
Quoted text here. Click to load it
compliant.
but my peripheral isn't between those I can choose. There is RS232, ecc. of
my Spartan 3 Starter Kit.
Quoted text here. Click to load it

1) you 'mimic' the UARTlite registers
2) you write outb() that writes to the LCD that will redirect stdout from C
program to your peripheral

Antti



Site Timeline