2011-04-03 01:20 wpwrak: I'm going to give a small talk to the local dorkbot people about copyleft hardware 2011-04-03 01:21 I will talk about nanonote, milkymist and wpan  (may be gps-sdr for get people interested on development too) 2011-04-03 01:21 I want talk about the part of the atena design in wpan 2011-04-03 01:22 Is okay said, it is a rev eng process coming for already similar products, and you developed the tools and integrated existent one as usrp2 in order to make that trial and error process easier? 2011-04-03 01:27 kristianpaul: i didn't really reverse-engineer the antenna. i took this design: http://focus.ti.com/lit/an/swra117d/swra117d.pdf 2011-04-03 01:28 kristianpaul: what i changed was the size. TI describe that the size depends on the PCB thickness, but don't explain how exactly it changes. (their design is for a 1.0 mm board, mine are 0.8 mm) 2011-04-03 01:29 kristianpaul: finding the right size is what the experiments were for 2011-04-03 01:29 ah, okay ! 2011-04-03 01:31 kristianpaul: i used the usrp2 basically as a spectrum analyzer. i didn't complete any software that talks directly to the USRP2 (there's that partial spectrum analyzer i did, but that doesn't produce correct results yet) 2011-04-03 01:31 ah... 2011-04-03 01:32 kristianpaul: instead, i used the gnuradio tool usrp2_rx_cfile.py to capture a transmission and then perform FFT (and some other filtering) on it 2011-04-03 01:32 kristianpaul: so i integrated the USRP2 and an existing gnuradio tool into my test/experiment setup 2011-04-03 01:34 wpwrak: what about RF consideratios for board design, is it also documented on the aplication note you pointed to me? 2011-04-03 01:36 kristianpaul: see also ben-wpan/usrp/sps/collect for collecting the traces, and ben-wpan/usrp/fft.c for the FFT. ben-wpan/usrp/sps/ has more scripts for visualization and such. they are what i used to generate http://downloads.qi-hardware.com/people/werner/wpan/20110303/ 2011-04-03 01:37 kristianpaul: (RF) a little. but most comes from http://www.atmel.com/dyn/resources/prod_documents/doc8092.pdf 2011-04-03 01:38 yes, i'm aware of FFT part 2011-04-03 01:38 kristianpaul: plus a bit of googling around. see also ben-wpan/ecn/ecn0007.txt 2011-04-03 01:38 okay, software part is the implementation of MAC by bit banging RF CHip registers? 2011-04-03 01:39 one of the functions of software part* 2011-04-03 01:40 I just like to make clear how a "Wifi" chip differ from yours 802.15.4 one 2011-04-03 01:40 kristianpaul: there are two sets of software: the tools in ben-wpan/tools/ and the linux stack. the linux stack uses the ieee 802.15.4 drivers and mac of the linux-zigbee project. i just made a few small corrections and added the platform-specific initialization (gpio setup and such) 2011-04-03 01:40 And the benefist in software 2011-04-03 01:40 ok 2011-04-03 01:41 kristianpaul: the tools under ben-wpan/tools/ don't implement a proper mac - they just send "naked" frames without address fields or such 2011-04-03 01:42 kristianpaul: well atrf-txrx, which is the most complex of the tools. the others have other roles, e.g., atrf-id just identifies the chip, atrf-rssi shows the signal strength (without actually receiving any data), and so on 2011-04-03 01:52 ACK 2011-04-03 01:57 wpwrak: any wishlist for wpan thay you feel missed now, and wanted for future versions? 2011-04-03 02:03 kristianpaul: better RF design testing. more compact (use a four-layer board with microvias). maybe better testability for atben (lacks an easy way to test the crystal). maybe antenna diversity. maybe an RF amplifier for range extension. find out if a dedicated MCU can be useful and act accordingly (or not). 2011-04-03 02:04 kristianpaul: also, some real-life experience with wpan may add more items :) 2011-04-03 02:08 (real-life experience) agreed :-) 2011-04-03 10:03 [commit] Ayla: The method FileLister::browse() now takes an optional boolean argument. http://qi-hw.com/p/gmenu2x/d820470 2011-04-03 10:03 [commit] Ayla: If the "sections/" directory is missing, we create it as well as some default sections (settings, applications...). http://qi-hw.com/p/gmenu2x/8336c83 2011-04-03 10:03 [commit] Ayla: The sections directories shall now be found under the user-specific directory. http://qi-hw.com/p/gmenu2x/114fe59 2011-04-03 10:03 [commit] Ayla: The skin images will now be loaded using SurfaceCollection::getSkinFilePath(). http://qi-hw.com/p/gmenu2x/fe25cf3 2011-04-03 10:03 [commit] Ayla: Define a default wallpaper path, that will be chosen if no wallpaper is defined on the config. http://qi-hw.com/p/gmenu2x/301e16e 2011-04-03 10:20 hello 2011-04-03 10:21 I'm looking for a picture I could use as the default wallpaper for gmenu2x for the nanonote 2011-04-03 10:36 wolfspraul: so now the community news feature deep inside jokes ;-)) 2011-04-03 10:37 wolfspraul: not sure it you saw these: 2011-04-03 10:37 | potential entries for the 04-04: 1) the ben-wpan samples http://lists.en.qi-hardware.com/pipermail/discussion/2011-March/007457.html 2011-04-03 10:37 | the decision that tuxbrain will lead the production (and which may potentially have started already) 2011-04-03 10:37 oops, let's try this again ... 2011-04-03 10:38 | 2) the decision that tuxbrain will lead the production (order already issued) 2011-04-03 10:38 | 3) that we have a kernel that allows atben to communicate via ieee 802.15.4 2011-04-03 10:38 | not sure if 3) is newsworthy yet. there are still a few more things missing before it's actually useful 2011-04-03 10:38 | regarding 2), there's also the integrated process for producing fab files, but i haven't documented it yet. at its core is ben-wpan/makefiles/Makefile.kicad, which is semi-generic 2011-04-03 10:43 yes sure I saw it, thanks a lot 2011-04-03 10:43 no worries 2011-04-03 10:43 wpwrak: what is the deep inside joke? 2011-04-03 10:44 I just try to collect a few nice things... 2011-04-03 10:44 wolfspraul: the money falling from the sky :) 2011-04-03 11:01 at medellin 2011-04-03 11:02 wpwrak: ah. that may be subconsciousness :-) 2011-04-03 11:02 I just flipped through the mimi&eunice comics and liked that one... 2011-04-03 11:03 it resonates rather strongly with current events ;-) 2011-04-03 11:10 I liked that comic too :-) 2011-04-03 11:34 ok I think all sections except NanoNote are finished 2011-04-03 11:34 this is what I'm talking about http://en.qi-hardware.com/wiki/Community_news_2011-04-04 2011-04-03 11:41 wolfspraul: do the new visual patches have any images ? 2011-04-03 11:45 he 2011-04-03 11:45 fbgrab (screenshot) is also just being added 2011-04-03 11:45 so there are few screenshots of m1 still 2011-04-03 11:45 but that should soon improve :-) 2011-04-03 11:46 ctrl-f12, done 2011-04-03 11:46 aah, fbgrab. very important indeed ! 2011-04-03 11:46 so I don't know whether we have screenshots, I didn't see any otherwise I would have included them 2011-04-03 11:46 one by one 2011-04-03 11:46 we also have 05-01 news 2011-04-03 11:47 the old way to take screenshots was only in qemu, afaik 2011-04-03 11:48 Sebastien uploaded the 2 shots of his new color theme, not sure whether he took them in qemu or already with fbgrab 2011-04-03 11:49 should be easy to find out ;-) 2011-04-03 11:54 hmm. maybe. 2011-04-03 11:57 larsc: i just read about zram ... could this be something useful for our ben's poor little memory ? 2011-04-03 12:02 maybe 2011-04-03 12:04 yes, it works quite good 2011-04-03 12:07 Ayla: you've tried it on the ben ? 2011-04-03 12:07 where do you tested or saw it working Ayla ? 2011-04-03 12:07 at hostel 2011-04-03 12:07 it's enabled by default on opendingux 2011-04-03 12:07 the new linux kernel for dingoo a320 2011-04-03 12:07 so it should work quite good on ben too 2011-04-03 12:14 Ayla: how does the system's performance differ with/without it ? 2011-04-03 12:15 well, if it's not used, it does not eat any memory or processing power 2011-04-03 12:16 in use, it uses some processing power to compress/decompress the data. However, it's still faster than swap on a flash device like SD 2011-04-03 12:18 Ayla: do you did notice a performance improvement ? i mean, not only on paper 2011-04-03 12:18 yes, eduke32 is less laggy when using swap 2011-04-03 12:18 I mean, zram swap over SD swa 2011-04-03 12:18 swap* 2011-04-03 12:19 great. that's a useful data point, thanks 2011-04-03 12:20 i wonder what it does for systems that don't use swap. may have an even more dramatic effect 2011-04-03 13:24 wolfspraul: so sebastien's screenshots were taken to fbgrab 2011-04-03 13:24 saw it 2011-04-03 13:24 PROGRESS 2011-04-03 13:24 :-) 2011-04-03 13:24 yay ! :) 2011-04-03 13:58 is xiangfu very busy now? 2011-04-03 14:16 ok I will do more NanoNote editing (in the news) tomorrow 2011-04-03 14:17 slowly getting there 2011-04-03 16:14 wpwrak assuming Nanonote 8:10 SPI --> UBB --> ribbon cable --> [some flavor Arduino] 2011-04-03 16:15 what would one look for so the target Arduino can exchange data with Nanonote "master" 2011-04-03 16:15 for now we ignore whether the Arduino can or can not be programmed from this lash up. 2011-04-03 16:21 rjeffries: i think long time ago that questions you made is answered as posible 2011-04-03 16:21 but maybe i lost the point.. :/ 2011-04-03 16:32 there are spi serial converters 2011-04-03 16:32 in the end only a programmed avr, but possible 2011-04-03 16:32 one could programm another ardiuino via that 2011-04-03 17:02 thanks roh maybe I am unclear myself. I know tuxbrain connected Aeduinno to Ben Nanonote long ago using Ben's serial port 2011-04-03 17:02 that would work with any Arduino or clone  model 2011-04-03 17:03 when using SPI to talk to Arduino, I am not sure if ont certain Arduinos can do that, or 2011-04-03 17:03 maybe a "shield" with an extra SPI to serial chip is needed? 2011-04-03 17:05 where i am headed is thinking of an Arduino of some ilk connected to Nanonote over 2011-04-03 17:05 a reasonably high speed connection. then (just a matter of software...;) it would be possible 2011-04-03 17:06 to connect Nanonote to Ethernet 2011-04-03 17:06 or interface (via arduino) to I2C periferals 2011-04-03 17:07 the major smarts are Linux Ben Nanonote, the Arduino is a semi smart semi independent slave pod 2011-04-03 17:08 the Arduino ecosystem offers so many cool and cheap modules but suffers from being quite low level 2011-04-03 17:09 new topic: this seems mildly interesting and very open: 2011-04-03 17:09 http://diydrones.com/profiles/blogs/announcing-openfhss-project 2011-04-03 17:30 rjeffries: the problem with ethernet is, you don't have any external interface with sufficiently high speed and host capability 2011-04-03 17:31 maybe you'll be able to find SDIO ethernet card, but it won't work with SPI 2011-04-03 17:34 whitequark well, if goal is connectivity, I think it can work. wpwrak measures (if I recall right...) 2011-04-03 17:34 well over a megatbit per second over the 8:10 spi interface. 2011-04-03 17:35 most access to internet does not require very high speed. 2011-04-03 17:35 I am so old i remember using dial modems to connect to internet at various speeds 2011-04-03 17:36 at 56Kbps, the internet is useable. works great for email or irc and ok for light casual browsing with a text browser 2011-04-03 18:06 rjeffries: there are two points 2011-04-03 18:06 first, not everyone uses ethernet for internet. it's sometimes useful to transfer a file to internal media 2011-04-03 18:07 well, that may be not very useful as there's usb-device and sd-card anyway. 2011-04-03 18:07 second, pages were loading at acceptable speed then in 56k days. now average homepage may be around a megabyte of rounded corners and transparent PNGs 2011-04-03 18:08 hm, third is that it'd be hard to fit a good browser in ben's 32M 2011-04-03 18:10 that's fine using zram swap ;) 2011-04-03 18:15 whitequark: is "links -g" a good enough browser for you? It fits well into Ben's 32Mb :) 2011-04-03 18:19 whitequark: sure and ethernet module with spi interface will not work? I have been reported with diferent opinions about this 2011-04-03 18:29 kyak: please, try using it for, maybe, a day or two, and you'll answer your question yourself 2011-04-03 18:31 whitequark: i don't get your point 2011-04-03 18:32 kyak: it isn't really usable with modern sites 2011-04-03 18:32 at least it wasn't last time I've checked it 2011-04-03 18:32 "modern sites"? what is it? 2011-04-03 18:33 tuxbrain: of course it will work. somehow. looking at PM, SD pins are not multiplexed with SPI, and so you'll need to use bitbang driver in kernel 2011-04-03 18:33 that isn't very fast and is very cpu-hungry 2011-04-03 18:34 kyak: try opening qi-hardware.com, or maybe google.com, or github.com 2011-04-03 18:34 whitequark: http://en.qi-hardware.com/wiki/Applications#links 2011-04-03 18:34 this is "opening qi-hardware.com" :) 2011-04-03 18:44 rjeffries: (comm with avr) SPI with the ben the master and the avr the slave should be convenient 2011-04-03 18:48 rjeffries: (from yesterday, SIE with jz4760) not a bad idea. if someone was to redesign the SIE, that would certainly be a better starting point than the aging 4720 2011-04-03 18:55 kyak: links cannot be used for day-to-day tasks 2011-04-03 18:57 it is only good to say "hey, our device can load web-pages", but hardly more 2011-04-03 18:59 it depends on which tasks you do day-to-day 2011-04-03 18:59 i use elinks regularly to access gmail without any problems 2011-04-03 19:00 have to go now 2011-04-03 19:39 wpwrak how much new Ben software is needed to achieve bi-direcetional data transfer between Ben NN and AVR (read Arduino) 2011-04-03 19:41 rjeffries: just to communicate ? not a lot. you could just reuse my spi code for ben-wpan. the harder bit is the avr side, plus some meaningful protocol that rides on top of spi. 2011-04-03 19:42 wpwrak ubderstood regards need for a Ben to AVR protocol 2011-04-03 19:43 if objective is using AVR to handle real time data collection via say I2C or whatever, with AVR/Arduino as a smart beffer or even some data reduction before handoff to ben that could be feasible 2011-04-03 19:44 but to get real, why not use a cheap netbook as master and simply communicate to Arduino via USB. 2011-04-03 19:45 a low end netbook running linux is prolly $200 new oe slightly used 2011-04-03 19:48 sure, you can do that. i would try to cut out the man in the middle, i.e., the avr :) 2011-04-03 20:28 hates statistical distributions that don't make sense 2011-04-03 20:32 wpwrak: what distribution are you talking about? 2011-04-03 20:37 tuxbrain: the transmit timing, measured by the ben. i'm trying to determine the atben's clock frequency without direct access to the clock signal. 2011-04-03 20:39 wpwrak: really, don't use my name followed by black magic power words like frequency , direct access or signal... it really scares me. 2011-04-03 20:40 tuxbrain: the method is to load a packet, then initiate transmission with a pulse (there's a dedicated gpio for this). then measure how long it takes until the tx complete interrupt arrives 2011-04-03 20:40 ah wait .. lemme check the chip-internal interrupt latency ... 2011-04-03 20:41 wpwrak: Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn 2011-04-03 20:44 wpwrak: biboca garagem favela fubanga maloca bocada Maloca bocada fubanga Favela garagem biboca, porra !!! Ze do caixao zumbi lampiao 2011-04-03 20:47 grmbl. two set of values, an unexplainable 150 us apart 2011-04-03 20:48 i understood the first and the second, but you threw me with the catalan ;-) 2011-04-03 20:51 I think is portugues , is a the Rattamahatta lyrics from sepultura, I don't know what it really means but the song looks like a vudu conjure :P 2011-04-03 20:52 or maybe a recieipt to do some cake but well , it sounds like vudu cake 2011-04-03 20:54 150us seems a lot of time on transmision scale, isn't it? (OMG I'm starting to intuit your tech mambo jambo nonsense) 2011-04-03 20:55 the drugs are starting to work ;-) 2011-04-03 20:57 drugs+lack of sleep+a lot of qt programing readed is causing me to feel sick....  I think I'm gonna remedy at least one of the three, good night 2011-04-03 20:57 tuxbrain: here's some sample data: http://downloads.qi-hardware.com/people/werner/wpan/tmp/tx-100-counts.gz 2011-04-03 21:00 tuxbrain: a good way to look at it is, after gunzip'ing, with gnuplot   plot " to zoom in,  set yrange [30000:33000]  (or zoom manually) 2011-04-03 21:01 yaxis is the number of counts between send trigger and interrupt. one count is about 100 ns 2011-04-03 21:02 well no need to see that it seems that it tends to be stable at 31300 aprox but with random jumps of 400 to 1000 units .... whatever it means 2011-04-03 21:03 x axis is the cumulative number of samples. e.g., we have about 7000 samples with ~31300 counts, ~2000 samples between ~31300 and ~32800, and then another ~1000 around 32800 2011-04-03 21:04 this is a ben with everything that could get in the way dead. including interrupts. actually, let me verify that ... 2011-04-03 21:05 yeah. everything switched off 2011-04-03 21:06 well if the input is the same something should be altering the values.... in theory same input sould give you output ... extrange... 2011-04-03 21:06 it gets worse: plot "tx-100-counts" with dots 2011-04-03 21:07 now you can see that there are a lot of samples at the ~31300 baseline. but there's a pattern over time with the ones that don't quite fit. they're also very systematic. 2011-04-03 21:08 yes I even saw that with the numbers directly.... I think something is happen on the ben on x period 2011-04-03 21:08 something is not off 2011-04-03 21:09 yet i do set ICMSR to 0xffffffff 2011-04-03 21:10 or the sistem or the CPU is doing something we don't know on that moment cyclic 2011-04-03 21:11 hmm. maybe the frame buffer. switching it off, too ... 2011-04-03 21:11 I suppose this will complicate the creation of software on the ben side for communications isn't it? 2011-04-03 21:11 in the end, my program will look worse than gmenu2x ;-) 2011-04-03 21:12 ha! 2011-04-03 21:12 (complicate) no, not at all. this is only for production testing. 2011-04-03 21:13 also with an advert before the screen shut down... don't move, don't breath, you may alter the values stay froze for a seconds please.... 2011-04-03 21:17 naw, the system is only unresponsive for about 3-4 ms 2011-04-03 21:17 of course, 10000 times in a row ;) 2011-04-03 21:18 wow how long is the test? 2011-04-03 21:21 4 ms * 10k = ~40 s. of course, 10000 is a bit excessive. once things work properly, a lot less should do. 2011-04-03 21:24 yes ! that did the trick ;-) 2011-04-03 21:24 was the frambuffer? 2011-04-03 21:27 yup. tuned the lcd clock off and now i get ... 2011-04-03 21:28 (tuRned) 2011-04-03 21:28 http://downloads.qi-hardware.com/people/werner/wpan/tmp/tx-counts-trim.png 2011-04-03 21:29 that's with different trim values. t0 is the lowest extra capacitance -> clock runs fastest, t15 the highest -> slowest 2011-04-03 21:30 and this is indeed what we see :-) 2011-04-03 21:30 distribution looks vaguely gaussian, which is also good 2011-04-03 21:40 ok again im  lost in translation from wpwrakish to tuxbrainian, but if you are happy and you said is good , I'm happy too :) 2011-04-03 21:41 gn8 2011-04-03 21:44 (trim) the load capacitors of the crystal are programmable 2011-04-03 21:46 so changing the trim is an easy test for whether i can accurately measure the clock frequency. the objective is to detect SMT problems. so a whole capacitor would be missing. that would cause a greater divergence than these trim changes. 2011-04-03 22:06 hmm. something in the ben doesn't like it if i turn off the lcd clock. hangs after a while :-( 2011-04-03 22:18 tuxbrain: you may get your wish for a "don't touch while testing" mode after all :)