Page 17 of 56

Re: PCM Hammer fails on P12

Posted: Mon Feb 28, 2022 12:19 pm
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.

Re: PCM Hammer fails on P12

Posted: Mon Feb 28, 2022 12:36 pm
by Gampy
That's what I'm thinking, the slave!

Re: PCM Hammer fails on P12

Posted: Mon Feb 28, 2022 12:51 pm
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!

Re: PCM Hammer fails on P12

Posted: Mon Feb 28, 2022 12:53 pm
by antus
Excellent work! Congrats!

Re: PCM Hammer fails on P12

Posted: Mon Feb 28, 2022 1:22 pm
by Gampy
Test is out to see if it can hear ...

Re: PCM Hammer fails on P12

Posted: Mon Feb 28, 2022 1:41 pm
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!

Re: PCM Hammer fails on P12

Posted: Mon Feb 28, 2022 2:02 pm
by Gampy
The latest log,
VPWExplorer_debugLog_20220227@223631.txt
(6.39 KiB) Downloaded 76 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 ...

Re: PCM Hammer fails on P12

Posted: Mon Feb 28, 2022 2:03 pm
by antus
Is that the full P01/P59 based C kernel? with CRC and everything?

Re: PCM Hammer fails on P12

Posted: Mon Feb 28, 2022 2:22 pm
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 ...

Re: PCM Hammer fails on P12

Posted: Mon Feb 28, 2022 2:33 pm
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.