Topic for #qi-hardware is now Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs
AwAyla is now known as Ayla
GNUtoo has joined #qi-hardware
woakas has joined #qi-hardware
rejon has joined #qi-hardware
xiangfu has joined #qi-hardware
<wolfspra1l>
wow lots of warnings from werner's gcc warning suggestions the other day :-)
<wolfspra1l>
but I'm in cleanup mood, so going through...
<wolfspra1l>
no previous prototype, shadowed declarations, xxx may be used uninitialized, etc. etc.
guanucoluis has joined #qi-hardware
heberth has quit [Quit: leaving]
<kristianpaul>
wpwrak: best wishes, happy birthday !
<wolfspra1l>
ok first round finished, 20-30 warnings fixed...
<wolfspra1l>
nah, those old-style warnings are not needed imho
<wolfspra1l>
but the others were nice - thanks a lot!
<wolfspra1l>
today I start with the auto-tester, which will take the whole thing to the next level...
guanucoluis has quit [Ping timeout: 276 seconds]
<xiangfu>
kristianpaul, I got the external clock working.
<wolfspra1l>
xiangfu: cool!
<wolfspra1l>
even though you violate "1000 design rules"
<wolfspra1l>
hey Werner, where's your pioneering spirit? :-) I'd say violation of design rules is THE bona fide way to learn the essentials the right way :-)
<kristianpaul>
xiangfu: nice!, what are you modeling with it?
<kristianpaul>
indeed, you need to violate some rules to learn..
<kristianpaul>
like exploding some poli cells at home... :-|
<kristianpaul>
s/poli/li-poly
<qi-bot>
kristianpaul meant: "like exploding some li-poly cells at home... :-|"
* kristianpaul
never realized how sensible could be batteries those days..
<xiangfu>
blinking LED so far. the code is same.
<kristianpaul>
now with a know clock source :-)
<xiangfu>
yes. know clock.
<xiangfu>
I have a 20M and 40M osc. I can connect them for compare. :-) I can see the different.
<xiangfu>
kristianpaul, I guess I can jump to a simple serial console. do you have some source code that I can easy copy/paste. :-)
<xiangfu>
with 1000 design rules. I compare the source on M1 and my violate-1000 board. it works fine under M1.
<kristianpaul>
Fallenou: have
<kristianpaul>
oh sure
<xiangfu>
then there must be something wrong with my hardware. connect/wires/power
<xiangfu>
"with 1000 design rules" I mean "yes. violate 1000 design rules :-)"
<wolfspra1l>
xiangfu: so it works or does not work? what do you mean with "got the osc working"?
<xiangfu>
I found when the chip needs power it named 'oscillator' . when it no needs power it named: 'crystal'
<wolfspra1l>
the crystal oscillates when a voltage is applied to it...
<kristianpaul>
and you can debug that on the scope
<kristianpaul>
i do that a lot, we never know...
<kristianpaul>
xiangfu: perhpas not that hard, as just TX :-)
<xiangfu>
wolfspra1l, I found the schematic are all using 'osc' , so I start to use 'osc' or 'oscillator' for the clock chip.
<xiangfu>
wolfspra1l, oh. I just got what you mean.
<xiangfu>
sorry for confuse. I got it now.
<xiangfu>
the translate not that as good as human. :)
<kristianpaul>
;_)
GNUtoo has quit [Remote host closed the connection]
guanucoluis has joined #qi-hardware
rejon has quit [Ping timeout: 272 seconds]
<wpwrak>
kristianpaul: thanks ! :)
<wpwrak>
wolfspra1l: (warnings) found any real bugs ? "xxx may be used uninitialized" sometimes points to one.
guanucoluis has quit [Ping timeout: 244 seconds]
<wpwrak>
(old-style warnings) if you're writing old-style prototypes, they can also hide bugs. of course, if you write modern style anyway, then you don't need the options.
<wpwrak>
(1000 design rules) oh, no problem with me :)
GNUtoo has joined #qi-hardware
<wpwrak>
wolfspra1l: (crystal) that's a bit misleading :) the oscillator oscillates if you apply DC. and it sends out a nice digital signal.
<wolfspra1l>
alright, even better :-)
<wolfspra1l>
and the deeper you look, the more mysterious the crystal will become...
<wpwrak>
a crystal doesn't actually oscillate itself. it acts as a filter in the feedback loop of an oscillator circuit. and it outputs a very weak signal that this circuit first has to amplify and clean up before you can do anything with it.
<wolfspra1l>
no did not find real bugs, only one left-over excess printf argument
<wolfspra1l>
but that didn't do any harm
<wpwrak>
in fact, it's not uncommon that trying to measure what a crystal is doing upsets the circuit so much that it stops working.
<wpwrak>
here is a nice description of how crystal oscillators work: ww1.microchip.com/downloads/en/AppNotes/00826a.pdf
<wpwrak>
(mysterious) indeed ;-)
<wpwrak>
(measuring crystals) e.g., the oscillator circuit in the transceiver in atben/atusb drives the crystal with signals that are so weak that it stops oscillating when you touch it with a "normal" oscilloscope probe. so you either need to find some fancy active probe (worth quite a few bottles of good wine), try making one yourself, or measure at the (digital) clock output of the chip.
Hoolxi has quit [Ping timeout: 245 seconds]
Ayla has quit [Quit: dodo]
GNUtoo has quit [Quit: Program received signal SIGSEGV, Segmentation fault.]
zear_ has quit [Ping timeout: 240 seconds]
zear has joined #qi-hardware
Hoolxi has joined #qi-hardware
zear_ has joined #qi-hardware
Hoolxi has quit [Max SendQ exceeded]
Hoolxi has joined #qi-hardware
zear has quit [Ping timeout: 240 seconds]
pabs3 has joined #qi-hardware
<wpwrak>
oh. acrylic (PMMA) is used as rocket fuel. maybe i shouldn't just discard the saw dust from my mill then.
xiangfu has quit [Read error: Connection reset by peer]
jekhor has quit [Ping timeout: 248 seconds]
jurting has joined #qi-hardware
GNUtoo has quit [Ping timeout: 246 seconds]
Ayla has joined #qi-hardware
Textmode has joined #qi-hardware
rejon has joined #qi-hardware
Ayla is now known as AwAyla
zear_ is now known as zear
jekhor has joined #qi-hardware
paul_boddie has joined #qi-hardware
<paul_boddie>
Hello! Just got a NanoNote. Anyone mind if I try and tidy up the Wiki a bit? It was a bit frustrating finding out what I needed to know when reflashing the thing.
<wolfspra1l>
I'm just about to go to sleep, but good to see you here and hope to see you more!
<paul_boddie>
I'm also looking out for a way of contributing build fixes. Maybe there's a page for that.
<wolfspra1l>
sorry but I'm just too tired now, calling it a day and n8...
<paul_boddie>
Goodnight! :-)
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
DocScrutinizer has joined #qi-hardware
<wpwrak>
the wiki is a mess. bringing a bit of structure in it will be a very welcome change. thanks ! :)
<paul_boddie>
Some things are somewhat contradictory. The hardware USB BOOT mode doesn't need the contacts shorted until the power button is pressed, but the recipes given are slightly different on that and other matters.
mirko has quit [Remote host closed the connection]