porchao has quit [Read error: Connection reset by peer]
atommann has joined #qi-hardware
porchao has joined #qi-hardware
nicksydney_ has quit [Remote host closed the connection]
nicksydney has joined #qi-hardware
jekhor has joined #qi-hardware
wolfspraul has joined #qi-hardware
dandon has quit [Ping timeout: 252 seconds]
xiangfu has quit [Ping timeout: 255 seconds]
xiangfu has joined #qi-hardware
pcercuei has joined #qi-hardware
pcercuei_ has joined #qi-hardware
pcercuei has quit [Ping timeout: 252 seconds]
dandon has joined #qi-hardware
atommann_ has joined #qi-hardware
xiangfu has quit [Remote host closed the connection]
atommann has quit [Ping timeout: 252 seconds]
sb0 has joined #qi-hardware
atommann_ has quit [Quit: Leaving]
jekhor has quit [Ping timeout: 240 seconds]
rz2k has joined #qi-hardware
porchao has quit [Read error: Connection reset by peer]
porchao has joined #qi-hardware
porchao has quit [Client Quit]
porchao has joined #qi-hardware
pcercuei_ has quit [Quit: Lost terminal]
zcrc has joined #qi-hardware
Luke-Jr has quit [Remote host closed the connection]
Luke-Jr has joined #qi-hardware
DocScrutinizer05 has joined #qi-hardware
atommann has joined #qi-hardware
FDCX has joined #qi-hardware
rz2k has quit []
<larsc>
Hm, is there like a special name for non-leaf nodes in a graph?
<ysionneau>
"root of a subtree" ? :p
<wpwrak>
inner/internal nodes ?
<zcrc>
intermediate nodes?
<zcrc>
(if your graph models a path)
<wpwrak>
the consensus seems to be "in* nodes" :)
<zrafa>
wpwrak: some status with little board: I did some flash using ben.c libswd.c into mk26. I used ben.c, flashed and then the mcu did not talk with me anymore ( I do not get any answer now, neither I get the ID from mcu :( ). I seems to me like to flash incorrect firmware could hurt right?
<wpwrak>
hmm yes, it could (if you activate code protection in an particularly bad way). but ... you should still be able to establish basic SWD communication.
<wpwrak>
is that a board with more capacitors or still your first version ?
<zrafa>
the first versionyet
<zrafa>
but no more basic swd communication
<larsc>
inner nodes sounds good, thanks
<wpwrak>
zrafa: hmm, maybe your code causes the device to draw a lot of current and this then crashes the chip, due to insufficient buffering. that could explain such issues.
<wpwrak>
you may also want to check your cables. you wouldn't be the first to spend days searching for a software problem when in truth it's a broken connection ;-)
<wpwrak>
to work around supply problems, maybe increase the duration of reset before trying to talk via SWD. (right now, there's no delay there)
sb0 has quit [Ping timeout: 265 seconds]
sb0 has joined #qi-hardware
<zrafa>
wpwrak: I will check, thanks a lot.
<DocScrutinizer05>
particularly for flashing the power supply has to be flawless
<DocScrutinizer05>
page erase seems to be power hungry
<wpwrak>
DocScrutinizer05: "should". i'm surprised with what sort of atrocities you can usually get away with ;-)
<wpwrak>
but yes, if your power is crappy AND you experience problems, there's your #1 suspect
<DocScrutinizer05>
not with a failed page erase
<DocScrutinizer05>
aiui the ROMBOOT or whatever it's called should kick in first nevertheless, no?
<DocScrutinizer05>
IOW even with a bogus content of flash stroage, the communication to device should still work for the initial unbrickable ROMBL based part
<wpwrak>
i'm not even sure there's much of a ROM in these chips. but there's something better: the ARM SWD hardware. that should work no matter what else the CPU is doing. well, except if the reset pin is configured as I/O.
<DocScrutinizer05>
*shrug*
<wpwrak>
there are basically two ways to "brick" that chip: a) lock the flash and disallow mass erase. that will prevent any alteration of the flash. that is, unless you've set a "backdoor key" or you're freescale and the user has not disabled freescale's backdoor key (or maybe freescale have a 2nd key you can't disable, then you'd have to be able to terrorize them into applying that or giving it to you)
<wpwrak>
2) disable the reset pin by clearing a specific bit in the Flash. that should also prevent SWD from being accessible.
arielenter has joined #qi-hardware
<wpwrak>
(but i could be wrong on that ... documentation isn't entirely unambiguous on this issue)