2011-03-30 00:00 setting up dma is quite many accesses usually. it only gains if you can do cpu work which does neither need ram or bus. (because dma is blocking that) 2011-03-30 00:00 if you're doing video, accelerated YUV to RGB conversion would be useful though 2011-03-30 00:00 mth: the ipu is on my to-do list too. not sure if it's same in jz4725 and jz4740 2011-03-30 00:00 thats done in the userspace component usually (if the hw supports it) 2011-03-30 00:02 i think that existing implementations add some ioctl to framebuffer driver 2011-03-30 00:02 *ioctls 2011-03-30 00:02 whitequark: please keep us informed; we'd like to have IPU support in OpenDingux as well (Dingoo A320 is JZ4740 based) 2011-03-30 00:02 Ingenic does that, but they always invent custom controls 2011-03-30 00:03 there are more standard ways to do it 2011-03-30 00:03 maybe via v4l2? 2011-03-30 00:03 mth: my processor is jz4725 (jz4750 core), some stuff is compatible with jz4760, but lars may have more to say about latter 2011-03-30 00:03 whitequark: ioctls to the fbdev are a bad idea 2011-03-30 00:03 a) nonstandard 2011-03-30 00:03 b) slow. 2011-03-30 00:03 you have a context change per call. dont do it. 2011-03-30 00:04 whitequark: afaik 4725 is like 4740 and 4755 is like 4760 2011-03-30 00:04 but there is more difference between 4755 and 4760 2011-03-30 00:04 the 4725 and 4740 are almost the same 2011-03-30 00:04 mth: well, no. i've actually read jz4725 manual :) 2011-03-30 00:04 oh? 2011-03-30 00:04 tcu is almost completely different, and there are more differences 2011-03-30 00:04 ECC, NAND, and CODEC are absolutely new 2011-03-30 00:05 but isn't the nanonote using the 4725? 2011-03-30 00:05 whitequark: what would be cool is ingenic gpu support for blitting and video in directfb. 2011-03-30 00:05 it should be doable very similar to pre-agp cards. the mga driver should be a good example for where to do what. 2011-03-30 00:06 mth: looking at the site, it is 4720, and I've once talked with lars about that. He says that jz4720 is stripped-down version of 4740 (or maybe vice-versa, I don't quite remember, but they are similar that way) 2011-03-30 00:06 anyway the branch he is working on is jz4740 2011-03-30 00:06 roh: do you mean the integrated one, the ipu? I don't see how it may accelerate blitting 2011-03-30 00:07 and I doubt that old pre-agp cards have accelerated video (but i may be wrong) 2011-03-30 00:08 sure they do 2011-03-30 00:08 back that that was all mmio to set uo 2011-03-30 00:08 now these units are gone and you need to do all via commandchannel 2011-03-30 00:09 basically assemble a bitstream of commands and data and burst that over to the gpu via agp 2011-03-30 00:09 a radeon>9000 2011-03-30 00:09 the 4740 IPU can only convert YUV to RGB 2011-03-30 00:09 the 4755 can convert RGB to RGB as well 2011-03-30 00:10 mth: i've checked the manuals, and sadly, 4740 ipu is much much simpler that 4725 one 2011-03-30 00:10 a radeon later than the 9000 series has no video unit anymore for example. you need to use a shader for that now etc.. so its 'easy' compared to desktops on embedded ;) 2011-03-30 00:10 you won't be able to use my driver, if i ever write one 2011-03-30 00:10 on the other side, writing a driver for that ipu is much simpler 2011-03-30 00:10 4725 programming manual does state IPU input format as YUV/YCbCr though 2011-03-30 00:11 it can do rgb too 2011-03-30 00:12 are you sure it is 4725 and not 4755? 2011-03-30 00:13 well, i can send you a photo of the chip :) 2011-03-30 00:14 that may sound strange, but i actually know the name of soc i'm developing drivers for 2011-03-30 00:14 or do they have two different chips both labeled 4725? 2011-03-30 00:14 hmmm 2011-03-30 00:14 speaking strictly, it's labeled JZ4725B 2011-03-30 00:15 but I don't see any docs for plain JZ4725 on ftp.ingenic.cn, and I've never heard of it 2011-03-30 00:16 there were docs for it a few weeks ago 2011-03-30 00:16 I grabbed everything while it was online 2011-03-30 00:17 they do crazy things with manuals 2011-03-30 00:17 and with naming 2011-03-30 00:17 well, maybe they're crazy at all 2011-03-30 00:17 mth: here's the pm for my soc: http://files.whitequark.org/Jz4725B_pm.pdf 2011-03-30 00:25 it seems to be a substantial upgrade from the original 4725 2011-03-30 00:26 probably. it's actually a stripped-down version of 4750 (no new or changed blocks, but removed usb host and much more; also there is a lot of leftover 4750 references all over the manual) 2011-03-30 00:27 there once was a 4740-based 4725, but all references to it seem to have disappeared from their FTP 2011-03-30 00:28 roh: vala looks like a good live project; maybe for my task lite will be sufficient too. so I'll stick with directfb and gtk+vala or lite 2011-03-30 00:29 mth: maybe they have decided to let it fall into oblivion 2011-03-30 00:52 roh: can you tell a bit more about the right way of doing accelerated video through ipu? 2011-03-30 00:53 are you suggesting to mmap ipu registers and then call them directly from mplayer? I don't think that 30 more context switches per second will matter a lot 2011-03-30 00:53 and they're somewhat cheap in mips, if i understand it correctly 2011-03-30 00:57 whitequark: nope. mmap the ipu register from directfb and leth that abstract that for mplayer 2011-03-30 00:58 http://www.mplayerhq.hu/DOCS/HTML/en/directfb.html 2011-03-30 00:59 also one can compile directfb for multiple app use. so more than one app can run and directfb takes care of 'muxing' 2011-03-30 01:00 in the end 'the first process to use dfb' gets the 'driver' (usually something like a menu or 'minimal window manager' and all others communicate with it via shm/fusion. 2011-03-30 01:00 fusion is the 'ipc-layer' dfb uses for multi-app stuff. 2011-03-30 01:03 i think fusion needs a kernel driver. not sure if that is still true 2011-03-30 01:07 afaik it is 2011-03-30 01:10 that looks like a right way 2011-03-30 01:10 could I add support for OSD with it? 2011-03-30 01:30 sure. usually there are either layers for yuf rendering.. if not you basically do a blit with colorkeying 2011-03-30 01:31 or alpha... depending of what colorformats are possible with the hw 2011-03-30 01:45 steve|m: http://projects.qi-hardware.com/index.php/p/m1/source/tree/master/jtag-serial 2011-03-30 02:13 xiangfu: hi 2011-03-30 02:14 You have idea how this is called in C 2011-03-30 02:14 #define MM_READ(reg) (*((volatile unsigned int *)(reg))) 2011-03-30 02:14 #define MM_WRITE(reg, val) *((volatile unsigned int *)(reg)) = val 2011-03-30 02:15 I dont understand well, it seems to be related with pointers and MMIO as the comment said, but my C knowledge dint get to that 2011-03-30 02:17 kristianpaul: hmm... 2011-03-30 02:17 1. (volatile unsigned int *)(reg)  ==> change the number to pointer. 2011-03-30 02:18 2. *((volatile unsigned int *)(reg)) ==> read the value of pointer address 2011-03-30 02:19 cast the number to pointer. the read the the pointer. 2011-03-30 02:19 ah, cat 2011-03-30 02:19 cast* 2011-03-30 02:19 thats new for me 2011-03-30 02:20 i'll read 2011-03-30 02:21 he, i think i just intimidate because the external parenthesis, how you write it looks better ;) 2011-03-30 02:22 for #define. always have a lot parenthesis :) 2011-03-30 02:23 i see 2011-03-30 02:30 okay so i cast to make convert it to the right type 2011-03-30 02:30 interesting 2011-03-30 02:56 aw_: Hi where I can find the datasheet of milkymist nor. 2011-03-30 02:56 I want look into more info about nor and yaffs2. then reply my talk on wallpaper. :) 2011-03-30 02:57 xiangfu, http://en.qi-hardware.com/wiki/Milkymist_One_RC2_BOM 2011-03-30 02:58 where you can drop/search  U9 JS28F256J3F105 2011-03-30 02:59 aw_: thanks. 2011-03-30 04:01 (accelerated video) that's been around since the days of the ISA bus ! and back then you needed it the most ;-) just compare an ET4000 with an S3 801 :) 2011-03-30 04:05 kristianpaul: the "volatile" means that something else but the program may change the value. thus, the compiler may not cache the value, eliminate redundant access, or reorder accesses. 2011-03-30 04:06 kristianpaul: otherwise, things like *(uint8_t *) uart = 'h'; *(uint8_t *) uart = 'i'; could just become *(uint8_t *) uart = 'i'; 2011-03-30 04:07 (4720) the 4720 has the same die as the 4740, but does not connect all the signals 2011-03-30 04:08 steve|m: i also have a mini-usb connector in ben-wpan: components/mini_usb_b.lib and modules/mini-usb.fpd 2011-03-30 04:11 steve|m: (copper layer tested in prototype. the other layers unknown so far) 2011-03-30 04:32 aw_: if you had to choose between http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=WM17118-ND 2011-03-30 04:32 aw: and http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=WM3983CT-ND 2011-03-30 04:32 aw: which would it be ? 2011-03-30 04:32 aw_: (the first has "cowboy legs" while the second has straight legs) 2011-03-30 04:35 wpwrak, i'd prefer the first one with "cowboy legs" which can be mounted strongly even u/p is much than second one. 2011-03-30 04:38 aw_: ah, good :) that happens to be the one i've specified so far. we've been worried about the difficulty of smt'ing it 2011-03-30 04:39 aw: (btw, the pcb is 0.8 mm, which is less than what they recommend for the connector. but unfortunately, there don't seem to be any USB A plugs that are designed for thin boards. we'll just have to live with this.) 2011-03-30 04:41 wpwrak, i see, with thickness 0.8mm, yup..no more parts manufacturer will produce for you to meet a short "cowboy legs" except you are A**LE. :-) 2011-03-30 04:43 aw_: yeah, we still have to work on those *huge* production runs ;-) 2011-03-30 09:04 is there some promotional material for the nanonote / free hardware ready to be printed? I will help man a boot on linux at a local electronics fair and of course I will bring my NN 2011-03-30 09:07 valhalla: http://en.qi-hardware.com/wiki/Press_and_marketing_material 2011-03-30 09:07 what we have is there 2011-03-30 09:07 it's a bit messy, but thanks a lot for your initiative! 2011-03-30 09:09 wolfspraul: thanks. I don't have much hope for that fair (it used to cather to radio enthusiasts, but it has gone a bit too mainstream), but it would be a shame not to bring anything about free hardware 2011-03-30 09:12 valhalla: maybe mention ben-wpan ? 2011-03-30 09:13 valhalla: also people who know their way around microwave circuits and could contribute towards improving things would be hotly welcome :) 2011-03-30 09:18 i know my way around the mircowave oven, is that enough? 2011-03-30 09:18 [commit] Werner Almesberger: install/: renamed READMEs and added (non-working) setup instructions http://qi-hw.com/p/ben-wpan/0cfd277 2011-03-30 09:18 [commit] Werner Almesberger: install/USAGE: rearranged to make copy & paste easier http://qi-hw.com/p/ben-wpan/d489ff8 2011-03-30 09:19 [commit] Werner Almesberger: at86rf230: separate state change command from final state http://qi-hw.com/p/qi-kernel/26d4451 2011-03-30 09:19 [commit] Werner Almesberger: board-qi_lb60.c: we accidently broke atben's interrupt http://qi-hw.com/p/qi-kernel/d88ff3a 2011-03-30 09:19 lars_: it's a good start ;-) 2011-03-30 09:20 wpwrak: is there anything on the wiki about it? I've read about it in the subjects of the mailing list, but I haven't read the emails 2011-03-30 09:21 (if there isn't, I'll read the emails to know about it) 2011-03-30 09:25 valhalla: hmm, i don't think we have much in the wiki. but maybe two pictures could be useful: http://downloads.qi-hardware.com/people/werner/wpan/tmp/2boards-20110305.jpg 2011-03-30 09:25 [commit] Joachim Steiger:  added details about din and isolator http://qi-hw.com/p/m1/ec34f79 2011-03-30 09:28 http://downloads.qi-hardware.com/people/werner/wpan/tmp/atben-20110123-front.jpg 2011-03-30 09:29 (the second shows a slightly older board) 2011-03-30 09:29 the technology is IEEE 802.15.4 (the thing underneath ZigBee and 6LoWPAN), at 2.4 GHz 2011-03-30 09:32 so the project is a free hardware board for IEEE 802.15.4, with usb and/or sdio connection? 2011-03-30 09:38 with USB or 8:10 card. it's not an SDIO device, although the physical interface is the same. i.e., you have to be able to bit-bang the signals (which is the case in the ben) 2011-03-30 09:42 ok, thanks 2011-03-30 09:52 [commit] Werner Almesberger: install/USAGE: added izchat commands (yup, that works :) http://qi-hw.com/p/ben-wpan/c529753 2011-03-30 13:13 wpwrak: (izchat) that means you can send/recive something writing in one NN and reading on the other? can you make a video of this? 2011-03-30 13:48 [commit] Ayla: Changed an error message, that was displaying "Error:" twice. Plus, it now more meaningful. http://qi-hw.com/p/gmenu2x/ec000e0 2011-03-30 13:52 roh, wpwrak any more thoughs on atben atusb envelope? I like the idea on atusb of an already manufactured plastic box, but we must be sure before production that it will fit to modify pcb if needed. If we start now we can have the first batch ready by the mid/end May. 2011-03-30 13:53 regarding atben, the sucru aproach is taking strength but victor, more skilled on plastics and such will take a look and alternatives and costs 2011-03-30 14:08 tuxbrain: didnt have time.. too many things right now.. i think it would make more sense taking a atben and walking over akihaba markets in tokyo 2011-03-30 14:08 but they have atomic end-time warfare there so i do not dare to bother people over there 2011-03-30 14:29 tuxbrain: (izchat) it's a simple two-way communication program that sends its messages in IEEE 802.15.4 MAC frames. (without IP or such) 2011-03-30 14:30 tuxbrain: before that, i also had communication between bens, but i used "empty" frames for communication, i.e., without IEEE 802.15.4 MAC header or addresses 2011-03-30 14:31 tuxbrain: (video) it's not very photogenic yet - one of the two Bens is a naked board without display 2011-03-30 14:31 wpwrak: (naked ben) mmm thechi pr0n! 2011-03-30 14:32 roh: (japan) if you know someone there, they may appreciate a bit of normality 2011-03-30 14:32 tuxbrain: (geekporn) yeah, raw and naked :) 2011-03-30 14:33 wpwrak: (usb connector) finally they will use the usb connector you specified, no problems on smt process with the cowboy legs, confirmed by smt vendor. 2011-03-30 14:33 Does anyone know if there's a way of changing the addribute of a pin in a gEDA footprint file so that it has no pad on it (for mounting holes)?  I haven't really been able to find a straight-forward answer from Google. 2011-03-30 14:34 tuxbrain: whee ! :) 2011-03-30 14:37 wpwrak: Tuxbrain will go ahead with production I'm writting a mail with my final points and "organizing" things a bit, now I must leave so I will end it at night, but basically is a go go go , so are final gerbers ready? I so give me the links to start PCB part. 2011-03-30 14:39 tuxbrain: let make generate a final package. i'll add the USB hole to the README, bump the version numbers, and check if i should enlarge one mounting hole a little (that hole gave me some troubles when mounting the usb connector) 2011-03-30 14:41 tuxbrain: (hole) whether i really need to enlarge it depends on the actual size my mill produces 2011-03-30 14:42 wpwrak: ok, waiting for you command sir! 2011-03-30 14:42 tuxbrain: (may) so 2 weeks for the pcbs and 4 weeks for smt ? 2011-03-30 14:43 really smt should be 2/3 weeks but we have Eastern holidays in the middle :( 2011-03-30 14:44 bargh. evil holidays 2011-03-30 14:45 we (smt vendor and I) will try to minimize this by making a firm order to start sourcing and such but you know ... here in spain "Semana Santa" is sacred ... damn religions (sigh) 2011-03-30 14:46 sourcing should take about 48-72 hours if you order from digi-key :) 2011-03-30 14:47 wpwrak: spain... remember this is spain.... damn germanic :P 2011-03-30 14:48 tuxbrain: you can also order at digi-key from spain ;-) in fact, it's a good idea to order as early as possible. because if anything goes wrong, then you have a) time to look for alternative sources, or b) (worst case - if you need to pick a not 100% compatible replacement) change the design 2011-03-30 14:49 tuxbrain: luckily, in this case, b) is unlikely 2011-03-30 14:51 ok but as I point In my mail not sended yet, I preffer than they do the source, if there is any mistake I can reclaim, I fail on anything like packaging or whatever I will end with a lot of components and a delay... 2011-03-30 14:51 but yes once I have the pcb started I will tell them to start sourcing 2011-03-30 14:53 tuxbrain: (they do the sourcing) yes, i understand. but it also makes sense if they start early. that way, there's less risk. particularly with the unstable situation in japan. 2011-03-30 14:54 wpwrak: agree 2011-03-30 14:54 I must leave 2011-03-30 14:54 read you later 2011-03-30 14:54 tuxbrain: cya ! 2011-03-30 15:13 is waiting for the sacred "semana santa" too 2011-03-30 15:13 tuxbrain: ah, and i also need to know whether the hole for the USB connector should be part of the gerbers or if it's enough if i specify it in the README 2011-03-30 15:13 kristianpaul: looking forward to it or disliking it ? 2011-03-30 15:14 wpwrak: i dont work on semana santa :-) 2011-03-30 15:14 kristianpaul: i hate all those holidays that mess up the weekly routing. of course, i take my days off whenever i please :) 2011-03-30 15:14 i need more time for qi ;) 2011-03-30 15:14 s/routing/routine/ 2011-03-30 15:14 ah, you tell me, my town is flood of tourist the whole week 2011-03-30 15:15 so, another excuse to stay at home ;-) 2011-03-30 15:15 kristianpaul: tourists coming to worship the place where the famed gps developer lives ? :) 2011-03-30 15:17 they came because the "Basilica del Se~os de los Milagros" 2011-03-30 15:17 Se~nor* 2011-03-30 15:19 will consider for the next year go back to the farm 2011-03-30 15:19 as soon as i get internet ther ;) 2011-03-30 15:20 kristianpaul: full retreat ;-) 2011-03-30 15:21 wpwrak: (volatile) thats tricky, it seems to be used to do MMIO in  serveral rtems drivers for milkymist 2011-03-30 15:21 well seems i neeed read more about it, before get the DMA thing for SiGE to work in software.. 2011-03-30 15:23 kristianpaul: (volatile) yes, forgetting to use volatile can produce bugs that are very entertaining to chase 2011-03-30 15:32 finds it cool that everybody immediately understood what i meant with "cowboy legs" when referring to http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=WM17118-ND 2011-03-30 15:39 can't beliveve my eyes. so are you just planning to make a batch of some device you've invented and tested? 2011-03-30 15:39 is it really that easy over there? 2011-03-30 15:40 whitequark: what further complications would you expect ? ;-) 2011-03-30 15:43 wpwrak: well, I don't have enough spare money to realy try to manufacture one of mine useless devices, but I always thought that's a process full of its very own crap and numerous fuckups 2011-03-30 15:43 *really 2011-03-30 15:44 whitequark: well, in a way it is. but there's no way to learn other than taking the risk and trying it :) 2011-03-30 15:45 whitequark: besides, we already had one successful PCB (no SMT) production with the same company, UBB: http://www.tuxbrain.com/oscommerce/products/1898 2011-03-30 15:46 whitequark: and the PCB and SMT companies also advise us about potential problems. so it's not too bad. (i hope :) 2011-03-30 15:47 pcb production isn't that hard even in russia 2011-03-30 15:48 you should have chosen black solder mask for that board. it'd look much cooler with it ;) 2011-03-30 15:49 whitequark: yeah, probably. didn't want to make things complicated, though. step by step :) 2011-03-30 15:50 (besides that... 5 euros for a small pcb. if I'd make that at home with photoresist, it'd cost maybe... 0.5$?) 2011-03-30 15:52 whitequark: oh, that cost is almost entirely logistics. in terms of cost vs. overhead, it's quite stupid to order a single board. yet a lot of people seem to want that. 2011-03-30 15:53 whitequark: even for ten pieces it's silly. prices get better for 50 and more units. 2011-03-30 15:54 whitequark: also, for a fair comparison with DIY, you should consider the value of the work, not just the materials. that usually changes the picture quite dramatically :) 2011-03-30 15:55 wpwrak: diy'ing that takes from half to a hour for me, including exposure and etching 2011-03-30 15:56 whitequark: now tell me your skilled work is worth less than 4 EUR/hour :) 2011-03-30 15:57 whitequark: also, do you have a CNC mill to do the cutting ? this board is a little tricky 2011-03-30 15:58 wpwrak: oh yes, right. I have some kind of chinese multi-machine, it'd work for a board or two, and I'm looking at building a simple cnc myself: it's not as hard as it looks 2011-03-30 15:58 but this particluar board can be cut with scissors, dremel and a steady hand 2011-03-30 15:59 whitequark: yup, it can be cut manually. it has a predecessor that was actually done that way. just a bit more work. 2011-03-30 16:00 the sad thing for diy'ing are vias. I've never managed to do them correctly. not only all my drills are too big, but the small ones break after just several holes, and, which is the biggest problem, they can't be fixated in the collet of my dremel 2011-03-30 16:00 I hate them. 2011-03-30 16:01 whitequark: (ubb) of course, if you need just one piece and you're already set up to fabricate such things, then it doesn't make sense to buy that one. but there's a surprisingly large number of hobbyists who consider the whole pcb-making process as the purest evil magic. they're happy if they don't have to do that :) 2011-03-30 16:01 whitequark: (vias) oh yes, i hate them too 2011-03-30 16:03 that's the reason I've not yet done my most loved idea, a diyed (open hardware probably) music player with graphical display 2011-03-30 16:03 whitequark: just consider how much fun i had with these boards: http://downloads.qi-hardware.com/people/werner/wpan/tmp/2boards-20110305.jpg 2011-03-30 16:03 whitequark: (and there are three more of each kind i had made, plus various other prototypes with slightly different designs) 2011-03-30 16:03 anything I found was either ugly or using nano-sized smt components (which are generally good) and the damned vias 2011-03-30 16:04 aha, that pattern of non-uniform solder distribution is very familiar for me :) 2011-03-30 16:04 that's amazing btw 2011-03-30 16:04 do they work? 2011-03-30 16:04 whitequark: (vias) my approach for them is now to drill them with my CNC machine. no more broken drills, all holes are vertical, etc. then i stick a piece of wire through them, and solder. 2011-03-30 16:05 whitequark: of course they work ! ;-) 2011-03-30 16:05 oh 2011-03-30 16:05 that's even more amazing then :) 2011-03-30 16:06 here's a collection of predecessors: http://downloads.qi-hardware.com/people/werner/wpan/tmp/boards-so-far.jpg 2011-03-30 16:06 which method have you used? the laser-printer-and-iron one or with the photoresist? 2011-03-30 16:06 whitequark: i used toner transfer 2011-03-30 16:07 (nano-sized components) you mean BGAs and other chips with contacts only at the bottom but nothing on the sides ? 2011-03-30 16:07 I've never managed to make a board with toner transfer which has all its connections non-broken 2011-03-30 16:08 per my experience, toner transfer may (sometimes) be easier, but it produces unstable results 2011-03-30 16:09 contrary to that, photoresist is stable: if you've got a crappy board once, you'll get the exactly same crap each time you'll try with same conditions 2011-03-30 16:09 (toner transfer) my boards usually need a little bit of correcting. but it's not too bad. and i'm not sure how well photo-coated boards would like the CNC step anyway. 2011-03-30 16:10 yes, toner transfer is a bit less dependable. i use a laminator for the actual transfer process, which helps. 2011-03-30 16:10 while photoresist is not exposured, it's something like a, hmm, maybe glue on stickers from market. anyway, you can freely drill through it, and it would be good 2011-03-30 16:10 I always do drilling after etching, through 2011-03-30 16:10 after the exposure it becomes fragile, so it would not be possible 2011-03-30 16:11 also, to stick the resist to the board properly, laminator is required too 2011-03-30 16:11 (like glue) yeah, that wouldn't go well with CNC. lots of dust. 2011-03-30 16:12 it's coated with a PET film 2011-03-30 16:12 if you're interested, I may make a test once I'll be at home 2011-03-30 16:12 so you do the coating yourself ? okay, then you could cut them first and then coat. 2011-03-30 16:13 sure 2011-03-30 16:14 hmm, I see you've used atrf series 2011-03-30 16:14 they are somehow absent in russia 2011-03-30 16:14 I've found some TI's CC2500 instead, they look very promising, and also it's TI 2011-03-30 16:14 how did you calculated the antenna? 2011-03-30 16:15 don't ti have export restrictions on their "modern" chips (with AES) ? 2011-03-30 16:15 cc2500 don't have aes 2011-03-30 16:16 at most, they have CRC and some kind of FEC 2011-03-30 16:16 (ant) i used a design (for a 1.0 mm board) from TI, then determined the right size for my 0.8 mm boards by trial and error: http://downloads.qi-hardware.com/people/werner/tmp/antfarm.jpg 2011-03-30 16:17 I really like the simplicity of the integrated 2.4g transciever which only needs two or three caps 2011-03-30 16:17 hm, so the board thickness matters a lot 2011-03-30 16:18 microwave is picky about the board thickness 2011-03-30 16:18 well, you have some nice equipment (what's that at the bottom of photo?) 2011-03-30 16:18 I wonder how expensive it is 2011-03-30 16:21 ahm the cc2500 isn't ieee 802.15.4, is it ? 2011-03-30 16:23 (bottom) that's an usrp2 with a xcvr2450 board. about USD 2000 before customs fees and taxes. that's actually quite cheap for a device with these capabilities. 2011-03-30 16:24 they'll release a new daughterboard that's even better next month. the xcvr2450 does the 2.4 and 5 GHz ISM bands, but only half-duplex. the new board will do 400 MHz-4 GHz, full-duplex. 2011-03-30 16:25 oh, the usrp 2011-03-30 16:26 but, 2000usd. 2011-03-30 16:26 (If I only had lived in the same country with someone who has such devices...) 2011-03-30 16:28 "professional" vector signal analyzers/generators cost something like 10-100 times that price. it's really a bargain if you think of it :) 2011-03-30 16:29 I prefer do not think about it at all 2011-03-30 16:29 ;-)) 2011-03-30 16:32 AA2500 is a simple radio-uart with a bunch of interesting modulation and packet transmission modes, and other features like fec and crc 2011-03-30 16:32 it's quite powerful as-is, and has a nice frontend, which is simple too 2011-03-30 16:33 some russian developers had a (somewhat) successful use stories, so looks like I may get something workable 2011-03-30 16:38 wpwrak, can I ask you when my boards won't work again? :) 2011-03-30 16:40 (cc2500) i'm not so fond of non-standard modulation techniques. with ieee 802.15.4, we have at least something reasonably well defined and interoperable. otherwise, it's just the same old vendor lock-in all over again. 2011-03-30 16:40 whitequark: hehe, i'm still an RF noob, but i can at least contribute some war stories ;) 2011-03-30 16:42 wpwrak, not just about RF. I have troubles in (all) other areas as well. e.g. switch-mode supplies and, to my shame, even cp2102 hasn't worked 2011-03-30 16:42 well, about the latter, I think that's because of the flux I mistakenly bought thinking it may be something good 2011-03-30 16:43 turns out that it is actually not so bad flux, but unless you're heating your entire board thoroughly, it would remain in active, and conductive (~tens of ohms) state 2011-03-30 16:44 I've thought I've killed one of my ben-like boards, but once an idea came and (after a three weeks spent on a shelf with very active flux) I've heated the board for ~5min, and it worked perfectly 2011-03-30 16:44 (cp2102) aww. well, i had my share of fun with their competitor, ftdi. but i think all the flaws i found were actually part of the design ... 2011-03-30 16:44 oh, ftdi 2011-03-30 16:45 ft232 is 6 times more expensive than cp2102 2011-03-30 16:45 ($10 for a chip in most cheap place in Moscow) 2011-03-30 16:45 (flux) tens of ohms ? wow !! even tens of kOhms flux is a royal pain 2011-03-30 16:46 heh, that's interesting flux. after it was heated for about 200 deg. C for a minute or two, it deactivates completely and everything works 2011-03-30 16:46 and it is really really good as a flux 2011-03-30 16:46 but every board has some small hidden place which does not get heated enough 2011-03-30 16:46 and then fun begins. 2011-03-30 16:47 (ftdi) naw, the FT232RQ isn't so expensive 2011-03-30 16:47 IIRC I've used FT232RL 2011-03-30 16:47 the one in case with pins on two sides 2011-03-30 16:47 like soic, but more dense 2011-03-30 16:48 something like 25% more expensive than the silabs part. and theoretically more capable. alas, all the extra capabilities are unreliable/buggy 2011-03-30 16:48 heh 2011-03-30 16:48 cp2102 costs like $1.5 here 2011-03-30 16:48 so, even if I kill half of chips I buy, it's still cheaper than using fts 2011-03-30 16:49 (btw, the single board I've did with ft worked until I've managed to overload it somehow, and it died) 2011-03-30 16:49 (cp2102) interesting. at digi-key, it's still USD 2.55 for 1000 units: http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=336-1160-ND 2011-03-30 16:50 I've double-checked the price. currently at terraelectronica (they're technically a wholesale shop, but you may very well buy one or two parts, it's perfectly good for them) it costs 48 RUR 2011-03-30 16:50 that's $1.7 according to google 2011-03-30 16:51 I mean, 48RUR for one part. if I'd buy more than 10, they would be even cheaper 2011-03-30 16:52 I can send you a bag of them, heh 2011-03-30 16:52 hmm. they must get rather interesting discounts. or maybe someone diverted a container full of chips ;-) 2011-03-30 16:53 they have absolutely best prices in moscow, maybe in the whole russia 2011-03-30 16:53 pretty impressive. 2011-03-30 16:54 and a rather wide range of different elements. not only semiconductors, they also have e.g. inductors too 2011-03-30 16:54 yeah 2011-03-30 16:54 kristianpaul: i feel your breath :) 2011-03-30 16:55 anyway, thanks for the info about ftdi crappiness. now i don't think they're better than silabs chip at all 2011-03-30 16:56 ha 2011-03-30 16:56 oops 2011-03-30 16:58 has someone used laser cutting services? they look like a right way to prototype a good case 2011-03-30 16:58 whitequark: the problems with ftdi are: lousy documentation (they like to keep things secret), ergo buggy linux drivers, and flaws in things like synchronous bit-banging 2011-03-30 16:58 whitequark: (ftdi) as long as you just need a basic UART, you're probably fine. but try to use the A-bus for something more demanding, and you're screwed. likewise, you can't use the C-bus reliably due to incomplete documentation. 2011-03-30 16:59 hmmm... A-bus? C-bus? I've never heard of that 2011-03-30 16:59 whitequark: (ft) if you try to flash the eeprom, you may also end up with garbage due to buggy linux drivers because of missing documentation 2011-03-30 17:00 whitequark: (ft) of course, if you use ftdi's closed source drivers, things may work better 2011-03-30 17:00 whitequark: (a-bus) a-bus is the first uart. b-bus is the 2nd uart in the ft2232 devices. c-bus are a few pins available for status signals/leds or bit-banging. 2011-03-30 17:01 whitequark: (laser cutting) roh is our expert for this 2011-03-30 17:01 aha, thanks 2011-03-30 17:01 whitequark: i think he sleeps next a laser cutter :) 2011-03-30 17:01 s/next/next to/ 2011-03-30 17:02 looking at all that boards, I think I now have a reason to buy ben. 2011-03-30 17:03 what variant works better, atusb one or sd-bitbanged one? 2011-03-30 17:03 are they rf-compatible? 2011-03-30 17:04 they're compatible. the atben (bitbanged) goes into the ben. atusb goes into your pc. 2011-03-30 17:04 ben has usb-host, hasn't it? 2011-03-30 17:05 atben may work slightly better (fewer energy in sidebands)), according to my measurements: http://downloads.qi-hardware.com/people/werner/wpan/20110306/ 2011-03-30 17:05 (usb host) unfortunately not 2011-03-30 17:06 ah yes. 2011-03-30 17:07 that graphs are impressive :) 2011-03-30 17:08 what transciever do you use? 2011-03-30 17:08 whitequark: which city are you from? 2011-03-30 17:08 oh wait, that was the wrong series. here's the right one (comparing atben and atusb): http://downloads.qi-hardware.com/people/werner/wpan/20110303/ 2011-03-30 17:09 20110306 were unsuccessful attempts to make atusb less noisy 2011-03-30 17:09 (txrx) the at86rf231 2011-03-30 17:09 kyak: moscow 2011-03-30 17:10 whitequark: nice :) we could've done a group buy couple of weeks ago! 2011-03-30 17:11 (though the chances of receiving two Ben might be lower) 2011-03-30 17:11 kyak: i didn't knew about sharism and everything a couple of weeks ago. anyway, there sure will be more nice things to buy 2011-03-30 17:12 wpwrak: so, atmel parts all the way. I know they're good at uC's, are their RF parts equally good? 2011-03-30 17:16 whitequark: (rf parts) so far, they're behaving :) 2011-03-30 17:17 whitequark: what's not so nice about them is that you only have a single buffer for incoming and outgoing frames. so you can't receive while transferring a frame from/to the buffer. a bit like the good old 3c501 ethernet card. 2011-03-30 17:18 (transferring) however, if you want to squeeze out the last few milliseconds, you can start retrieving an incoming frame while it's still being received. 2011-03-30 17:19 wpwrak: that cards falled out of use a couple of years later I've beginned to work with networks 2011-03-30 17:19 whitequark: btw, the schematics are here http://projects.qi-hardware.com/schhist/atben/ 2011-03-30 17:20 and here http://projects.qi-hardware.com/schhist/atusb/ 2011-03-30 17:26 I don't quite get the meaning of color coding 2011-03-30 17:29 whitequark: green = added since previous version; red = removed; yellow = something changed in this area 2011-03-30 17:34 oh. nice feature 2011-03-30 19:24 wpwrak roh and when connected aw_, and wolfspraul you have mail 2011-03-30 20:53 I'd like to remove SDL_image as a dependency of gmenu2x 2011-03-30 20:53 and use libpng directly 2011-03-30 20:54 this means gmenu2x would only support PNG images, no longer BMP and JPEG 2011-03-30 20:54 it also means 2 libs (SDL_image and libjpeg) less to load on startup 2011-03-30 20:54 any opinions for/against? 2011-03-30 20:55 I don't know exactly who the stakeholders are here... 2011-03-30 20:55 I saw commits from kyak, dvdk and xiangfu recently 2011-03-30 21:20 mth: it's ok for me :) 2011-03-30 21:20 JFYI 2011-03-30 21:31 intersing DIY sugru :) http://www.instructables.com/id/How-To-Make-Your-Own-Sugru-Substitute 2011-03-30 21:31 I still thinking on the original sugru due it better mechanical characteristics but insteresting anyway 2011-03-30 21:31 Jay7: that makes it 2 for and 0 against :) 2011-03-30 21:33 mth: I'm sure that bmp support was not very actively used :) 2011-03-30 21:34 there shouldn't be a problem to convert jpg to png as well 2011-03-30 22:06 Jay7: imagemagick isn't called that for nothing. $ convert file.jpg file.png 2011-03-30 23:36 ahh, FINALLY ! major isp downtime