Being a persistent , I am still tinkering with an old AT90S8515-8.
So far, I have connected it to an Arduino Mega 2560 which I intend to use as a programmer, though the ICSP interface.
I also connected a crystal oscillator, as this AVR doesn’t have one and an LED so that I can try the Blink example.
My biggest hurdle (so far) is setting up boards.txt for this chip to work. This is what I have so far:
At this point I am able to select my board, but unable to compile even the blank sketch that loads by default with empty loop and setup routines. As a side note, it complains about missing #include pins_arduino.h when I try that. Edit: I figured that I was missing the build.variant, but that just makes it worse, as I need the pins_arduino.h mapping.
I believe at least part of the settings are right in boards.txt, as initially I was missing the build.board and it said it will use the detected AVR_8515, which I then added to the file.
Other troubleshooting steps I took were an attempt to use avrdude, but it complains about the usb library (I am on 64 bit Windows 7) and also WinAVR, which seems to be missing a front end that I can launch, so I assume it either integrates with some other software or it may just be command line - I haven’t had time to delve deeper into it.
I have a feeling that using Arduino as ISP might be the simplest solution for me, but I am stuck at being able to upload a sketch using the programmer part.
As a side note, using the Arduino IDE to upload “using the programmer” to a Gertboard from a Raspberry Pi worked just fine an I believe the hardware setup is similar in my case.
Does anyone have any experience with adding a new board or the 8515? Maybe even the ATMega, as I understand that, aside from having the internal clock, it is pin-compatible with the 8515.
Thanks for any clues.