whitequark[cis] changed the topic of #glasgow to: https://glasgow-embedded.org · digital interface explorer · https://www.crowdsupply.com/1bitsquared/glasgow · code https://github.com/GlasgowEmbedded/glasgow · logs https://libera.catirclogs.org/glasgow · matrix #glasgow-interface-explorer:matrix.org · discord https://1bitsquared.com/pages/chat
leper has quit [Ping timeout: 248 seconds]
leper has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
ali_as has joined #glasgow
ali_as has quit [Remote host closed the connection]
<_whitenotifier-a> [glasgow] joelpmichael closed issue #1007: Off-By-1 error in glasgow.gateware.clockgen.ClockGen causes incorrect clock frequency to be generated - https://github.com/GlasgowEmbedded/glasgow/issues/1007
<_whitenotifier-a> [glasgow] joelpmichael commented on issue #1007: Off-By-1 error in glasgow.gateware.clockgen.ClockGen causes incorrect clock frequency to be generated - https://github.com/GlasgowEmbedded/glasgow/issues/1007#issuecomment-3186394402
redstarcomrade has joined #glasgow
skipwich has quit [Remote host closed the connection]
skipwich has joined #glasgow
adamgreig_ has quit [Server closed connection]
adamgreig_ has joined #glasgow
redstarcomrade has quit [Read error: Connection reset by peer]
sorear has quit [Server closed connection]
sorear has joined #glasgow
Eli2| has joined #glasgow
Eli2_ has quit [Ping timeout: 248 seconds]
mwk has quit [Ping timeout: 252 seconds]
mwk has joined #glasgow
XgF is now known as erincandescent
lxdr533 has quit [Remote host closed the connection]
lxdr533 has joined #glasgow
<_whitenotifier-a> [glasgow] queercat synchronize pull request #1006: Update install.rst to add quoting for Windows. - https://github.com/GlasgowEmbedded/glasgow/pull/1006
redstarcomrade has joined #glasgow
redstarcomrade has joined #glasgow
redstarcomrade has quit [Changing host]
<_whitenotifier-a> [glasgow] whitequark created branch update-lockfile - https://github.com/GlasgowEmbedded/glasgow
<_whitenotifier-a> [glasgow] whitequark opened pull request #1008: Update `pdm.min.lock` - https://github.com/GlasgowEmbedded/glasgow/pull/1008
<_whitenotifier-a> [glasgow] whitequark synchronize pull request #1008: Update `pdm.min.lock` - https://github.com/GlasgowEmbedded/glasgow/pull/1008
redstarcomrade has quit [Read error: Connection reset by peer]
redstarcomrade has joined #glasgow
ali_as has joined #glasgow
ali_as has quit [Client Quit]
ali_as has joined #glasgow
altracer[m] has joined #glasgow
<altracer[m]> CM0+ has DWT, but it does not have ITM/SWO of CM3. Any debugger can poll DWT_PCSR, even a BMP, at 10 kHz realistically, as ersatz orbtop-style PC-sampling, I recorded a couple commits trying to implement that.
<altracer[m]> indulge in Segger SystemView and instrument every primask-touching callsite, to record into ringbuffer of RTT, dump later (instrumenting IRQ in baremetal is standard practice there)
<altracer[m]> Glasgow could be a simple MEM-AP poller unidirectional pipe for select few registers, and USB HS kinda lets you annotate every access I think (limited by SWCLK not USB)
<tpw_rules> standard practice where?
<altracer[m]> in SystemView usage
<tpw_rules> ahh, yeah i am not that rich
<tpw_rules> but i was considering doing something similar
<altracer[m]> "evaluation" to see how industry does it, reimplement if you don't like it
<tpw_rules> another idea i had to sort of do it "deployed" was to have a periodic NMI
<tpw_rules> rp2040 can fire an nmi from a timer
<altracer[m]> likely there's some stupid atomic section with primask because armv6-m doesn't provide other ways (armv7-m ldrex+strex, basepri, etc.)
<tpw_rules> but i'm not quite that desperate and the project isn't quite that desperate
<tpw_rules> yeah i'
<tpw_rules> ve found a few
<tpw_rules> but (un)fortunately the issue is now getting much rarer
<tpw_rules> i really do wonder why rpi souped up an m0+ so much for the rp2040. maybe they didn't want to pay the licensing
<altracer[m]> if you're on rp2040, force the second core poll state of first core via mutual debug, that's inherently faster than SWD
<tpw_rules> i'm not quite sure what you mean. i did see that register to frob the SWD lines from software
<altracer[m]> or push DWT_CYCCNT to mailboxes strategically
<tpw_rules> do i need to find the cortex m0+ debug access point manual?
<tpw_rules> in the diagrams in the datasheet i don't see any debug connection between the cores except SWD
<tpw_rules> (fwiw it also says max SWD frequency of 24MHz which would presumably also apply to the second core)
<altracer[m]> ah no, only rp2350 has loopback mapping of debug APB-AP, on rp2040 you indeed can only force bitbang own SWD pins
<tpw_rules> i see, thanks. so i also gather that CMSIS-DAP and USB are not rated for 10KHz polling, i would need an intelligent debugger somehow anyway right
<whitequark[cis]> to hit more than 8 kHz you'd need to get a packet per microframe
<whitequark[cis]> this is... not totally impossible but rather optimistic to do reliably
josHua[m] has quit [Quit: Idle timeout reached: 172800s]
redstarcomrade has quit [*.net *.split]
flokli has quit [*.net *.split]
Darius has quit [*.net *.split]
FFY00 has quit [*.net *.split]
ePirat has quit [*.net *.split]
g5pw has quit [*.net *.split]
\\ has quit [*.net *.split]
alanvgreen has quit [*.net *.split]
balrog has quit [*.net *.split]
dustinm` has quit [*.net *.split]
pitust has quit [*.net *.split]
remexre has quit [*.net *.split]
puck has quit [*.net *.split]
ari has quit [*.net *.split]
smeding has quit [*.net *.split]
danieli has quit [*.net *.split]
electronic_eel has quit [*.net *.split]
lethalbit has quit [*.net *.split]
feuerrot has quit [*.net *.split]
redstarcomrade has joined #glasgow
flokli has joined #glasgow
Darius has joined #glasgow
FFY00 has joined #glasgow
ePirat has joined #glasgow
g5pw has joined #glasgow
\\ has joined #glasgow
alanvgreen has joined #glasgow
dustinm` has joined #glasgow
pitust has joined #glasgow
balrog has joined #glasgow
remexre has joined #glasgow
puck has joined #glasgow
smeding has joined #glasgow
ari has joined #glasgow
danieli has joined #glasgow
electronic_eel has joined #glasgow
lethalbit has joined #glasgow
feuerrot has joined #glasgow
FFY00_ has joined #glasgow
FFY00 has quit [Remote host closed the connection]
redstarcomrade has quit [Read error: Connection reset by peer]
redstarcomrade has joined #glasgow
galibert[m] has quit [Quit: Idle timeout reached: 172800s]
redstarcomrade has quit [Read error: Connection reset by peer]
_whitelogger has joined #glasgow