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.irclog.whitequark.org/glasgow · matrix #glasgow-interface-explorer:matrix.org · discord https://1bitsquared.com/pages/chat
siriusfox has quit [Quit: ZNC 1.8.2+deb2ubuntu0.1 - https://znc.in]
<joshua_> also not being able to know how long the IR is really sucks too.
<whitequark[cis]> the glasgow JTAG applet does the maximum possible effort in estimating IR lengths in a multi-TAP chain
<vegard_e[m]> going by the block diagram on page 529, the TAP might not implement anything more than plain boundary scan: https://www.nxp.com/docs/en/reference-manual/MPC8245UM.pdf
<whitequark[cis]> the reason the diagram looks that way is probably because they're hiding how the debug interface works
<whitequark[cis]> this is likely in a misguided attempt to impede security research
<whitequark[cis]> vendors lie about JTAG all the time
<vegard_e[m]> the BSDL mentions a TLMSEL, and a TLM is apparently a «TAP linking module»
<whitequark[cis]> oh, it has a JTAG mux. how exciting
<vegard_e[m]> docs for other freescale chips say a little bit more about it, but not much useful
josHua[m] has joined #glasgow
<josHua[m]> 2005 is kind of from the time before security, though
siriusfox has joined #glasgow
<whitequark[cis]> sorta but not really? freescale took it more seriously than most
<jn> the Abatron BSI3000 debugger (which i have access to) claims to support MPC824x among other chips
<jn> semi-official statement i've read on the freescale/nxp forum: https://boopsnoot.de/@jn/112402035920777862
<jn> "This interface uses internal possibilities of processor core and this information is closed."
<whitequark[cis]> josHua: by "security" i mean "debug interfaces can often be used to bypass code protection"
<whitequark[cis]> which was never well tolerated
<josHua[m]> yeah, in the back of my mind, I sort of think of that era as having debug interfaced undocumented 1) because they couldn't be bothered to document them, and 2) because they would expose microarchitectural details that they would rather keep proprietary for no real reason
<josHua[m]> rather than 3) because there was any expectation that code protection actually worked against any attacker who was capable of looking at a block diagram
<whitequark[cis]> mmmhm
<jn> i definitely found some microarchitectural details in there. a pre-decoded instruction format, i think
<jn> the code (in another debugger's firmware) looks like they compiled a netlist to C and then to ppc asm
<whitequark[cis]> ow
<jn> the source/destination register fields in PPC instructions are a bit inconsistent. the pre-decoder seems to normalize them, swapping them in some instruction formats
siriusfox has quit [Quit: ZNC 1.8.2+deb2ubuntu0.1 - https://znc.in]
siriusfox has joined #glasgow
siriusfox has quit [Quit: ZNC 1.8.2+deb2ubuntu0.1 - https://znc.in]
redstarcomrade has joined #glasgow
siriusfox has joined #glasgow
mwk has quit [Ping timeout: 272 seconds]
duskwuff[m] has joined #glasgow
<duskwuff[m]> "we built this debug port for our own engineers, its utility to outside software developers is a convenient* side effect"
FFY00_ has quit [Remote host closed the connection]
Eli2| has joined #glasgow
Eli2_ has quit [Ping timeout: 248 seconds]
tec has quit [Quit: bye!]
tec has joined #glasgow
<chipb> can’t charge your customers extortionate rates for debug probes and software if they can just build their own for less cost…
<jn> chipb: yeah, that might be the main reason
redstarcomrade has quit [Read error: Connection reset by peer]
siriusfox has quit [Ping timeout: 255 seconds]
q3k[cis] has joined #glasgow
<q3k[cis]> <josHua[m]> "2005 is kind of from the time..." <- i mean, even the AVR JTAG docs are withheld for the same reason, this isn't anything new
<q3k[cis]> (of course someone reverse engineered this, anyway http://ftp.twaren.net/Unix/NonGNU/freeice/AVR-OCD-Documentation.html )
meklort_ has joined #glasgow
meklort has quit [Ping timeout: 246 seconds]
meklort_ is now known as meklort
urja has quit [Read error: Connection reset by peer]
urja has joined #glasgow
trh has quit [Ping timeout: 248 seconds]
dustinm`_ has quit [Ping timeout: 252 seconds]
dustinm` has joined #glasgow
jstein has quit [Remote host closed the connection]