Page 65 of 97

Re: PCM Hammer - new ls1 flash tool

Posted: Wed Jan 01, 2020 11:43 am
by Gampy
Vampyre wrote:I'll check the first fail msg and see what it says, other program sends 36 80 not 36 00. Wonder if that has anything to do with it
I think you are comparing opposite ends of the binary ...

I do not know the exact proper names, however,
36 00 is receive/write.
36 80 is receive/write and then execute what was just received/written, I believe (pretty sure) this must be the last packet ... not 100% sure, never tested myself.

Re: PCM Hammer - new ls1 flash tool

Posted: Wed Jan 01, 2020 12:01 pm
by Vampyre
the other program loads the kernel in one upload hammer is trying to load it in sections.

nope antus the 7f code is first thing that pops up after code tries to upload.

found in the code where it mentions hard coding 91 5E, but it says using 80 00 and file length instead. Now ill try and figure out how to hard code 91 50.

really wish I hade a terminal to just straight send commands so I could test crap easier.

Re: PCM Hammer - new ls1 flash tool

Posted: Wed Jan 01, 2020 12:10 pm
by Gampy
Upload a kernel, then use Task Manager to Task Kill the application.

At that point the kernel is still running and you can use PuTTY to attach to the comport and send commands.

I do not know if that works with the 'other program' ... It does with PcmHammer.

Re: PCM Hammer - new ls1 flash tool

Posted: Wed Jan 01, 2020 12:21 pm
by Vampyre
problem is I cant get the kernel to load

Re: PCM Hammer - new ls1 flash tool

Posted: Thu Jan 02, 2020 8:07 am
by Vampyre
well can only get the test file kernel to load and it bricks pcm, pretty sure with all the errors that kernel nvr shut down

Re: PCM Hammer - new ls1 flash tool

Posted: Thu Jan 02, 2020 9:41 am
by Gampy
What are you using for a test kernel, is it a real live kernel??

Re: PCM Hammer - new ls1 flash tool

Posted: Thu Jan 02, 2020 9:58 am
by Vampyre
no just test bytes

good news left it powered down for a while and its good again

Ive gotten to load a few times with smaller files with no issue

Re: PCM Hammer - new ls1 flash tool

Posted: Thu Jan 02, 2020 10:02 am
by Vampyre
darkhorizon also got back to me and may have a test read kernel i can use and key algo set up so no more hard coding, he did let me know that hes pretty sure its algo 13 for the P04 v6 pcm

Re: PCM Hammer - new ls1 flash tool

Posted: Thu Jan 02, 2020 10:05 am
by antus
What happens if you move the load address back or forward a byte or two? Change the size of the file a byte or two larger or smaller? We'll be needing to make a kernel that talks pcmhammer protocol.

Re: PCM Hammer - new ls1 flash tool

Posted: Thu Jan 02, 2020 10:11 am
by Vampyre
testing file size now antus so far 4096 is to much looks like the p04 doesnt like multi part upload for kernel, also hard coded it to 915E so once I max out size ill move back some