go away spammer

Author Topic: Upload regular hex code through Arduino bootloader  (Read 11687 times)

0 Members and 1 Guest are viewing this topic.

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Upload regular hex code through Arduino bootloader
« on: January 19, 2009, 07:10:33 PM »
How can I upload non-Arduino code   - regular hex codes generated from AVRstudio - through the Arduino bootloader.

Thanks
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: Upload regular hex code through Arduino bootloader
« Reply #1 on: January 19, 2009, 08:24:10 PM »
Why not just skip the bootloader and use AVRStudio to upload the hex file?
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline airman00Topic starter

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: Upload regular hex code through Arduino bootloader
« Reply #2 on: January 19, 2009, 08:32:41 PM »
Why not just skip the bootloader and use AVRStudio to upload the hex file?
I could use the MKII programmer ( and I have). But I want to program the Roboduino through its USB port using the Arduino bootloader
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline Ro-Bot-X

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,431
  • Helpful? 25
  • Store: RoBotXDesigns.ca
    • Ro-Bot-X Designs
Re: Upload regular hex code through Arduino bootloader
« Reply #3 on: January 19, 2009, 09:06:38 PM »
From Arduino Makefile, found in Arduino-0011\hardware\cores\arduino:

Quote
# Arduino 0011 Makefile
# Arduino adaptation by mellis, eighthave, oli.keller
#
# This makefile allows you to build sketches from the command line
# without the Arduino environment (or Java).

#
# Detailed instructions for using the makefile:
#
#  1. Copy this file into the folder with your sketch. There should be a
#     file with the extension .pde (e.g. foo.pde)
#
#  2. Below, modify the line containing "TARGET" to refer to the name of
#     of your program's file without an extension (e.g. TARGET = foo).
#
#  3. Modify the line containg "INSTALL_DIR" to point to the directory that
#     contains the Arduino installation (for example, under Mac OS X, this
#     might be /Applications/arduino-0011).
#
#  4. Modify the line containing "PORT" to refer to the filename
#     representing the USB or serial connection to your Arduino board
#     (e.g. PORT = /dev/tty.USB0).  If the exact name of this file
#     changes, you can use * as a wildcard (e.g. PORT = /dev/tty.USB*).
#
#  5. Set the line containing "MCU" to match your board's processor.
#     Older one's are atmega8 based, newer ones like Arduino Mini, Bluetooth
#     or Diecimila have the atmega168.  If you're using a LilyPad Arduino,
#     change F_CPU to 8000000.
#
#  6. At the command line, change to the directory containing your
#     program's file and the makefile.
#
#  7. Type "make" and press enter to compile/verify your program.
#
#  8. Type "make upload", reset your Arduino board, and press enter to
#     upload your program to the Arduino board.
#
# $Id$
Check out the uBotino robot controller!

Offline Geir

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
Re: Upload regular hex code through Arduino bootloader
« Reply #4 on: November 22, 2010, 08:42:26 AM »
You can use this: ;)
xloader.russemotto.com
$50 Robot schematic http://elektro.russemotto.com

 


Get Your Ad Here