#qi-hardware IRC log for Thursday, 2014-04-24

larscHm, is there like a special name for non-leaf nodes in a graph?13:30
ysionneau"root of a subtree" ? :p13:31
wpwrakinner/internal nodes ?13:39
zcrcintermediate nodes?13:40
zcrc(if your graph models a path)13:41
wpwrakthe consensus seems to be "in* nodes" :)13:41
zrafawpwrak: 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?13:43
wpwrakhmm yes, it could (if you activate code protection in an particularly bad way). but ... you should still be able to establish basic SWD communication.13:45
wpwrakis that a board with more capacitors or still your first version ?13:46
zrafathe first versionyet13:48
zrafabut no more  basic swd communication13:49
larscinner nodes sounds good, thanks13:51
wpwrakzrafa: 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.14:21
wpwrakyou 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 ;-)14:22
wpwrakto work around supply problems, maybe increase the duration of reset before trying to talk via SWD. (right now, there's no delay there)14:26
zrafawpwrak: I will check, thanks a lot. 14:59
DocScrutinizer05particularly for flashing the power supply has to be flawless15:00
DocScrutinizer05page erase seems to be power hungry15:00
wpwrakDocScrutinizer05: "should". i'm surprised with what sort of atrocities you can usually get away with ;-)15:01
wpwrakbut yes, if your power is crappy AND you experience problems, there's your #1 suspect15:01
DocScrutinizer05not with a failed page erase15:01
DocScrutinizer05aiui the ROMBOOT or whatever it's called should kick in first nevertheless, no?15:02
DocScrutinizer05IOW even with a bogus content of flash stroage, the communication to device should still work for the initial unbrickable ROMBL based part15:04
wpwraki'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.15:04
DocScrutinizer05*shrug*15:05
wpwrakthere 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)15:08
wpwrak2) disable the reset pin by clearing a specific bit in the Flash. that should also prevent SWD from being accessible.15:10
wpwrak(but i could be wrong on that ... documentation isn't entirely unambiguous on this issue)15:16
wpwrakzrafa: https://community.freescale.com/message/380989#380989              "Note that it is important to have the power supply capacitors otherwise the device programs erratically." :)16:44
wpwrakyou may want to check nRESET with a scope. if you can see that 125 kHz pattern, the chip is looping through reset16:47
DocScrutinizer05toldya17:11
DocScrutinizer05moo dos1 err DocScrutinizer0517:26
DocScrutinizer05qi-bot: 1+117:41
dos1DocScrutinizer05: sup?18:25
DocScrutinizer05fine weather18:25
DocScrutinizer05and Tim riker fixing another bug in bot I spotted18:25
DocScrutinizer05(you might have noticed bot leaving&joining a few times)18:26
DocScrutinizer05mc "fixed" on fremantle extras18:27
DocScrutinizer05municipal agencies slow as usual18:27
DocScrutinizer05Ukraine conflict worse than yesterday, as usual18:28
DocScrutinizer05(perceived) health also worse than yesterday, as usual18:30
qwebirc8594Wondering if the Neo900 or whatever it is called  has gone missing? or project is simply VERY stalled. I hope it happens, however.22:33
whitequarkon schedule so far; nothing was promised until the autumn afaik22:35
qwebirc8594thx whitequark this is rjeffries too lazy to issue a /Nick command LOL22:35
--- Fri Apr 25 201400:00

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!