Arduino Mega 2560 with winavr problem

ChibiOS public support forum for topics related to the Atmel AVR family of micro-controllers.

Moderator: tfAteba

Post Reply
jscott
Posts: 129
Joined: Tue Jul 03, 2012 3:50 pm

Arduino Mega 2560 with winavr problem

Post by jscott »

Is anyone here using the Arduino Mega 2560 with winavr?

This is not using the Arduino software package, just the hardware....

I am trying to get the Arduino Mega Demo to run on the 2560.
I build the demo.... Looks good.....
I download it to the 2560 with avrdude... Looks ok....
I check to see if the LED is blinking at 1Hz.... WAAAIT a moment....

It is blinking in a pattern of ON... short off... ON.... longer off.... rinse.. repeat...

I can still go back and load Arduino Sketches and it works fine so I know the hardware is OK.

I have tried changing the code in main.c in many ways to try and diagnose this, but
no joy so far.

Anybody else doing anything with this hardware that can load it up and make sure it works?
Using Chibios 2.5.1unstable from ChibiStudio

-John
jscott
Posts: 129
Joined: Tue Jul 03, 2012 3:50 pm

Re: Arduino Mega 2560 with winavr problem

Post by jscott »

Hi all,

I have found that it is not a problem with loading code onto the board.

It looks like there is some problem with the Chibios port for the AVR Mega 2560.
I guess it is time to jump into the DEEP END and start looking over that port....

Does anyone know of a more recent windows GCC AVR port? The only one I can find
is from 2010...

-John Scott
www.atl123.com
Post Reply