Generated overview of PCM Hammer code

They go by many names, P01, P10, P12, P59, E38, VPW, '0411 etc.
Post Reply
User avatar
NSFW
Posts: 745
Joined: Fri Feb 02, 2018 3:13 pm

Generated overview of PCM Hammer code

Post by NSFW »

This was generated by an LLM, so don't trust it entirely...
But I've been browsing it for a few minutes and haven't noticed any major problems.

https://deepwiki.com/PcmHammer/PcmHammer

The section about the logger is kinda confusing, but then again the logging code is kinda confusing too. :)
The sequence diagram of the flash process would be better off without the "Protocol Class" column, but it's pretty good otherwise.

You can make it generate docs for any project by going to deepwiki.com/<accountname>/<reponame>

Gonna try it on the the AllPro code next...
https://deepwiki.com/antuspcm/allpro
Please don't PM me with technical questions - start a thread instead, and send me a link to it. That way I can answer in public, and help other people who have the same question. Thanks!
User avatar
antus
Site Admin
Posts: 8996
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: Onerated overview of PCM Hammer code

Post by antus »

Wow that is absolutely amazing. It makes me feel good about the internal organization of the code. Those flow summaries that talk about capabilities, chip types, kernels, dependencies etc are really helpful. The source code must be reasonably tidy after all. The part which talks about the devices and the inheritance is useful as well. I'll probably start using that myself too keep my head around what is where in the program, especially if we attempt to convert the communications to a state machine to make the whole system more tolerant of modules communicating when they are not expected to during a reflash on a car.
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