I'm in the process of hooking up a sd memory chip/card/slot to the
Gator board to use as a data logger.
To that end, I'm installing the " Petit FAT file system module R0.02
(C)ChaN, 2009"
and using the SPI on the ATmaga324p to communicate with the sd device.
As a tool in debugging the setup, a "Software implemented
UART module;
(C)ChaN, 2005 (
http://elm-chan.org/) " is provided.
I do not receive anything on RealTerm.
When I push the reset button on the Gator, RealTerm status light for
the TXD signal comes on breifly.
Which indicates that there is some communication happening (as TXD
coincides with reset)
In the past I could have sworn that the CTS status light came on, but
I havn't been able to replicate that for awhile.
Here is some code near the beginning of main(): (<< & >> enclose code)
<<
//Modified to run on ATmega324p at 20Mhz
PORTB = (1<<PB4); // SS high
DDRB = (1<<PB7 | 1<<PB5 | 1<<PB4); // !SS,SCK and MOSI outputs
//Modified to use USART0 pins
PORTD = 0xff; // all pullup
DDRD = (1<<PD1); // PD1 output
>>
Shortly after this, it writes :
<<
xfunc_out = xmit;
xputs(PSTR("\nPFF test monitor\n"));
for (;;) {
xputc('>');
>>
So upon pushing the reset button, RealTerm should receive "\nPFF test
monitor\n" and should show a ">" prompt after a send.
I wonder if the bootloader somehow restricts communication through the
USB fitting to using the USART feature on the ATmega324p.
Thanks