Welcome, Guest. Please Login or Register
MyECU main site
  Welcome to our forum.
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
MyECU firmware upgrading - new programmer (Read 12439 times)
YaBB Administrator
YaBB Administrator
*****
Offline


I love YaBB!

Posts: 679
The Land of YaBB
MyECU firmware upgrading - new programmer
05/07/12 at 15:05:57
 
Most of you will already be aware of the steps to upgrade the MyECU, outlined here - http://www.cajinnovations.com/MyECU/FirmwareUpgrading.htm.
You'll also know that laptops with parallel printing ports are getting fairly rare. There is now an new option that will allow programming from a USB equipped laptop.

I've tested an inexpensive AVR programmer from Sparkfun Electronics - http://www.sparkfun.com/products/9825 also available from http://microcontrollershop.com/product_info.php?products_id=4541.

It still requires a cable to be made up to go from its 6 pin connector to MyECU's 5 pin connector and the following pics will show how. Future circuit boards for MyECU will have the 6 pin connector.

http://cajinnovations.com/yabb0/Attachments/ProgCable1.JPG
http://cajinnovations.com/yabb0/Attachments/ProgCable2.JPG
http://cajinnovations.com/yabb0/Attachments/ProgCable3.JPG

The command to program is slightly different. If you have the newer Atmega324PA ( not the Atmega324) you may need to add -F to the command also as Atmel in their wisdom decided to change the chip signature.

avrdude -u -p m324p -c usbtiny -e -U lfuse:w:0xE7:m -U hfuse:w:0xDF:m -U flash:w:My16M_32.hex -U lock:w:0x3C:m

I've also done a repackaging of avrdude and the usb drivers to save having to install all of WinAVR. I've only tried this on WinXP. Download the following zip and unzip the files into a directory c:\avrdude.
The first time you plug in the programmer, Windows will ask for a driver. Point Windows to this directory for the drivers. You should then be right to program as mentioned on the first link above although I had to unplug and replug the programmer first.
http://cajinnovations.com/yabb0/Attachments/Avrdude.zip

If you buy it from the Microcontroller shop you might want to consider getting this bluetooth adapter also to save post
Back to top
« Last Edit: 07/18/12 at 08:38:32 by YaBB Administrator »  

The Administrator.
WWW  
IP Logged
 
meccanicadacorsa.com
YaBB Newbies
*
Offline


I love MyECU!

Posts: 25
Italia
Gender: male
Re: MyECU firmware upgrading - new programmer
Reply #1 - 05/07/12 at 20:12:39
 
great! i'll buy one..i've saw also this http://www.fischl.de/usbasp/
Back to top
 

180° T-max Under construction with MY16M MKIV
http://www.meccanicadacorsa.com/Cosa/tmax.htm
WWW  
IP Logged
 
YaBB Administrator
YaBB Administrator
*****
Offline


I love YaBB!

Posts: 679
The Land of YaBB
Re: MyECU firmware upgrading - new programmer
Reply #2 - 05/08/12 at 06:44:07
 
Yes that looks like it will do the job also. The one I mentioned comes with a 6 way cable also. I don't know if that one does.
Back to top
 

The Administrator.
WWW  
IP Logged
 
pasotibbs
YaBB Newbies
*
Offline



Posts: 23
Sheffield ,UK
Gender: male
Re: MyECU firmware upgrading - new programmer
Reply #3 - 05/08/12 at 19:24:22
 
Back to top
 
 
IP Logged
 
meccanicadacorsa.com
YaBB Newbies
*
Offline


I love MyECU!

Posts: 25
Italia
Gender: male
Re: MyECU firmware upgrading - new programmer
Reply #4 - 05/09/12 at 03:39:07
 
this is a bluetooth not a programmer
Back to top
 

180° T-max Under construction with MY16M MKIV
http://www.meccanicadacorsa.com/Cosa/tmax.htm
WWW  
IP Logged
 
YaBB Administrator
YaBB Administrator
*****
Offline


I love YaBB!

Posts: 679
The Land of YaBB
Re: MyECU firmware upgrading - new programmer
Reply #5 - 05/09/12 at 07:46:36
 
That's correct, its not a programmer. It's a suggest to save on postage. The bluetooth will be the preferred communication option in future allowing a smartphone to be used to do logging/tuning.
Back to top
 

The Administrator.
WWW  
IP Logged
 
Bobd
Full Member
***
Offline


I am slowly developing
a relationship with MyEcu.

Posts: 150
Southampton
Gender: male
Re: MyECU firmware upgrading - new programmer
Reply #6 - 07/14/12 at 22:47:53
 
I tried to follow up the link from the “MyEcu Firmware Upgrading – New Programmer.”



It came up as a list of nine files, not sure which I have to copy across, I am running the Windows 7 32bit system. 


Also colours of wires in the photos of the connecter not clear, two look to be red - I assume one is orange.  Please do a diagram showing which wires go where.

Back to top
 
 
IP Logged
 
YaBB Administrator
YaBB Administrator
*****
Offline


I love YaBB!

Posts: 679
The Land of YaBB
Re: MyECU firmware upgrading - new programmer
Reply #7 - 07/18/12 at 08:21:36
 
Its the orange wire that is not connected. It is not required.

I'm going to redo the links in the original post. Google docs is not working sometimes.
Back to top
 

The Administrator.
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print