Welcome, Guest. Please Login or Register
MyECU main site
  Welcome to our forum.
  HomeHelpSearchLoginRegister  
 
Pages: 1 2 3 
Send Topic Print
Can I have? (Read 21185 times)
Mad Farquhar
Full Member
***
Offline


Slainthe mhath

Posts: 171
Black Isle, Scotland
Gender: male
Can I have?
03/03/11 at 03:53:14
 
Can I suggest a firmware upgrade part to this forum. I don't know about others but I am struggling to make the avrdude work. I have the cable from Cliff. I have a laptop with xp and a pcmcia card with parallel d25 out and a partially corrupted 324p which just wont flash. I have installed 5.01 and 5.10 to try both versions and written the flash.cmd and saved to main part of folder, and all I get on running is a quick flash on screen - something is happening but I have no idea what. I have read the other threads to see if I am doing anything wrong and have come to the conclusion I must be, but what? I could try the original chip but am loath to do anything to it in case I zap it fatally. I did threaten Cliff with Skype but I don't think he is ready for that yet! Smiley
Back to top
 

MG Sport 1100 inj
Triking
Honda ST1100
V7 Stone
...
 
IP Logged
 
raz
Senior Member
****
Offline


Guzzi 11OO Sport, My16MkV,
Innovate LC-1

Posts: 373
Stockholm, Sweden
Gender: male
Re: Can I have?
Reply #1 - 03/03/11 at 05:47:33
 
That "quick flash" part sounds like you are double-clicking the flash.cmd icon from the windows GUI. It bails out from some kind of error but then the text window closes before you have a chance to read what happened. Personally I do stuff from the command line and don't bother messing with the horrible GUI thing but there is a way you can alter the flash.cmd file to add a pause waiting for keypress at the end: Just add a second line in the end of that flash.cmd file, saying "pause" (without the quotes) and you're set.

It won't fix the problem but you'll see what happens.
Back to top
« Last Edit: 03/03/11 at 05:50:03 by raz »  

59° North
1100 Sport iniezione elettronica -- the perfect merge of a superbike and a steam train
 
IP Logged
 
Mad Farquhar
Full Member
***
Offline


Slainthe mhath

Posts: 171
Black Isle, Scotland
Gender: male
Re: Can I have?
Reply #2 - 03/03/11 at 06:00:19
 
AAAAAhhhhhhhaaaaaa:-

C:\WinAVR-20100110\bin>avrdude -u -p m324p -c abcmini -e -E noreset -U lfuse:w:0
xE7:m -U hfuse:w:0xDF:m -U flash:w:My16M_32.hex -U lock:w:0x3C:m

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.


C:\WinAVR-20100110\bin>pause
Press any key to continue . . .
Back to top
 

MG Sport 1100 inj
Triking
Honda ST1100
V7 Stone
...
 
IP Logged
 
YaBB Administrator
YaBB Administrator
*****
Offline


I love YaBB!

Posts: 677
The Land of YaBB
Re: Can I have?
Reply #3 - 03/03/11 at 06:03:06
 
Do you have the ECU powered?
Back to top
 

The Administrator.
WWW  
IP Logged
 
Mad Farquhar
Full Member
***
Offline


Slainthe mhath

Posts: 171
Black Isle, Scotland
Gender: male
Re: Can I have?
Reply #4 - 03/03/11 at 06:37:08
 
Yup.
I have had this feeling / "gaelic intuition" that I have had a comms problem all along however the pump cycles once when I apply the lead - so I am assuming (sucking through teeth sound) that my parallel port is working via LPT1. However this screen dump suggests it isn't or something else is bolloxed. Open to suggestions chasps.
Back to top
 

MG Sport 1100 inj
Triking
Honda ST1100
V7 Stone
...
 
IP Logged
 
YaBB Administrator
YaBB Administrator
*****
Offline


I love YaBB!

Posts: 677
The Land of YaBB
Re: Can I have?
Reply #5 - 03/03/11 at 06:43:12
 
The printer port can have a few modes set in the BIOS.
I not particularly familiar with what they are or which is required but you could try cycling through them.


Back to top
 

The Administrator.
WWW  
IP Logged
 
Mad Farquhar
Full Member
***
Offline


Slainthe mhath

Posts: 171
Black Isle, Scotland
Gender: male
Re: Can I have?
Reply #6 - 03/03/11 at 07:21:48
 
I take it there is no simple way to check the avrdude comms integrity. I now remember why I moved to Mac OS 10 years ago! Oh well BIOS it is.
Back to top
 

MG Sport 1100 inj
Triking
Honda ST1100
V7 Stone
...
 
IP Logged
 
YaBB Administrator
YaBB Administrator
*****
Offline


I love YaBB!

Posts: 677
The Land of YaBB
Re: Can I have?
Reply #7 - 03/03/11 at 07:23:50
 
No easy way. If you have a logic probe you can see if the lines are toggling.
Back to top
 

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


Sweden

