PCM Logger test simulation

They go by many names, P01, P59, VPW, '0411 etc. Also covering E38 and newer here.
User avatar
Gampy
Posts: 2333
Joined: Sat Dec 15, 2018 7:38 am

PCM Logger test simulation

Post by Gampy »

Hi all,

I need some ideas/help on how I can setup my bench to tickle a value in PCM RAM, so I can read it with PCM Logger and know that I'm getting whats expected.

I've thought about two ways, though I really don't know how to pull them off.

1) Editing a bin so it loads a specific value to RAM upon boot. (Parameter Sector maybe)
. . This would require flashing and a reboot to see the change. I'm ok with that.

2) Put a potentiometer or ??something?? on an input that has a RAM address that I could then read with PCM Logger.
. . This would not provide an EXACT value for more accurate test data ...

Both take a RAM address that I don't know ??
#1 Takes an exact bin location I don't know ??
#2 Takes a device of some type I don't know ??

Os's, either 12216125 (512k) or 12587603 (1m)

Answers, Comments, Thoughts, Ideas welcome.

Thanks
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
MudDuck514
Posts: 397
Joined: Wed Jul 05, 2017 8:30 am
cars: 2001 Pontiac Grand AM SE
LD9 2.4l I4, 4T40E
2005 Chevrolet Venture
LA1 3400 V6, 4T65E
Location: North TX, USA

Re: PCM Logger test simulation

Post by MudDuck514 »

Hi all;

Per #2:
How about using an IAT sensor connected to the PCM and monitoring for a change?
perhaps someone else could tell you HOW to monitor a location as I have no clue.

Mike
bubba2533
Posts: 498
Joined: Wed Apr 11, 2018 8:50 am
cars: 03 Chevy S10 Turbo V6

Re: PCM Logger test simulation

Post by bubba2533 »

Luckily both PCM's share TPS pins and ram addresses.

P01 512k
12216125 OS
12212156 OS

P59 1mb
12587603 OS

C1 - Pin 60: Low Ref
C1 - Pin 8: +5 Volt Ref
C2 - Pin 24: TPS Sensor Signal

Raw TPS Volts (0-1023 10-bit)
0xFFF2FC
LS1 Boost OS V3 Here. For feature suggestions post in here Development Thread. Support future development ->Patreon.
User avatar
Gampy
Posts: 2333
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Logger test simulation

Post by Gampy »

Anyone know if either of them would be affected by other influences, i.e. things missing/not working, it is just a simple bench setup, PCM and DLC.

I don't have either sensor on hand, I don't mind ordering, that will take time ...

I would think the TPS would be easily spoofable if I understood how it worked for sure, it just reads 0-5v and runs it through the A/D ??

Could I just use a power supply to supply 0 to 5v on C2 - Pin 24 ??
Or would that teach the circuit that nasty smoking habit ...

Thank you!
-Enjoy
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
bubba2533
Posts: 498
Joined: Wed Apr 11, 2018 8:50 am
cars: 03 Chevy S10 Turbo V6

Re: PCM Logger test simulation

Post by bubba2533 »

That is the raw ADC input, so not impacting by anything else. I would just get a simple 10k potentiometer and wire to those pins.
LS1 Boost OS V3 Here. For feature suggestions post in here Development Thread. Support future development ->Patreon.
User avatar
antus
Site Admin
Posts: 8250
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: PCM Logger test simulation

Post by antus »

yeah pot or switch. you could switch the signal to either the 5v or low and you should get values close to 0 or 255 in ram.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
bubba2533
Posts: 498
Joined: Wed Apr 11, 2018 8:50 am
cars: 03 Chevy S10 Turbo V6

Re: PCM Logger test simulation

Post by bubba2533 »

That specific address is 10-bit

There is an 8-bit address, but it’s not common across the different OS’s
LS1 Boost OS V3 Here. For feature suggestions post in here Development Thread. Support future development ->Patreon.
User avatar
Gampy
Posts: 2333
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Logger test simulation

Post by Gampy »

bubba2533 wrote: C1 - Pin 60: Low Ref
C1 - Pin 8: +5 Volt Ref
C2 - Pin 24: TPS Sensor Signal
So I don't teach this thing to smoke ...

[edit]
And I would of taught it a bad habit!

Incorrect,
10k pot hookup ... ??
Right = C1 - Pin 60: Low Ref
Middle = C1 - Pin 8: +5 Volt Ref
Left = C2 - Pin 24: TPS Sensor Signal
Correct,
10k pot hookup ... ??
Right = C1 - Pin 60: Low Ref
Middle = C2 - Pin 24: TPS Sensor Signal
Left = C1 - Pin 8: +5 Volt Ref
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
User avatar
antus
Site Admin
Posts: 8250
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: PCM Logger test simulation

Post by antus »

pot has 3 pins. one end to ground, other end to +5v, the middle one (the arm that sweeps on the resistor pad) to the sensor. If you swap both ends over you'll reverse the voltages and swap whether a left to right sweep is low to high or high to low. Just dont connect +5v and ground (low ref) directly together. Thats bad.
Attachments
potentiometer.png
potentiometer.png (31.6 KiB) Viewed 2616 times
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
Gampy
Posts: 2333
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Logger test simulation

Post by Gampy »

Oh, ok, gotcha ...

Thank you!
Intelligence is in the details!

It is easier not to learn bad habits, then it is to break them!

If I was here to win a popularity contest, their would be no point, so I wouldn't be here!
Post Reply