nicksydney has quit [Remote host closed the connection]
atommann has joined #qi-hardware
atommann has quit [Ping timeout: 272 seconds]
atommann has joined #qi-hardware
<DocScrutinizer05>
wpwrak: sounds about right, yes.
<DocScrutinizer05>
particularly when you talk about ETB/ETM with all the hw-triggers and funnel and whatnot stuff associated
<DocScrutinizer05>
but for the power it offers, this stuff asks a price in complexity
<DocScrutinizer05>
aside from my polish colleague at ST-M being the one to develop proprietary solution for ETM, I also had a look into that stuff for myself in private, since that colleague's task gave me the idea of implementing something similar like that "ETB local loopback" for linux. Finally I found out there's already some project aiming at exactly that
<DocScrutinizer05>
"post mortem" backtrace of last several 1000s of branch instructions (and obviously all the unconditional linear code in between), plus maybe even data trace for all writes, all incl timestamps, and "for free" from a performance POV. Sounds like mad useful
<DocScrutinizer05>
especially when you don't need that damn debug hw IF with its proprietary "JTAG" and high speed databus or whatever it is, but can do this on *any* ARM Cortex core (which has ETM IP)
<DocScrutinizer05>
indeed the documentation isn't really welcoming you, learning curve is pretty steep
atommann has quit [Ping timeout: 258 seconds]
<DocScrutinizer05>
heck, even ARM assembler code is indigestible, particularly when your compiler optimizes the hell out of source code, moving around and swaping and inverting whole sections of code
<DocScrutinizer05>
more often than you'd like to, you find some code doing something en passant that maybe is needed 150 lines of sourcecode later, or been in relation to a sourcode line 150 lines earlier and not been neeeded until now
atommann has joined #qi-hardware
xiangfu has joined #qi-hardware
<DocScrutinizer05>
when you think you could find a few bits of your 'if then else' in code so you understand what it's just doing... forget it, the assembler code structure often has not the faintest similarities with what you wrote in a high level language
xiangfu_ has quit [Remote host closed the connection]
xiangfu has quit [Remote host closed the connection]
atommann has quit [Ping timeout: 258 seconds]
atommann has joined #qi-hardware
<wpwrak>
DocScrutinizer05: hah, nothing like ETB/ETM. it's much simpler: new chip arrived as "secure". if it's "secure" you can't debug or program it, but you may still be able to do a mass-erase. it says mass-erase is allowed. so i tried to do that.
<wpwrak>
but ... it doesn't take the command. doesn't ack it. so i went through all the layers to see if any of them had complains, if i had gotten any of the many configuration and control bits wrong, etc.
atommann has quit [Ping timeout: 260 seconds]
<wpwrak>
but i can't find any flaw in what i'm doing. the core is in reset. i tried the debug domain power up process in all possible variations, etc., checked acks and errors at all three layers involved, and so on. nothing.
<whitequark>
wpwrak: have you complained to the vendor?
<whitequark>
occasionally, it works really well
<wpwrak>
i'm not sure they can be of much help. i went through all the resources (fora, gdb source, etc.), where these problems are being discussed. and it seems that i'm doing everything right. in fact, there are several areas i address that nobody else seems to mention when struggling with this specific problem.
<whitequark>
perhaps it's a counterfeit chip?
<whitequark>
i mean, someone i know had similar questions for ti, and eventually they asked him to send the chip back and in a week or two added an errata :D
<wpwrak>
pretty unlikely. a) it comes from digi-key, b) the chip right next to it on the cut tape works fine, c) besides not accepting the mass erase it seems to work fine
<wpwrak>
(errata) hehe :) lemme check if they have an update on these ...
<wpwrak>
of course, having to send my board around wouldn't be such a great thing for me
<wpwrak>
whee, seems that today officially spring started ! :)
<whitequark>
huh?
<whitequark>
spring?
<whitequark>
oh right southern hemisphere
<wpwrak>
;-)
<kyak>
do you really call it "spring"?
<wpwrak>
hmm no, no new errata
<wpwrak>
well, "primavera" in spanish :)
<pcercuei>
that means that fall started here :(
<kyak>
so it's really "spring".. i thought season names are tied to months worldwide
<kyak>
no matter what seasons it feels like
<pcercuei>
no, in the southern hemisphere winter is in july/august and summer is in december/january
<DocScrutinizer05>
kyak: now that sounds odd
<DocScrutinizer05>
snow in summer, heatwaves in winter. NAH!
<kyak>
it sounds ok for winter/summer.. but for spring/autumn - dunno :)
<DocScrutinizer05>
well, given the sun also runs "the wrong way round" on southern hemisphere, it might actually sound correct when seasons also run backwards ;-P
<whitequark>
so if one cleverly organizes their position, it's possible to achieve eternal summer
<whitequark>
s/position/location
<qi-bot>
whitequark meant: "so if one cleverly organizes their location, it's possible to achieve eternal summer"
<pcercuei>
go to Colombia
<pcercuei>
eternal summer there
<wpwrak>
DocScrutinizer05: the sub still rises in the east and sets in the west, even here in the south ;-)
<DocScrutinizer05>
I know
<DocScrutinizer05>
you even ruined the compass ;-P
<wpwrak>
suN even. we have many miracles, but no flying submarines just yet :)
<DocScrutinizer05>
yeah, mueacles like sun from north in the noon
<DocScrutinizer05>
miracles*
<wpwrak>
on more than half of the planet, that's something entirely normal to experience every year
<wpwrak>
here, we have it at least always in the north. not sneaking behind our backs and shining from the south. something our northern comrades have to endure :)
<DocScrutinizer05>
figure poles! ;-D
<DocScrutinizer05>
sun from any arbitrary direction
<DocScrutinizer05>
a NIGHTMARE! ;-P
<DocScrutinizer05>
only mildly mitigated by a 6 months of contiguous night, which I'd adore a lot