Posts: 196
Re: Can I have?
Reply #8 - 03/03/11 at 11:47:46
 
Cliff,
what are you using when upgrading fimware, PC or Mac?

I`d also appreciate a step-by-step upgrading firmware instruction.
Back to top
 

Ducati 907IE  MyECU P8
 
IP Logged
 
YaBB Administrator
YaBB Administrator
*****
Offline


I love YaBB!

Posts: 677
The Land of YaBB
Re: Can I have?
Reply #9 - 03/03/11 at 13:21:56
 
I don't have a Mac.

What information do you want  added to the current instructions -
http://www.cajinnovations.com/MyECU/FirmwareUpgrading.htm
Back to top
 

The Administrator.
WWW  
IP Logged
 
raz
Senior Member
****
Offline


Guzzi 11OO Sport, My16MkV,
Innovate LC-1

Posts: 373
Stockholm, Sweden
Gender: male
Re: Can I have?
Reply #10 - 03/03/11 at 17:46:41
 
YaBB Administrator wrote on 03/03/11 at 13:21:56:
What information do you want  added to the current instructions

There is some text about creating a backup chip. I always thought I would have to buy such chip from you because there is some copyright protection things somewhere, so you (as in Cliff) would have to pre-program it the first time. Is that true? If it is, I think it should be stated. If it's not, I have no idea where I got the idea from.
Back to top
 

59° North
1100 Sport iniezione elettronica -- the perfect merge of a superbike and a steam train
 
IP Logged
 
YaBB Administrator
YaBB Administrator
*****
Offline


I love YaBB!

Posts: 677
The Land of YaBB
Re: Can I have?
Reply #11 - 03/03/11 at 17:59:14
 
An ECU is a fairly critical function so I'm happy for you to have one back up chip for a swap on the road. Two ECUs is even better. Wink

You can buy a blank chip from your own source and create one backup for your own peace of mind or you can buy one from me already programmed.

You can't make lots of chips and start producing your own ECUs for sale or producing programmed chips in addition to the one backup chip.
Back to top
 

The Administrator.
WWW  
IP Logged
 
Mad Farquhar
Full Member
***
Offline


Slainthe mhath

Posts: 171
Black Isle, Scotland
Gender: male
Re: Can I have?
Reply #12 - 03/03/11 at 22:35:53
 
I have managed (f*c£ nose how) to get the chip flashed BUT.....
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9508
avrdude: erasing chip
avrdude: reading input file "0xE7"
avrdude: writing lfuse (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0xE7:
avrdude: load data lfuse data from input file 0xE7:
avrdude: input file 0xE7 contains 1 bytes
avrdude: reading on-chip lfuse data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: 1 bytes of lfuse verified
avrdude: reading input file "0xDF"
avrdude: writing hfuse (1 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: 1 bytes of hfuse written
avrdude: verifying hfuse memory against 0xDF:
avrdude: load data hfuse data from input file 0xDF:
avrdude: input file 0xDF contains 1 bytes
avrdude: reading on-chip hfuse data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: 1 bytes of hfuse verified
avrdude: reading input file "My16M_32.hex"
avrdude: input file My16M_32.hex auto detected as Intel Hex
avrdude: writing flash (32764 bytes):
Writing | ################################################## | 100% 29.41s
avrdude: 32764 bytes of flash written
avrdude: verifying flash memory against My16M_32.hex:
avrdude: load data flash data from input file My16M_32.hex:
avrdude: input file My16M_32.hex auto detected as Intel Hex
avrdude: input file My16M_32.hex contains 32764 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 27.83s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
         0x0c != 0xff
avrdude:
verification error; content mismatch
Back to top
 

MG Sport 1100 inj
Triking
Honda ST1100
V7 Stone
...
 
IP Logged
 
YaBB Administrator
YaBB Administrator
*****
Offline


I love YaBB!

Posts: 677
The Land of YaBB
Re: Can I have?
Reply #13 - 03/04/11 at 05:56:30
 
I've seen this before, just recently fact with another user.

I think the timing is marginal.  If you keep retrying one will work. If think it was about 5 goes for the last go.

How did you get past the last hurdle?
Back to top
 

The Administrator.
WWW  
IP Logged
 
Mad Farquhar
Full Member
***
Offline


Slainthe mhath

Posts: 171
Black Isle, Scotland
Gender: male
Re: Can I have?
Reply #14 - 03/04/11 at 06:07:44
 
I spent some time looking at the comms port set up on my laptop and changed the i/o settings in the device manager to that suggested by the pcmcia device. It didnt work immediately but luckily being Scottish I plodded on and bingo. Razs "pause" was v useful! I may write an essay on my travails. So.... need to keep at the chip do I? Had a stab at the Optimiser too, but its not playing ball either. I'll send the error message via email on that one tomorrow if you want.
Back to top
 

MG Sport 1100 inj
Triking
Honda ST1100
V7 Stone
...
 
IP Logged
 
Pages: 1 2 3 
Send Topic Print