#open_robotics_embedded
Seriously any questions get at me max.prokopenko@gmail.com
###Organization of this repo
the_plan/ outlines philosophy, long-term goals, and specifications
USB_drivers/ drivers for programmers, interfaces etc.
libraries/ holds usefuls source code that is not project-specific and device symbols/footprints
projects/ contains subfolders, each one dedicated to a single project
Each project subfolder is meant to correspond 1-to-1 with a physical module
Module-specific schematics, PCB files, project source code, and other info go in these
###How to program a module
####Using USB-serial with Arduino IDE Most projects are not Arduino-compatible now
Retrieve the latest version of this repository
Find the folder of the module you want to program
Open the .ino file in Arduino
Select the appropriate board and serial port from the Tools dropdown
Hit upload
####Setting up Atmel Studio for programming over USB-serial
Select Tools -> External tools
Choose Add
Set Title to 'Serial Program'
Change the command to your Arduino directory that includes avrdude
Example: C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude.exe
Change the Arguments to match your situation, replacing COM16 with the COM port you are using
Example: -C"C:\Program Files (x86)\Arduino\hardware\tools\avr\etc\avrdude.conf" -patmega328p -carduino -P\.\COM16 -b57600 -U flash:w:"$(ProjectDir)Debug$(ItemFileName).hex":i -v
Click ok
Now to program, select Tools -> Serial Program
AVRdude manual
###Tools
git
Windows install
Linux/Unix install
Arduino IDE
http://www.arduino.cc/en/Main/Software
Atmel Studio (Windows or Linux/UNIX with a VM)
http://www.atmel.com/microsite/atmel_studio6
You will want to install the Visual Micro extension
AVRdude
http://www.nongnu.org/avrdude
Email me! max@theprogrammingclub.com
I want to make this documentation effective
###Git workflow:
git pull origin master
[do your stuff]
git add [new files]
git pull origin master
git commit -am "[commit message]"
git push origin master
In case of Git conflicts:
git checkout -b [some name that indicates this branch is screwed up]
Initiate a pull request on github.com
###Helpful links/tips for ICSP(In-Circuit Serial Programming)
Arduino MegaISP
Installing a bootloader
Programming with mac OS X
Bootloader flashing
Example Makefile settings (OS X):
DEVICE = atmega328p
CLOCK = 14745600
PROGRAMMER = -c avrisp -b 19200 -U flash:w:main.hex -P /dev/tty.usbserial-A600bTaM -v
OBJECTS = main.o
FUSES = -U efuse:w:0x05:m hfuse:w:0xd6:m -U lfuse:w:0xff:m
Similar command-line invocation of avrdude, without fuses:
avrdude -c avrisp -b 19200 -U flash:w:main.hex -P /dev/tty.usbserial-AL0151UO
If you are receiving stk500 errors when attempting to program via ICSP try holding down the RESET button of the programmer (or Arduino as ISP) right before you program
-
Notifications
You must be signed in to change notification settings - Fork 0
Open Robotics firmware
southarsch/embedded
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Open Robotics firmware
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published