Forgot your password?
No account? Register one!
January 18, 2010
Tutorial - Beginning Embedded Electronics - 1 |
about 4 years ago
This worked for me according to the instructions and I used ubuntu as the (parallel port) PC programmer. I had to make two small edits to the makefile to get it to work:
1. remove the ‘-P lpt1’ from the AVRDUDE_FLAGS (its not called lpt1 on ubuntu, and the default value is fine, so its OK to ommit that flag entirely.)
2. I had to add ‘-E noreset’ to the AVRDUDE_FLAGS. This deactivates the /reset line on the parallel port after programming. Without it, pin 1 stayed low after programming until I disconnected the programmer’s reset line. With this flag I can leave the programmer connected.
Just a few tips that anyone else using ubuntu might find useful. Happy blinking…
No public wish lists :(