Page 4 of 7 FirstFirst 1234567 LastLast
Results 46 to 60 of 103

Thread: Next EEHack update

  1. #46
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,031
    so far things are going well on the 'high level' side. i'm working hard to build every function to recurse into a programming state. this means we don't really care if we're in a mode 5 loop or if the ecm is unlocked, if we call a programming function, it'll deal with that. i just sent a mode 6 request and it managed to recurse into an unlocked state and send the request. this kind of logic will be invaluable for automatic recovery.

  2. #47
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,031
    things are going well, i did a mock write of the tside today and the errors were minimal, i think i'll have basic flash write working in the next few days.

    tonight's major progress is i built a sequential block mapping thing right into the bin file class, which allows us to prioritize or skip arbitrary write blocks, then run a simple finish_map() algorithm that fills in the blanks. i can later build an optimization algorithm into these methods which will allow us to optimize things like skip points (for example if it's not any faster to skip some particular region due to the yet-to-be-calculated break-even point for flash instructional overhead, it'll just write it anyway.)

  3. #48

  4. #49
    Fuel Injected!
    Join Date
    Mar 2013
    Posts
    1,475
    Nice.
    You may already have other thoughts about the flash process but I can give an idea.

    Between procedural processor and user interface the flash logic can reside.

    Flash logic can be set for each class of pcms, containing steps logic on responses, retries, errors,

    Something like this

    step 1 unlock, if ok goes to step x, if not ok goes to step y, if timer not expired message got, go to step z.
    step 2 upload flash routine, if good go to step 3, if and so on.
    step3 flash eside
    step4 flash tside
    step5 reset pcm
    step6 update vin

    and so on

    It will give great flexibility to add new pcms to the flash list.

  5. #50
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,031
    the main purpose of the processor is flash logic and methods, so it'll be in there. the processor itself is really clean already and way more readable. adding support for a new ecm will probably just require subclassing a similar ecm and overriding a few methods.

  6. #51

  7. #52
    Fuel Injected!
    Join Date
    Jul 2019
    Location
    Orange, CA
    Posts
    757
    Be happy to test that for you if you can point me in the right direction. Anything special I have to do to find out for you?
    1990 Corvette (Manual)
    1994 Corvette (Automatic)
    1995 Corvette (Manual)

  8. #53
    Fuel Injected! spfautsch's Avatar
    Join Date
    Apr 2015
    Location
    Montgomery City, MO
    Age
    53
    Posts
    883
    Seems like it does - I just tested by bringing up coolant temp on the DIC and then pulling the usb cable while logging. After about 30 seconds of silence the temperature updated. Normally all this info (oil, coolant, fuel consumption) is pegged at whatever data it got before eehack connected.

  9. #54
    Fuel Injected!
    Join Date
    Mar 2013
    Posts
    1,475
    The pcm is set to stay silent for 5 seconds, I guess this applies to other modules too, but it might be longer, like 30 seconds.

    The timer expires with no bus activity, any data being send on the data bus, restart the timer.

  10. #55

  11. #56
    Fuel Injected! spfautsch's Avatar
    Join Date
    Apr 2015
    Location
    Montgomery City, MO
    Age
    53
    Posts
    883
    That's just a rough observation, could have been 5 seconds. There's nothing time critical that the CCM does that relies on the aldl data. VSS for speedo and odometer functions must be wired direct. The radio has GM's ridiculously bad speed controlled volume (that even to this day is ridiculously bad) and it works while the CCM is shutup.

  12. #57
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,031
    would sending 0x00 every 200ms or something while idle keep it from trying to reclaim the bus?

    it doesn't matter too much now, this new program treats any noise present on the bus (or crap in the serial echo) as a reason to try to reclaim the bus. it's always aiming for a silent bus before the next command. but i'm worried the ECM will wake up in the short time between when we monitor the bus, and send the next command.

    i'm pretty happy right now, flashhack did a clean read of the t-side without any significant errors and the checksum is valid. changing the response message to mode 5 worked perfectly to drive 'kernel loaded' state. i quit in the middle of a read, and when i restarted the program, it detected the loaded kernel and worked fine. i think its almost ready for alpha testing (once i build all the other boring stuff so people can click buttons and make it work)

  13. #58
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,031
    Quote Originally Posted by spfautsch View Post
    The radio has GM's ridiculously bad speed controlled volume (that even to this day is ridiculously bad) and it works while the CCM is shutup.
    fbodies and bbodies got that hilarious thing too. i kept wondering why my stereo sounded more awful on the highway.

  14. #59
    Fuel Injected!
    Join Date
    Mar 2013
    Posts
    1,475
    [Bwould sending 0x00 every 200ms or something while idle keep it from trying to reclaim the bus?[/B]
    Need some testing with the pcm, but I think a 1 second interval will be much better.

    The ccm might pose some serious problems on mini rom recovery mode. The pcm might froze on any message that is not mode 5 or 6. A verification is needed.

  15. #60
    Fuel Injected! spfautsch's Avatar
    Join Date
    Apr 2015
    Location
    Montgomery City, MO
    Age
    53
    Posts
    883
    Quote Originally Posted by steveo View Post
    fbodies and bbodies got that hilarious thing too. i kept wondering why my stereo sounded more awful on the highway.
    Sorry, can't help but soap-box a bit. A close friend has a 2019 silverado with their latest-and-greatest infotainment / telematics system, and the SCV works the same way it did in the 90s but with a touchscreen UI. In a nutshell the system adds N db of output power based on pre-determined VSS thresholds. The user can adjust how much it adds in three or four extremely coarse increments. But road noise (and all sound for that matter) has the immutable quality of being completely linear. Whatever Delco engineer implemented that "feature" should be forced to listen to Moby Dick on repeat at 140db peak until his ears bleed.

    Back on topic...

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
  •