I'm starting on a new project using the ATmega128. I have an older STK500 dev board with a STK501 daughterboard containing a ATmega128. A couple of 'getting started' questions:
1. AVR Studio v7 doesn't appear to support the STK500. But there is support for the STK600. For example, in the File -> New -> Example Project the STK600 is among the listed boards. Any suggestions on what I need to modify in order to port an existing STK600 project to the STK500?
2. In the meantime, I created a new GCC C executable project (File -> New -> Project) that simply contains a empty main() function, then added some looping code to flash the LEDs on the STK500. That simple code works. But now I want to run the debugger on that working code. In AVR Studio the 'Start Debugging' icons are active but when I click on it, after the code is built, I don't see a yellow arrow at the first line in main(). In AVR Studio, in the command bar I see my target CPU = 'ATmega128' and next to it, 'ISP on STK500'. So it seems my target connection is good (note that I can manually program my program into flash OK.) What am I missing in order to debug on the STK500? Should the debugger program the flash first then jump to the start of main and halt?