Results 1 to 15 of 511

Thread: Corvette CCM Reverse Engineering Anyone?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Fuel Injected!
    Join Date
    Jul 2019
    Location
    Orange, CA
    Posts
    757
    Have you tried shutting down all the ADC registers before dropping into sleep? Apparently just using

    Code:
    ADCSRA = 0;
    reduces power consumption by three orders of magnitude. It'd be like Sketch J here: http://www.gammon.com.au/power

    Apparently that sketch on a bog standard Arduino draws only 0.15 microamps while sleeping, which is two orders of magnitude less than I thought. Should work on the Mega.
    1990 Corvette (Manual)
    1994 Corvette (Automatic)
    1995 Corvette (Manual)

  2. #2
    Fuel Injected! spfautsch's Avatar
    Join Date
    Apr 2015
    Location
    Montgomery City, MO
    Age
    53
    Posts
    883
    Nick's examples were done using a 328p on a custom board without voltage regulators, leds, peripherals, etc.

    The mega boards have two voltage regulators, one of which I believe is linear and therefor very inefficient. According to this [link] the lowest power consumption it's capable of while using the on-board regulators is ~27 ma. That's with the adc turned off and processor in PWR_SAVE mode. Meh. Add on the logger shield and sd card and it uses even more power.

    Was able to clean up a few issues and it looks like latching relay will work as planned with the possible exception of key in + key on after the CCM has gone to sleep. But I don't generally sit in the car with the door closed without the key in the ignition.

  3. #3
    Fuel Injected!
    Join Date
    Jul 2019
    Location
    Orange, CA
    Posts
    757
    Ah, fair enough. Guess it's yet another thing for me to experiment with on my own. I enjoy that though so, hey!

    It took me a second to figure out why "key-in+key-on after CCM sleeps" would be a problem, then I remembered that the logger was being triggered from the courtesy lights. Considering the use case for this device, I highly doubt that will be an issue. An errata to make sure to spell out in documentation, sure, but I think anyone who would have one of these left plugged in is going to get in and out of their car for drive cycles.
    1990 Corvette (Manual)
    1994 Corvette (Automatic)
    1995 Corvette (Manual)

  4. #4
    Fuel Injected! spfautsch's Avatar
    Join Date
    Apr 2015
    Location
    Montgomery City, MO
    Age
    53
    Posts
    883
    SSRs showed up a few days ago and I have the completed system ready to go in the car. The "joys" of x-mas shopping with the wife took up today but I hope to get on it tomorrow.

    What is this "documentation" you speak of? ;-).

  5. #5
    Fuel Injected! spfautsch's Avatar
    Join Date
    Apr 2015
    Location
    Montgomery City, MO
    Age
    53
    Posts
    883
    Here's a very, very rough beta release.

    aldl_logger-0.9.4

    Project page here [click].

    Discovered that the analog 5v regulator on the mega wasn't quite up to the task of powering all the uarts and leds while writing to SD with 14v input so added a 7805 and powered the 5v rail directly instead of the Arduino's VIN.

    The latching power relay seems to work as well as could be expected. The only high-priority change I anticipate adding is a long-term timer to shut power off to Arduino after no CCM / PCM / datastream sync. Currently it closes the open files on the SD after logging data has been written and the CCM has stopped broadcasting. Sometimes this is as short as 5-10 seconds after closing a door without key in ignition.

    This is a very roughly crafted beta release. Almost everything needs to be fine tuned, but it seems to work as intended. Writes PCM data from the ALDL to a .eedata file, diy-ltcc logging to a .log file, and it's own debugging information to a plaintext .dbg file.

    kur4o if you're interested in something like this for the F body keep it in memory. There are a lot of design decisions I made with this that hinge around the CCM being bus master and having to silence it and then seamlessly hand master back after the PCM goes to sleep. It's certainly possible to make loads of conditionals to handle the differences, but it also might make more sense to fork a different firmware.

  6. #6
    Electronic Ignition!
    Join Date
    Apr 2019
    Age
    57
    Posts
    16
    i know this thread has been dormant for a while, but after a couple years of lurking and learning on this forum i finally think i can contribute something.

    I bought a 94 Corvette in Jacksonville FL and drove it home to Canton MI with absolutely zero issues. Then, like you do after a trip like that, I pulled that car apart as a donor for my mid-engine '65 Corvair project. I kept the entire electrical system from the C4, including the CCM. If one of you could use it to further the R&D, i'd be happy to send it your way, for $free, and i'll even cover shipping. PM me if you could make use of it.

    Donor was automatic with 2.59 rear. I've got a pic of the options sticker if that would help.

    Regards,
    Patrick
    Last edited by AngryCorvair; 07-29-2022 at 10:27 PM. Reason: adding info

  7. #7
    Fuel Injected! spfautsch's Avatar
    Join Date
    Apr 2015
    Location
    Montgomery City, MO
    Age
    53
    Posts
    883
    GASP! You drove a perfectly functional '94 1000 miles only to take a sawzall to it?

    Sure, I'd be thrilled to have a CCM out of a '94 for an eeprom dump. You covering shipping is out of the question though. PM forthcoming. My wife is going to kill me.

    It's ironic this would pop up today. Yesterday afternoon I pulled my '95 out of the storage unit after sitting for a little over six weeks and drove it to work today so the battery would get a decent charge. In the 7 months since the last post here about the datalogger, I had to refer back to my notes b/c I'd completely forgotten how to turn it off so the SD card could be safely inserted.

Similar Threads

  1. car bogs down when switching into reverse/D
    By CAMMED LT1 in forum GM EFI Systems
    Replies: 4
    Last Post: 09-27-2021, 12:34 AM
  2. 12212156 code reverse engineering project in Ghidra
    By dzidaV8 in forum OBDII Tuning
    Replies: 8
    Last Post: 01-13-2020, 11:04 AM
  3. Help!! 93 Lt1 6M Reverse lockout
    By noeysuarez in forum GM EFI Systems
    Replies: 3
    Last Post: 09-14-2017, 08:17 AM
  4. 4l60e reverse boost valve location and procedure
    By JTodd in forum Introductions
    Replies: 1
    Last Post: 04-19-2013, 01:20 AM
  5. T56 reverse lockout options with TBI PCM
    By CDeeZ in forum GM EFI Systems
    Replies: 1
    Last Post: 02-26-2013, 05:06 PM

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
  •