Reflash of Mitsubshi Evo 6.5 TME - unable to erase flash mem

Developer topics relating to software that reflashes or modifes ECU code and data

Moderator: Freon

Reflash of Mitsubshi Evo 6.5 TME - unable to erase flash mem

Postby bing » Thu Sep 04, 2008 11:31 pm

Hello,

I successfully downloaded the flash from my TME 6.5 however when I went to write to the ecu (two test mode connectors in place) I got the following log ...

[16:43:17.613] Using interface OpenPort 1.3 Mitsubishi TX358Ls6c944f6c914e91198df1205d2ea9d25d750e713e9

[16:43:20.097] sending init sequence 2

[16:43:20.107] got 0x13 response instead of 0x11

[16:43:20.107] sending init sequence 3

[16:43:20.518] entering bootloader

[16:43:20.548] sending kernel size (1531)

[16:43:20.588] sending kernel load address (0x0000F000)

[16:43:20.628] uploading kernel

[16:43:20.888] verifying kernel checksum response

[16:43:20.888] kernel valid

[16:43:21.108] kernel get version

[16:43:21.189] kernel debug:

[16:43:21.199] [B0] F2 A8 F0 36 F5 01 00 07 05 FB F0 00 F9 80

[16:43:21.199] kernel version is : OpenEcu Mitsubishi H8/539F Kernel V0.13

[16:43:21.199] reading kernel comm buffer size

[16:43:21.209] comm buffer size set to 256

[16:43:21.209] reading kernel flash buffer size

[16:43:21.319] flash buffer size set to 1024

[16:43:21.359] kernel read area: addr: 0000FEE0 len: 0001

[16:43:21.379] kernel read area: addr: 0000FEE2 len: 0001

[16:43:21.389] kernel read area: addr: 0000FEE3 len: 0001

[16:43:21.409] kernel read area: addr: 0000FF15 len: 0001

[16:43:21.419] flmcr: 80 ebr1: 00 ebr2: ff ramcr: f9

[16:43:21.419] Flashing image to ECU memory...

[16:43:21.820] comparing ECU flash memory pages to image file

[16:43:21.820] seg start len ecu CRC32 img CRC32 same?

[16:43:22.180] FB16 00010000 00003000 D28CB3FE DDB524BD NO

[16:43:22.270] FB01 00013000 00000200 BD7BC39F BD7BC39F YES

[16:43:22.330] FB02 00013200 00000200 BD7BC39F BD7BC39F YES

[16:43:22.370] FB03 00013400 00000200 BD7BC39F BD7BC39F YES

[16:43:22.400] FB04 00013600 00000200 BD7BC39F BD7BC39F YES

[16:43:22.430] FB05 00013800 00000200 BD7BC39F BD7BC39F YES

[16:43:22.470] FB06 00013A00 00000200 BD7BC39F BD7BC39F YES

[16:43:22.500] FB07 00013C00 00000200 BD7BC39F BD7BC39F YES

[16:43:22.611] FB08 00013E00 00000200 BD7BC39F BD7BC39F YES

[16:43:23.121] FB15 00014000 00004000 EA3E3443 EA3E3443 YES

[16:43:23.632] FB14 00018000 00004000 BEF6372A BEF6372A YES

[16:43:24.153] FB13 0001C000 00004000 690B37D3 690B37D3 YES

[16:43:24.694] FB12 00020000 00004000 824D955A 824D955A YES

[16:43:25.204] FB11 00024000 00004000 2A89DA00 2A89DA00 YES

[16:43:25.715] FB10 00028000 00004000 6A780468 6A780468 YES

[16:43:26.246] FB09 0002C000 00004000 44965F77 44965F77 YES

[16:43:26.286] kernel flash enable

[16:43:26.336] kernel blank flash page: addr: 00010000

[16:43:26.416] kernel debug:

[16:43:26.456] [B0] F4 45 F0 62 FF 05 F8 29 00 00 F0 00 F9 80

[16:43:26.456] kernel error: programming failure

[16:43:26.456] WARNING: failed to erase page at 00010000!

[16:43:26.456] kernel flash disable

[16:43:26.466] interface close

[16:43:26.486] interface close


Can anyone share any insight as to where I have gone wrong ?

Thanks in advance,
Bing.
bing
 
Posts: 9
Joined: Mon May 30, 2005 7:19 pm

Postby bondango » Fri Sep 05, 2008 3:36 pm

Only Evo 7 onwards ECU's can be reflashed. Most of us 6 owners install a 7 ECU. Check out Evo M forums for details.
bondango
 
Posts: 1
Joined: Sun Jun 08, 2008 1:07 pm

Hi Bing

Postby christian_piasini » Sat Sep 06, 2008 4:01 am

Please check it out, is the MCU the MH7203F or MH7202F ?

Cheers



Christian Piasini
R&D Piasineingienering
christian_piasini
 
Posts: 101
Joined: Sat Nov 25, 2006 8:50 am
Location: Italy

Postby GTODesign » Mon Sep 08, 2008 7:58 am

IIRC...

Evo 5/6 MH7202F H8/539F
Evo 6.5 MH7203F
GTODesign
 
Posts: 81
Joined: Sat Jan 28, 2006 9:55 am

Postby MattS00 » Fri Sep 12, 2008 6:31 pm

I'm a novice, but what are some possible reasons for the flash memory to not be able to be erased?

The page that failed to erase is the only area with a change. It is my understanding that ecuflash compairs the rom images and only erases/flashes areas with changes.

Code: Select all
[16:43:21.820] comparing ECU flash memory pages to image file

[16:43:21.820] seg start len ecu CRC32 img CRC32 same?

[16:43:22.180] FB16 00010000 00003000 D28CB3FE DDB524BD NO

[16:43:22.270] FB01 00013000 00000200 BD7BC39F BD7BC39F YES


Code: Select all
[16:43:26.456] kernel error: programming failure

[16:43:26.456] WARNING: failed to erase page at 00010000!



http://forums.openecu.org/viewtopic.php?t=172

I really don't understand this stuff, but I read section 16 of the hardware manual H8_538F_HWM.PDF. It explains a lot about the flash memory of the chip. There is even some sample code on how to initiate a flash.
MattS00
 
Posts: 44
Joined: Thu Sep 27, 2007 10:46 pm
Location: Illinois

Postby MattS00 » Sun Sep 14, 2008 11:12 pm

I can only imagine that some of this stuff is pertinent to what is happening here. I found it in the h8/539f datasheet. Can someone with a little experience please comment or give some insight. I haven't programmed since I took basic in HS about 14 years ago.

Image

Image

Image

Image
MattS00
 
Posts: 44
Joined: Thu Sep 27, 2007 10:46 pm
Location: Illinois


Return to Reflashing Software

Who is online

Users browsing this forum: No registered users and 2 guests