PCM Hammer P12 development

They go by many names, P01, P10, P12, P59, E38, VPW, '0411 etc.
User avatar
antus
Site Admin
Posts: 9017
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 Hammer fails on P12

Post by antus »

well it'll be forever, because the watchdogs are happy. its not multi threaded, and when its in the uploaded kernel there is no OS, thus there is nothing else. the only possibility being the slave cpu, if its doing anything.

whats different about the eor is I guess is it depends what is on the pin. this is where I start guessing so big grain of salt here Im probably introducing more ideas that are not part of it.. but if the bit takes a moment to change, and if it is a physical bi-directional pin, maybe it switches slower or because it waits for the first change to stick before it tries again. Maybe it needs to be set/clear/set/clear and the hardware internally sees set/set/clear and crashes for my implementation, but it doesnt see the same with an eor (read/set/read/clear). Maybe longer sleep between watchdog polls would also fix it, or at least between calls to watchdog 2.
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: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer fails on P12

Post by Gampy »

That's what I'm thinking, the slave!
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
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer fails on P12

Post by Gampy »

Latest test log,
VPWExplorer_debugLog_20220227@213956.txt
(8.54 KiB) Downloaded 142 times
Spoiler alert ...
[09:39:00:830] RX: 6C F0 10 82 40 AA BB
IT SPEAKS!
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: 9017
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 Hammer fails on P12

Post by antus »

Excellent work! Congrats!
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: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer fails on P12

Post by Gampy »

Test is out to see if it can hear ...
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
Tazzi
Posts: 3552
Joined: Thu May 17, 2012 8:53 pm
cars: VE SS Ute
Location: WA
Contact:

Re: PCM Hammer fails on P12

Post by Tazzi »

Yeah, Im thinking that the 'cop2' is actually something to ping a slave chip or similar. Since its addressing was related to pins off the top of my head

Awesome work getting it to speak!
Your Local Aussie Reverse Engineer
Contact for Software/Hardware development and Reverse Engineering
Site:https://www.envyouscustoms.com
Mob:+61406 140 726
Image
User avatar
Gampy
Posts: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer fails on P12

Post by Gampy »

The latest log,
VPWExplorer_debugLog_20220227@223631.txt
(6.39 KiB) Downloaded 75 times
Spoiler alert,
[10:35:54:770] RX: 6C F0 10 76 00 73
[10:35:54:773] Found response, Success
[10:35:54:774] Kernel upload 100% complete.
[10:35:54:780] Kernel uploaded to PCM succesfully...
[10:35:54:788] Sending 'test device present' notification.
[10:35:54:790] TX: 8C FE F0 3F
[10:36:15:723] TX: 6C 10 F0 3D 00
[10:36:15:724] RX: 6C F0 10 7D 00 82 40 AA BB
[10:36:15:726] Kernel Version: 8240AABB
Better then my kids, at least it listens!

I guess it's time to try reading ...
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: 9017
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 Hammer fails on P12

Post by antus »

Is that the full P01/P59 based C kernel? with CRC and everything?
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: 2332
Joined: Sat Dec 15, 2018 7:38 am

Re: PCM Hammer fails on P12

Post by Gampy »

No, but I am about to go there ... It was a slightly tweeked micro-kernel.c
I'm about to do a read kernel.

It's possible reading is in the real near future ...
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: 9017
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 Hammer fails on P12

Post by antus »

mainly it just depends on how much ram its got, I think. thats a big beast, if its got 8kb usable... fingers crossed.
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
Post Reply