compiling for atmega328

93 views
Skip to first unread message

code-ronin

unread,
Mar 14, 2009, 3:01:55 PM3/14/09
to Ruby Arduino Development
anybody know what needs to be done to successfully compile for the
newer chip?

i've hacked and slashed to arduino ide 0014 till it works .. but rad
starts to compile and ends up complaining about timeout

/Applications/arduino-0014/hardware/tools/avr/bin/avrdude -F -p
atmega328p -P /dev/tty.usbserial* -c stk500 -b 19200 -C /Applications/
arduino-0014/hardware/tools/avr/etc/avrdude.conf -U flash:w:MyApp.hex
avrdude: stk500_getsync(): not in sync: resp=0xf8
avrdude: stk500_2_ReceiveMessage(): timeout

JD Barnhart

unread,
Mar 14, 2009, 8:27:37 PM3/14/09
to ruby-arduino...@googlegroups.com
code-ronin,

I've been using 328p's since October (from Lady Ada) which work out of the box with arduino 12 --- I haven't had a chance to test 14.

jd

Brian Riley

unread,
Mar 17, 2009, 12:29:16 AM3/17/09
to ruby-arduino...@googlegroups.com
 the Arduino (tm) board with the 328P  in Arduino-0014 the bootloader  is running at 57600 not 19200 

speaking of other chips has anyone gotten the Sanguino/644 running on rad yet? I played with it some late last summer  and never could get it to work, I am sure it was something simple (and yes I changed the baud to 38400) but other things were pressing.
Thank you for your patronage and please feel free to contact me with any further questions you might have.

--
cheers ... 73 de brian  riley,  n1bq , underhill center, vermont
   Home of the 
      K107 Serial LCD Controller Kit    FT817 Power Conditioner Kit 
      Tab Robot Laser Tag Kit             MSP430 Chips and Connectors
      Propeller Robot Controller          Freeduino/Sanguino systems







code-ronin

unread,
Mar 17, 2009, 10:54:44 PM3/17/09
to Ruby Arduino Development
my question was really about compiling via command line using the rake
task provided by the rad gem

after correcting a couple path issues in the arduino ide i have
version 0014 working well..

however trying to compile my rad project using the rake task gives the
errors that i reported earlier...
rad compiles for the 168 chip with no problem.. but not the 328



On Mar 14, 7:27 pm, JD Barnhart <j...@jdbarnhart.com> wrote:
> code-ronin,
>
> I've been using 328p's since October (from Lady Ada) which work out of the
> box with arduino 12 --- I haven't had a chance to test 14.
>
> jd
>

deadprogrammer

unread,
Apr 18, 2009, 6:35:30 PM4/18/09
to Ruby Arduino Development
Reply all
Reply to author
Forward
0 new messages