chipxxx has quit [Remote host closed the connection]
chipxxx has joined #asahi-re
chipxxx has quit [Read error: Connection reset by peer]
chipxxx has joined #asahi-re
chipxxx has quit [Remote host closed the connection]
chipxxx has joined #asahi-re
SSJ_GZ has joined #asahi-re
<Jamie[m]>
damn, this isn't going to work in a straightforward way
<Jamie[m]>
if i set a watchpoint to happen on a write, the write happens, the instruction AFTER IT happens, and then my debugmonitor is hit
<Jamie[m]>
if it was one cycle quicker, we could look back an instruction and parse the opcode, then inspect the relevant register state to figure out what the peripheral access address+data was
<Jamie[m]>
but as it is, i think a branch could happen in the middle
<Jamie[m]>
and we've lost all information
<Jamie[m]>
there might be an alternative though
<Jamie[m]>
not using the dwt at all
<Jamie[m]>
which is that the debugmonitor can perform single-stepping
<Jamie[m]>
so in theory, we could have it run the whole firmware single-stepped, inspecting opcode+registers to trace relevant actions
<Jamie[m]>
i wonder how slow that is, and how much performance wiggle room we have before hitting timeouts
chipxxx has quit [Read error: No route to host]
goldsoultheory has joined #asahi-re
goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goldsoultheory has joined #asahi-re
<Jamie[m]>
hehehe i think it's working
<Jamie[m]>
(running the fw under single-stepping, that is, including in interrupts, and still decoding video successfully)
chipxxx has joined #asahi-re
goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goldsoultheory has joined #asahi-re
goldsoultheory has quit []
goldsoultheory has joined #asahi-re
goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goldsoultheory has joined #asahi-re
goldsoultheory has quit []
goldsoultheory has joined #asahi-re
goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goldsoultheory has joined #asahi-re
goldsoultheory has quit []
chipxxx has quit [Ping timeout: 480 seconds]
polarn[m] has joined #asahi-re
<marcan>
is this for fun or are you planning on writing your own firmware for this one? :>
systwi has quit [Read error: Connection reset by peer]
systwi has joined #asahi-re
Tupeta[m] has joined #asahi-re
<Jamie[m]>
potentially
<Jamie[m]>
given the messiness of the firmware interface
<Jamie[m]>
(or realistically potentially interfacing directly with the registers without going through the firmware)
<Jamie[m]>
they're all mapped directly, the only thing i think we would need from firmware (except as an optimisation) would be for the interrupts to be forwarded
<sven>
even the interrupts might also be routed to AIC
XeR` has quit []
XeR has joined #asahi-re
goldsoultheory has joined #asahi-re
goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goldsoultheory has joined #asahi-re
goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]