Results 1 to 15 of 15

Thread: OpenPort 2.0 Logic Sniffing

  1. #1
    scott.mohekey's Avatar

    Offline
     
    Name
    Scott
    Join Date
    May 2008
    Last Online
    09-07-2023
    Posts
    3,484
    Country
    New Zealand
    Location
    Christchurch
    Car
    96 Legnum VR4 T
     

    OpenPort 2.0 Logic Sniffing

    Hey, is there anyone out there with an OpenPort 2.0 and a logic sniffer, that could create some logs for me of the wires connected to the car. I'm specifically after logs of the initial flash start up phase, and the logging start up phase.

    Any help would be greatly appreciated.

  2. #2

    Offline
     
    Name
    Bill
    Join Date
    Aug 2010
    Last Online
    20-07-2022
    Posts
    152
    Country
    Australia
    Car
    2000 Galant
     
    Logging start up phase uses "Five Baud Init" thats documented in the ISO9141 standard. Exception with Mitsubishi is pin 1 needs to be earthed and init addresses aren't 'standard'.

    SAE-J2534 standard will explain programming requirements for using the openport.

  3. #3
    scott.mohekey's Avatar

    Offline
     
    Name
    Scott
    Join Date
    May 2008
    Last Online
    09-07-2023
    Posts
    3,484
    Country
    New Zealand
    Location
    Christchurch
    Car
    96 Legnum VR4 T
     
    Correct me if I'm wrong, but isn't SAE-J2534 a spec for the protocol/physical implementation between the computer and the flashing device (in this case the open port)? I'm looking at making a replacement for the open port 2.0.

  4. #4

    Offline
     
    Name
    Bill
    Join Date
    Aug 2010
    Last Online
    20-07-2022
    Posts
    152
    Country
    Australia
    Car
    2000 Galant
     
    Yes, thats correct. Now i know what your trying to do, i can hopefully give you as much info as i can.

    basically for logging, you'll need to pull pin 1 to earth, then send a five init baud down the k-line (VR4 and most mitsubishis dont use L-line)

    Five init baud consists of 10-bits:
    1 start bit
    8 bits - address to select what device you want to communicate with
    1 stop bit

    200ms between each bit will be 5 baud.

    0x1 - address to select ECU
    0x3 - address to select TCU

    After your init, you'll switch to your normal baud rate (15625) and will recieve 2 bytes - these identify the device you are communicating to.

    After that, you can send your 1-byte MUT addresses, and you'll recieve a 1-byte reply.

    if you dont send any data for about 10-secs, you'll need to re-init again.

  5. #5
    scott.mohekey's Avatar

    Offline
     
    Name
    Scott
    Join Date
    May 2008
    Last Online
    09-07-2023
    Posts
    3,484
    Country
    New Zealand
    Location
    Christchurch
    Car
    96 Legnum VR4 T
     
    I think I've seen that around on the net once before, but wasn't sure where or if it was even right. Thanks for reproducing it here.

    That covers the logging aspect, but do you know anything about the flashing process?

  6. #6

    Offline
     
    Name
    Bill
    Join Date
    Aug 2010
    Last Online
    20-07-2022
    Posts
    152
    Country
    Australia
    Car
    2000 Galant
     
    no idea on flashing, sorry. i would be very interested in any info you find out.

    So much for ECUFlash being 'open source' when the source code hasnt been released :\

  7. #7
    scott.mohekey's Avatar

    Offline
     
    Name
    Scott
    Join Date
    May 2008
    Last Online
    09-07-2023
    Posts
    3,484
    Country
    New Zealand
    Location
    Christchurch
    Car
    96 Legnum VR4 T
     
    Yeah, its really quite frustrating, hence me asking for some logic logs.

  8. #8

    Offline
     
    Name
    Daniel
    Join Date
    Jan 2009
    Last Online
    15-03-2023
    Posts
    2,695
    Country
    New Zealand
    Car
    8G VR4 + Colt
     
    Wouldn't it be easier to reverse-engineer the MUT-III flash method? The OpenPort was designed using this method.

    I may be able to get my hands on a MUT-III for a day as well.

  9. #9
    scott.mohekey's Avatar

    Offline
     
    Name
    Scott
    Join Date
    May 2008
    Last Online
    09-07-2023
    Posts
    3,484
    Country
    New Zealand
    Location
    Christchurch
    Car
    96 Legnum VR4 T
     
    Either or, all we really need is to know how the ecu is put into flash mode, and how to transfer the rom to it once its in that mode.

    I have a logic sniffer, but no open port or mut hardware.

  10. #10
    Adam.Findlay's Avatar

    Offline
     
    Name
    Adam
    Join Date
    Jan 2009
    Last Online
    17-04-2024
    Posts
    2,576
    Country
    New Zealand
    Location
    Christchurch
    Car
    Legnum Type S M
     
    carl has a open port 2.0 so flick him a txt im sure he will lend it to you once hes done retuning for his cams (i had it for something like 6 months before that haha)

  11. #11
    scott.mohekey's Avatar

    Offline
     
    Name
    Scott
    Join Date
    May 2008
    Last Online
    09-07-2023
    Posts
    3,484
    Country
    New Zealand
    Location
    Christchurch
    Car
    96 Legnum VR4 T
     
    Genius!

  12. #12

    Offline
     
    Name
    Daniel
    Join Date
    Jan 2009
    Last Online
    15-03-2023
    Posts
    2,695
    Country
    New Zealand
    Car
    8G VR4 + Colt
     
    I've got a copy of the MUT-III software at work as well, so I will see if I can find anything relating to reflashing the ECU in there.

  13. #13
    foxdie's Avatar

    Online
     
    Name
    Jason
    Join Date
    Jan 2008
    Last Online
    Today
    Membership ID
    518
    Posts
    5,036
    Country
    United Kingdom
    Location
    Birmingham, UK
    Car
    PFL Legnum Man
    My Garage
    Visit
     
    If anyone in the West Midlands (UK) has a 8 channel or better logic sniffer capable of sniffing circa +12V, message me and we'll arrange to log a flash, I can test flash both a 7202 ECU with EcuFlash and a H8/539 ECU with MMCFlash.
    Have questions about performance upgrades and ECU tuning? Before PM'ing me, Check this thread first
    Please support CVR4 & become a Full member, you get a full years access to guides, games, chat & much more!

  14. #14

    Offline
     
    Name
    Bill
    Join Date
    Aug 2010
    Last Online
    20-07-2022
    Posts
    152
    Country
    Australia
    Car
    2000 Galant
     
    i've done a bit of digging around, seems ECUflash uploads some form of custom kernel run in RAM that allows the H8 to write over itself.

    nfi what the source code for the kernel is or how it does it.

  15. #15

    Offline
     
    Name
    Jeff
    Join Date
    Feb 2012
    Last Online
    27-07-2013
    Posts
    1
    Country
    United States
    Car
    Stealth Turbo
     
    Quote Originally Posted by BCX View Post
    i've done a bit of digging around, seems ECUflash uploads some form of custom kernel run in RAM that allows the H8 to write over itself.

    nfi what the source code for the kernel is or how it does it.

    There are examples in the H8-539 data sheets from Hitachi (now Renesas).

    As best as I know, Colby wrote his own flash kernels. Beware though. The overall procedure is the same, but the particulars are different depending on whether you're flashing a H8-539F (MH7202F) or an H8-539FA (MH7203FA). The FA variant has slightly different voltage requirements, and the layout of the various flash 'blocks' is different. That's why you can potentially brick an ECU by flashing it using the wrong memory model.

Similar Threads

  1. Standalone datalogging with Openport 2.0
    By AderC in forum ECUs / Mapping
    Replies: 31
    Last Post: 20-06-2014, 01:55 PM
  2. Tactrix Openport 2.0
    By zentac in forum General Chat
    Replies: 0
    Last Post: 10-05-2011, 01:45 PM
  3. Irish Logic
    By KiwiTT in forum Random Pictures / Videos / Jokes
    Replies: 24
    Last Post: 25-04-2010, 12:05 PM
  4. Evoscan cables - OpenPort 1.3U or 2.0?
    By eyeballprawn in forum General / Questions
    Replies: 26
    Last Post: 14-10-2009, 06:48 PM
  5. redneck logic
    By maori_by_nature in forum Random Pictures / Videos / Jokes
    Replies: 6
    Last Post: 21-09-2005, 07:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •