Problem with serial communications between ATmega128 and PC
I have used WinAVR and Peter Fleury's interrupt controlled uart library successfully in the past with the STK500 board and the AT90S8515 and ATmega16 devices. Moving on to a bigger project I purchased the STK501 board with an ATmega128. Connecting it to the STK500 I can program the device with the default xmas_tree_leds_flashing program so I assume it is working OK. However, trying out a simple test_uart program I get nothing out of the serial port. I have fiddled with fuses, clocks, pins etc. and still nothing. There is probably something here that I have not understood, some setting or connection that I should do and am not doing.
My setup:
- STK500+STK501 with the ATmega128 device
- default settings on all jumpers both boards
- RS232 spare pins to PD0 and PD1 on STK500 (assume this still works with STK501/ATmega128 combo) - listen to PC com port with Bray's terminal application at 9600 baud - internal clock for device (no external osc) have tried all settings available on AVRStudio (latest version 4.12 - build 460) from 1 to 8 MHz. My suspicion is that the 501 board uses another port for serial comms other than portD or requires some other jumper? / connection? than the default one.
Someone must have the same parts as I do and hopefully has this working. Please give me some pointers on what I should look into.
Thank you