Close, but not close enough, to getting an old Atmel classic to work


hello everybody,


being  persistent <insert qualifier here>, still tinkering old at90s8515-8.
so far, have connected arduino mega 2560 intend use programmer, though icsp interface.
i connected crystal oscillator, avr doesn't have 1 , led can try blink example.

my biggest hurdle (so far) setting boards.txt chip work. have far:
s8515.name=at90s8515-8

s8515.upload.tool=avrdude
s8515.upload.maximum_data_size=8192
s8515.upload.maximum_data_size=512
s8515.upload.speed=19200

s8515.build.mcu=at90s8515
s8515.build.f_cpu=8000000l
s8515.build.board=avr_8515

at point able select board, unable compile blank sketch loads default empty loop , setup routines. side note, complains missing #include pins_arduino.h when try that. edit: figured missing build.variant, makes worse, need pins_arduino.h mapping.

i believe @ least part of settings right in boards.txt, missing build.board , said use detected avr_8515, added file.

other troubleshooting steps took attempt use avrdude, complains usb library (i on 64 bit windows 7) , winavr, seems missing front end can launch, assume either integrates other software or may command line - haven't had time delve deeper it.

i have feeling using arduino isp might simplest solution me, stuck @ being able upload sketch using programmer part.
as side note, using arduino ide upload "using programmer" gertboard raspberry pi worked fine believe hardware setup similar in case.

does have experience adding new board or 8515? maybe atmega, understand that, aside having internal clock, pin-compatible 8515.

thanks clues.

you need create pin mapping it. if there isn't 1 you're planning use, create 1 - use existing ones, , datasheet, guide. there's no deep magic there.

you may need make other changes core thouh. it's best copy arduino core user hardware folder (and remove other entries boards.txt), , start fiddling there.

i think build.board wrong. don't have option in of boards.txt entries i've written, , don't know option does. maybe that's usb error coming from?

no idea why you're getting errors relating usb avrdude - you're doing minor wrong that's leading down rabbit hole. enable verbose uploads , @ command line options it's passing avrdude.

there should no upload.speed if using isp programming.


Arduino Forum > Using Arduino > Microcontrollers > Close, but not close enough, to getting an old Atmel classic to work


arduino

Comments