Go Back   EcoModder Forum > EcoModding > Instrumentation > OpenGauge / MPGuino FE computer
Register Now
 Register Now


Reply  Post New Thread
 
Submit Tools LinkBack Thread Tools
Old 03-18-2009, 08:36 PM   #11 (permalink)
dcb
Don't Panic
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 2,674

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 7
Thanked 28 Times in 26 Posts
FYI, here is a site with lots of programming info.
It is probably where I got the "press on programmer" idea from.
ELM - AVR programmer



Note: I just use a usbtinyisp these days.


(Support Ecomodder.com & get rid of these annoying ads!)      
 
__________________
"I kicked a giant mouse in the butt! Do I have to draw you a diagram?"

Last edited by dcb; 03-18-2009 at 08:50 PM..
  Reply With Quote
Old 03-19-2009, 10:14 PM   #12 (permalink)
dcb
Don't Panic
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 2,674

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 7
Thanked 28 Times in 26 Posts
FYI, I dug out my parallel port isp programmer just now to see how it does under ubuntu. It hasn't failed once after dozens of attempts. It never worked this good on windows. I'm using 5v power from the usb port to power the target board also.

I just put these commands in a shell script and ran it with sudo (might need tweaking of course), and arduino should have made a hex file already:

Code:
export avrdir=/home/dave/progs/arduino-0011/hardware/tools
$avrdir/avrdude -C$avrdir/avrdude.conf -v -v -v -v -pm168 -cdapa -F -e -Ulock:w:0x3F:m -Uefuse:w:0x07:m -Uhfuse:w:0xdd:m -Ulfuse:w:0xef:m
$avrdir/avrdude -C$avrdir/avrdude.conf -v -v -v -v -pm168 -cdapa -F -Uflash:w:mpguino.hex:i -Ulock:w:0x2b:m
__________________
"I kicked a giant mouse in the butt! Do I have to draw you a diagram?"
  Reply With Quote
Old 03-25-2009, 03:07 PM   #13 (permalink)
EcoModding Lurker
 
Join Date: Jan 2009
Location: Mechanicsburg, PA
Posts: 13

zed sled - '74 260Z turbo/MSefi

Franklin - '98 Forester
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to myplasticegg
Thanks a bunch DC!. The diagrams were very helpful in getting this thing going again. I had a hard time keeping the wires pressed to the chip when trying to re-burn the chip, the extra socket is a must!

It now runs 100% and I hope to ad the data for the 98 ranger to the wiki page in the next week or so!
  Reply With Quote
Old 03-25-2009, 05:00 PM   #14 (permalink)
dcb
Don't Panic
 
dcb's Avatar
 
Join Date: Feb 2008
Location: 3rd rock
Posts: 2,674

pimp mobile - '81 gs 250 t
90 day: 96.29 mpg (US)

schnitzel - '01 Golf TDI
90 day: 53.56 mpg (US)
Thanks: 7
Thanked 28 Times in 26 Posts
Awesome news !!!
__________________
"I kicked a giant mouse in the butt! Do I have to draw you a diagram?"
  Reply With Quote
Old 05-21-2009, 03:58 AM   #15 (permalink)
EcoModding Lurker
 
Join Date: Oct 2008
Location: Chile
Posts: 34

Mercedes 89 D - '89 300 E
90 day: 34.16 mpg (US)
Thanks: 2
Thanked 0 Times in 0 Posts
ISP programming question

Very interesting info, lot of it.

However, difficult to follow for me. I am a retired forester, just hobbist experimenter with electronics.

Suppose I have a chip (MPGuino chip) already programmed. I need to change units (from english to metric) and some sensor processing calculations.

The only language I know is Arduino 011 (kind of C++) . If I use the USB tiny ISP , can I edit the programm of the MPGuino chip and change some lines with the Arduino compiler from the notebook?

If not possible, what is the easiest way to proceed? Supose I want to use the USBtinyISP device... Can I bought it from you? Can you program my chip?
What solution do you advice me?

Thank you in advance for your help.

OldBeaver

Quote:
Originally Posted by dcb View Post
FYI, here is a site with lots of programming info.
It is probably where I got the "press on programmer" idea from.
ELM - AVR programmer



Note: I just use a usbtinyisp these days.
  Reply With Quote
Reply  Post New Thread

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
parallel battery pack question Daox Fossil Fuel Free 8 09-24-2008 04:17 PM
Yet another plug-in parallel hybrid retrofit - hub motors MetroMPG Hybrids 8 04-15-2008 08:21 PM
Electric fifth wheel (DIY through the road parallel hybrid) friedlbug Hybrids 19 03-29-2008 12:17 PM
DIY Chevy Avalanche conversion to parallel hybrid MetroMPG Hybrids 2 12-01-2007 11:00 PM




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
All content copyright EcoModder.com