Skip to content

nlantau/AVR_Toolchain_Arch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AVC Toolchain Arch

A bit more complicated than I expected it to be. The Pololu USB AVR Programmer v2.1's drivers already exists within the Linux kernel, but the .tar-ball from their site provided with pavr2cmd and pavr2gui. At first, the TTL port and Programming port stated (Unknown). As a last restort, I rebooted the computer and finally Arch dedicated a port to it.

How to view serial data from FTDI

tail -f /dev/ttyUSB0

How to view data from DSO138mini oscilloscope

Run my Python script

./collect_and_plot.py

How to setup permissions in Linux (for Arduino)

  • Add user to group uucp
usermod -aG uucp <user>
  • Add rule in /etc/udev/rules.d/
SUBSYSTEMS="usb", ATTRS{idVendor}=="xxxx", ATTRS{idProduct}=="yyyy", SYMLINK+="ttyUSB%n"
# Get idVendor and idProduct from `lsusb`
  • Reload udev rules
udevadm config -R # Could differ depending on OS
  • Reboot

About

Template for AVR-GCC on Arch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors