Page 1 of 7 123456 ... LastLast
Results 1 to 15 of 103

Thread: Next EEHack update

  1. #1
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,023

    Next EEHack update

    i finally have an ECM and a serial interface working on the bench. i have decided to stop bundling a flash tool with eehack and turn it into a separate (better) tool that'll come with EEHack... i will use this tool as a learning experience for my next project (another flash tool.) stay tuned.

  2. #2
    Fuel Injected!
    Join Date
    Jul 2019
    Location
    Orange, CA
    Posts
    757
    Oooooh I’m excited! Best of luck to you!
    1990 Corvette (Manual)
    1994 Corvette (Automatic)
    1995 Corvette (Manual)

  3. #3
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,023
    HERE WE GO AGAIN

    god my brain hurts already

    the beer on the right is the most important tool on this makeshift workbench.

    IMG_1318.jpg

    i keep saying to myself that good things will come of this, even though i never really plan on owning an LT1 again.

  4. #4
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,023
    step one is to solve the bin scrambling thing that's been driving me nuts for ages.

    i've traced the flash to 68k address lines. the following shows the re-ordered lines, so a bit of bit shifting in the indexes in my flash tool should easily convert bins between 'datastream flash' and 'hardware flash' bin formats. here's the t-side magic (lines that are normal not shown):

    CPU_ADDRESS,EEPROM_ADDRESS
    13,1
    12,2
    11,3
    3,11
    2,12
    1,13

  5. #5
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,023
    seems they were nice enough to make t-side and e-side the same, so that formula works for addressing on both sides.

    i will now find a reasonably optimal mathematical function to derive the modified address scheme in either direction.

    this reminds me of when kur4o gave me a bunch of examples for EE's programming key challenge/response, and it took me a ton of staring to realize that EE's secret programming key was just a NOT gate.

  6. #6
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,023
    the bits in question we are swapping to derive the correct hardware addressing actually move a mask of 0xE from the low bytes to the high bytes (0xE to 0x000E)

    i doubt it's an accident. i think we have found a hilarious GM circuit design easter egg.

  7. #7
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,023
    i think this will translate 'hard' to 'soft' addressing in $EE bins:

    Code:
    ( x & ~0xE00E ) | ((x & 0xE000) >> 12) | ((x & 0xE) << 12)
    EDIT: this is not a working example, it fails to reverse the bits, will post a better and more human readable thing soon

  8. #8

  9. #9
    Fuel Injected!
    Join Date
    Nov 2017
    Location
    Californiacation
    Age
    57
    Posts
    817
    Quote Originally Posted by steveo View Post
    looks like it works! so now we'll be able to use an eeprom programmer or the software flash routine interchangeably.
    Sweet, that is way cool. All the stuff you guys have accomplished is truly awesome. It makes me want to buy an LT1 Transam and play but I'll keep talking myself out of it and just follow along as best I can.
    -Carl

  10. #10
    Fuel Injected!
    Join Date
    Jul 2019
    Location
    Orange, CA
    Posts
    757
    Quote Originally Posted by steveo View Post
    looks like it works! so now we'll be able to use an eeprom programmer or the software flash routine interchangeably.
    This is absolutely awesome. I have an experimental clip that I’m jerry-rigging into an in-place EEPROM programmer, so that’ll make things a lot easier. So would finding out there’s a spot on the PCM itself I could just plug into without my test clip though, haha.

    Great work in such a short time! This has the makings of the best thread of the year.
    1990 Corvette (Manual)
    1994 Corvette (Automatic)
    1995 Corvette (Manual)

  11. #11
    Fuel Injected!
    Join Date
    Sep 2012
    Location
    Huntsville, AL
    Posts
    237
    Quote Originally Posted by NomakeWan View Post
    This is absolutely awesome. I have an experimental clip that I’m jerry-rigging into an in-place EEPROM programmer, so that’ll make things a lot easier. So would finding out there’s a spot on the PCM itself I could just plug into without my test clip though, haha.
    Didn't the guy in the 97 F-body thread say there WAS a location on the board to do this?

    Steve, let me know if I need to send more beer money!

  12. #12
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,023
    i have a very high rate of beer money consumption so every bit helps

    there is totally a header that seems mostly pinned to the flash chip

    flashing in-place on a non booting ecm is a high priority right now

    in fact i might do that next

  13. #13
    Fuel Injected!
    Join Date
    Sep 2012
    Location
    Huntsville, AL
    Posts
    237
    Send me a PM or email with your paypal address.

    Dumb question, but did you already order the flash routine so it fills the BIOS (or equivalent) first, so that the amount of time that flashing is health-critical is quite small?

  14. #14
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,023
    there is a gigantic 'donate to beer fund' button in the 'about' menu in eehack.

    i have not done any reordering of the flash routine to increase the chances of it being bootable if it fails halfway, i do plan to work a bit on that, but i think i'll focus more on making it possible to 'keep trying' to flash as long as we don't reboot by losing ignition power to the ECM

  15. #15
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,023
    i've started writing a small set of classes and subclasses for handling not just EE bins but bin files in general (this will allow the new tool work with any bin format in a generic way). the subclass for the EE bin format now handles standard (tunercat/eex), lt1edit backwards, and raw eside and tside with addresses scrambled

    so first (small project) is a success

    until i write a proper ui for it, if anyone needs a bin converted for their socketed ecm, just holler

Similar Threads

  1. EEHack 5.0 2020 update
    By steveo in forum GM EFI Systems
    Replies: 9
    Last Post: 09-30-2022, 06:37 AM
  2. EEHack 2019 update
    By steveo in forum GM EFI Systems
    Replies: 154
    Last Post: 02-20-2020, 05:31 PM
  3. $4D update
    By steveo in forum GM EFI Systems
    Replies: 4
    Last Post: 07-19-2014, 09:33 PM
  4. Tables won't update
    By POZE in forum TunerPro Tuning Talk
    Replies: 2
    Last Post: 02-17-2013, 09:48 AM
  5. TunerPro V5 update!
    By EagleMark in forum TunerPro Tuning Talk
    Replies: 27
    Last Post: 07-16-2012, 02:42 AM

Bookmarks

Posting Permissions

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