#qi-hardware IRC log for Wednesday, 2011-03-30

rohsetting 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)00:00
mthif you're doing video, accelerated YUV to RGB conversion would be useful though00:00
whitequarkmth: the ipu is on my to-do list too. not sure if it's same in jz4725 and jz474000:00
rohthats done in the userspace component usually (if the hw supports it)00:00
whitequarki think that existing implementations add some ioctl to framebuffer driver00:02
whitequark*ioctls00:02
mthwhitequark: please keep us informed; we'd like to have IPU support in OpenDingux as well (Dingoo A320 is JZ4740 based)00:02
mthIngenic does that, but they always invent custom controls00:02
mththere are more standard ways to do it00:03
mthmaybe via v4l2?00:03
whitequarkmth: my processor is jz4725 (jz4750 core), some stuff is compatible with jz4760, but lars may have more to say about latter00:03
rohwhitequark: ioctls to the fbdev are a bad idea00:03
roha) nonstandard00:03
rohb) slow.00:03
rohyou have a context change per call. dont do it.00:03
mthwhitequark: afaik 4725 is like 4740 and 4755 is like 476000:04
mthbut there is more difference between 4755 and 476000:04
mththe 4725 and 4740 are almost the same00:04
whitequarkmth: well, no. i've actually read jz4725 manual :)00:04
mthoh?00:04
whitequarktcu is almost completely different, and there are more differences00:04
whitequarkECC, NAND, and CODEC are absolutely new00:04
mthbut isn't the nanonote using the 4725?00:05
rohwhitequark: what would be cool is ingenic gpu support for blitting and video in directfb.00:05
rohit should be doable very similar to pre-agp cards. the mga driver should be a good example for where to do what.00:05
whitequarkmth: 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)00:06
whitequarkanyway the branch he is working on is jz474000:06
whitequarkroh: do you mean the integrated one, the ipu? I don't see how it may accelerate blitting00:06
whitequarkand I doubt that old pre-agp cards have accelerated video (but i may be wrong)00:07
rohsure they do00:08
rohback that that was all mmio to set uo00:08
rohnow these units are gone and you need to do all via commandchannel00:08
rohbasically assemble a bitstream of commands and data and burst that over to the gpu via agp00:09
roha radeon>900000:09
mththe 4740 IPU can only convert YUV to RGB00:09
mththe 4755 can convert RGB to RGB as well00:09
whitequarkmth: i've checked the manuals, and sadly, 4740 ipu is much much simpler that 4725 one00:10
roha 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 ;)00:10
whitequarkyou won't be able to use my driver, if i ever write one00:10
whitequarkon the other side, writing a driver for that ipu is much simpler00:10
mth4725 programming manual does state IPU input format as YUV/YCbCr though00:10
whitequarkit can do rgb too00:11
mthare you sure it is 4725 and not 4755?00:12
whitequarkwell, i can send you a photo of the chip :)00:13
whitequarkthat may sound strange, but i actually know the name of soc i'm developing drivers for00:14
mthor do they have two different chips both labeled 4725?00:14
whitequarkhmmm00:14
whitequarkspeaking strictly, it's labeled JZ4725B00:14
whitequarkbut I don't see any docs for plain JZ4725 on ftp.ingenic.cn, and I've never heard of it00:15
mththere were docs for it a few weeks ago00:16
mthI grabbed everything while it was online00:16
whitequarkthey do crazy things with manuals00:17
whitequarkand with naming00:17
whitequarkwell, maybe they're crazy at all00:17
whitequarkmth: here's the pm for my soc: http://files.whitequark.org/Jz4725B_pm.pdf00:17
mthit seems to be a substantial upgrade from the original 472500:25
whitequarkprobably. 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)00:26
mththere once was a 4740-based 4725, but all references to it seem to have disappeared from their FTP00:27
whitequarkroh: 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 lite00:28
whitequarkmth: maybe they have decided to let it fall into oblivion00:29
whitequarkroh: can you tell a bit more about the right way of doing accelerated video through ipu?00:52
whitequarkare 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 lot00:53
whitequarkand they're somewhat cheap in mips, if i understand it correctly00:53
rohwhitequark: nope. mmap the ipu register from directfb and leth that abstract that for mplayer00:57
rohhttp://www.mplayerhq.hu/DOCS/HTML/en/directfb.html00:58
rohalso one can compile directfb for multiple app use. so more than one app can run and directfb takes care of 'muxing'00:59
rohin 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.01:00
rohfusion is the 'ipc-layer' dfb uses for multi-app stuff.01:00
rohi think fusion needs a kernel driver. not sure if that is still true01:03
whitequarkafaik it is01:07
whitequarkthat looks like a right way01:10
whitequarkcould I add support for OSD with it?01:10
rohsure. usually there are either layers for yuf rendering.. if not you basically do a blit with colorkeying01:30
rohor alpha... depending of what colorformats are possible with the hw01:31
kristianpaulsteve|m: http://projects.qi-hardware.com/index.php/p/m1/source/tree/master/jtag-serial01:45
kristianpaulxiangfu: hi02:13
kristianpaulYou have idea how this is called in C02:14
kristianpaul#define MM_READ(reg) (*((volatile unsigned int *)(reg)))02:14
kristianpaul#define MM_WRITE(reg, val) *((volatile unsigned int *)(reg)) = val02:14
kristianpaulI dont understand well, it seems to be related with pointers and MMIO as the comment said, but my C knowledge dint get to that02:15
xiangfukristianpaul: hmm...02:17
xiangfu1. (volatile unsigned int *)(reg)  ==> change the number to pointer.02:17
xiangfu2. *((volatile unsigned int *)(reg)) ==> read the value of pointer address02:18
xiangfucast the number to pointer. the read the the pointer.02:19
kristianpaulah, cat02:19
kristianpaulcast*02:19
kristianpaulthats new for me02:19
kristianpauli'll read02:20
kristianpaulhe, i think i just intimidate because the external parenthesis, how you write it looks better ;)02:21
xiangfufor #define. always have a lot parenthesis :)02:22
kristianpauli see02:23
kristianpaulokay so i cast to make convert it to the right type02:30
kristianpaulinteresting02:30
xiangfuaw_: Hi where I can find the datasheet of milkymist nor.02:56
xiangfuI want look into more info about nor and yaffs2. then reply my talk on wallpaper. :)02:56
aw_xiangfu, http://en.qi-hardware.com/wiki/Milkymist_One_RC2_BOM02:57
aw_where you can drop/search  U9 JS28F256J3F10502:58
xiangfuaw_: thanks.02:59
wpwrak(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 :)04:01
wpwrakkristianpaul: 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.04:05
wpwrakkristianpaul: otherwise, things like *(uint8_t *) uart = 'h'; *(uint8_t *) uart = 'i'; could just become *(uint8_t *) uart = 'i';04:06
wpwrak(4720) the 4720 has the same die as the 4740, but does not connect all the signals04:07
wpwraksteve|m: i also have a mini-usb connector in ben-wpan: components/mini_usb_b.lib and modules/mini-usb.fpd04:08
wpwraksteve|m: (copper layer tested in prototype. the other layers unknown so far)04:11
wpwrakaw_: if you had to choose between http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=WM17118-ND04:32
wpwrakaw: and http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=WM3983CT-ND04:32
wpwrakaw: which would it be ?04:32
wpwrakaw_: (the first has "cowboy legs" while the second has straight legs)04:32
aw_wpwrak, i'd prefer the first one with "cowboy legs" which can be mounted strongly even u/p is much than second one.04:35
wpwrakaw_: ah, good :) that happens to be the one i've specified so far. we've been worried about the difficulty of smt'ing it04:38
wpwrakaw: (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.)04:39
aw_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. :-)04:41
wpwrakaw_: yeah, we still have to work on those *huge* production runs ;-)04:43
valhallais 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 NN09:04
wolfspraulvalhalla: http://en.qi-hardware.com/wiki/Press_and_marketing_material09:07
wolfspraulwhat we have is there09:07
wolfspraulit's a bit messy, but thanks a lot for your initiative!09:07
valhallawolfspraul: 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 hardware09:09
wpwrakvalhalla: maybe mention ben-wpan ?09:12
wpwrakvalhalla: also people who know their way around microwave circuits and could contribute towards improving things would be hotly welcome :)09:13
lars_i know my way around the mircowave oven, is that enough?09:18
qi-bot[commit] Werner Almesberger: install/: renamed READMEs and added (non-working) setup instructions http://qi-hw.com/p/ben-wpan/0cfd27709:18
qi-bot[commit] Werner Almesberger: install/USAGE: rearranged to make copy & paste easier http://qi-hw.com/p/ben-wpan/d489ff809:18
qi-bot[commit] Werner Almesberger: at86rf230: separate state change command from final state http://qi-hw.com/p/qi-kernel/26d445109:19
qi-bot[commit] Werner Almesberger: board-qi_lb60.c: we accidently broke atben's interrupt http://qi-hw.com/p/qi-kernel/d88ff3a09:19
wpwraklars_: it's a good start ;-)09:19
valhallawpwrak: 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 emails09:20
valhalla(if there isn't, I'll read the emails to know about it)09:21
wpwrakvalhalla: 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.jpg09:25
qi-bot[commit] Joachim Steiger:  added details about din and isolator http://qi-hw.com/p/m1/ec34f7909:25
wpwrakhttp://downloads.qi-hardware.com/people/werner/wpan/tmp/atben-20110123-front.jpg09:28
wpwrak(the second shows a slightly older board)09:29
wpwrakthe technology is IEEE 802.15.4 (the thing underneath ZigBee and 6LoWPAN), at 2.4 GHz09:29
valhallaso the project is a free hardware board for IEEE 802.15.4, with usb and/or sdio connection?09:32
wpwrakwith 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)09:38
valhallaok, thanks09:42
qi-bot[commit] Werner Almesberger: install/USAGE: added izchat commands (yup, that works :) http://qi-hw.com/p/ben-wpan/c52975309:52
tuxbrainwpwrak: (izchat) that means you can send/recive something writing in one NN and reading on the other? can you make a video of this?13:13
qi-bot[commit] Ayla: Changed an error message, that was displaying "Error:" twice. Plus, it now more meaningful. http://qi-hw.com/p/gmenu2x/ec000e013:48
tuxbrainroh, 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.13:52
tuxbrainregarding atben, the sucru aproach is taking strength but victor, more skilled on plastics and such will take a look and alternatives and costs13:53
rohtuxbrain: didnt have time.. too many things right now.. i think it would make more sense taking a atben and walking over akihaba markets in tokyo14:08
rohbut they have atomic end-time warfare there so i do not dare to bother people over there14:08
wpwraktuxbrain: (izchat) it's a simple two-way communication program that sends its messages in IEEE 802.15.4 MAC frames. (without IP or such)14:29
wpwraktuxbrain: 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 addresses14:30
wpwraktuxbrain: (video) it's not very photogenic yet - one of the two Bens is a naked board without display14:31
tuxbrainwpwrak: (naked ben) mmm thechi pr0n!14:31
wpwrakroh: (japan) if you know someone there, they may appreciate a bit of normality14:32
wpwraktuxbrain: (geekporn) yeah, raw and naked :)14:32
tuxbrainwpwrak: (usb connector) finally they will use the usb connector you specified, no problems on smt process with the cowboy legs, confirmed by smt vendor.14:33
jlamotheDoes 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.14:33
wpwraktuxbrain: whee ! :)14:34
tuxbrainwpwrak: 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.14:37
wpwraktuxbrain: 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)14:39
wpwraktuxbrain: (hole) whether i really need to enlarge it depends on the actual size my mill produces14:41
tuxbrainwpwrak: ok, waiting for you command sir!14:42
wpwraktuxbrain: (may) so 2 weeks for the pcbs and 4 weeks for smt ?14:42
tuxbrainreally smt should be 2/3 weeks but we have Eastern holidays in the middle :(14:43
wpwrakbargh. evil holidays14:44
tuxbrainwe (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)14:45
wpwraksourcing should take about 48-72 hours if you order from digi-key :)14:46
tuxbrainwpwrak: spain... remember this is spain.... damn germanic :P14:47
wpwraktuxbrain: 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 design14:48
wpwraktuxbrain: luckily, in this case, b) is unlikely14:49
tuxbrainok 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...14:51
tuxbrainbut yes once I have the pcb started I will tell them to start sourcing14:51
wpwraktuxbrain: (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.14:53
tuxbrainwpwrak: agree14:54
tuxbrainI must leave14:54
tuxbrainread you later14:54
wpwraktuxbrain: cya !14:54
Action: kristianpaul is waiting for the sacred "semana santa" too15:13
wpwraktuxbrain: 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 README15:13
wpwrakkristianpaul: looking forward to it or disliking it ?15:13
kristianpaulwpwrak: i dont work on semana santa :-)15:14
wpwrakkristianpaul: i hate all those holidays that mess up the weekly routing. of course, i take my days off whenever i please :)15:14
kristianpauli need more time for qi ;)15:14
wpwraks/routing/routine/15:14
kristianpaulah, you tell me, my town is flood of tourist the whole week15:14
kristianpaulso, another excuse to stay at home ;-)15:15
wpwrakkristianpaul: tourists coming to worship the place where the famed gps developer lives ? :)15:15
kristianpaulthey came because the "Basilica del Se~os de los Milagros"15:17
kristianpaulSe~nor*15:17
Action: kristianpaul will consider for the next year go back to the farm15:19
kristianpaulas soon as i get internet ther ;)15:19
wpwrakkristianpaul: full retreat ;-)15:20
kristianpaulwpwrak: (volatile) thats tricky, it seems to be used to do MMIO in  serveral rtems drivers for milkymist15:21
kristianpaulwell seems i neeed read more about it, before get the DMA thing for SiGE to work in software..15:21
wpwrakkristianpaul: (volatile) yes, forgetting to use volatile can produce bugs that are very entertaining to chase15:23
Action: wpwrak 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-ND15:32
whitequarkcan't beliveve my eyes. so are you just planning to make a batch of some device you've invented and tested?15:39
whitequarkis it really that easy over there?15:39
wpwrakwhitequark: what further complications would you expect ? ;-)15:40
whitequarkwpwrak: 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 fuckups15:43
whitequark*really15:43
wpwrakwhitequark: well, in a way it is. but there's no way to learn other than taking the risk and trying it :)15:44
wpwrakwhitequark: besides, we already had one successful PCB (no SMT) production with the same company, UBB: http://www.tuxbrain.com/oscommerce/products/189815:45
wpwrakwhitequark: and the PCB and SMT companies also advise us about potential problems. so it's not too bad. (i hope :)15:46
whitequarkpcb production isn't that hard even in russia15:47
whitequarkyou should have chosen black solder mask for that board. it'd look much cooler with it ;)15:48
wpwrakwhitequark: yeah, probably. didn't want to make things complicated, though. step by step :)15:49
whitequark(besides that... 5 euros for a small pcb. if I'd make that at home with photoresist, it'd cost maybe... 0.5$?)15:50
wpwrakwhitequark: 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.15:52
wpwrakwhitequark: even for ten pieces it's silly. prices get better for 50 and more units.15:53
wpwrakwhitequark: 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 :)15:54
whitequarkwpwrak: diy'ing that takes from half to a hour for me, including exposure and etching15:55
wpwrakwhitequark: now tell me your skilled work is worth less than 4 EUR/hour :)15:56
wpwrakwhitequark: also, do you have a CNC mill to do the cutting ? this board is a little tricky15:57
whitequarkwpwrak: 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 looks15:58
whitequarkbut this particluar board can be cut with scissors, dremel and a steady hand15:58
wpwrakwhitequark: yup, it can be cut manually. it has a predecessor that was actually done that way. just a bit more work.15:59
whitequarkthe 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 dremel16:00
whitequarkI hate them.16:00
wpwrakwhitequark: (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 :)16:01
wpwrakwhitequark: (vias) oh yes, i hate them too16:01
whitequarkthat's the reason I've not yet done my most loved idea, a diyed (open hardware probably) music player with graphical display16:03
wpwrakwhitequark: just consider how much fun i had with these boards: http://downloads.qi-hardware.com/people/werner/wpan/tmp/2boards-20110305.jpg16:03
wpwrakwhitequark: (and there are three more of each kind i had made, plus various other prototypes with slightly different designs)16:03
whitequarkanything I found was either ugly or using nano-sized smt components (which are generally good) and the damned vias16:03
whitequarkaha, that pattern of non-uniform solder distribution is very familiar for me :)16:04
whitequarkthat's amazing btw16:04
whitequarkdo they work?16:04
wpwrakwhitequark: (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.16:04
wpwrakwhitequark: of course they work ! ;-)16:05
whitequarkoh16:05
whitequarkthat's even more amazing then :)16:05
wpwrakhere's a collection of predecessors: http://downloads.qi-hardware.com/people/werner/wpan/tmp/boards-so-far.jpg16:06
whitequarkwhich method have you used? the laser-printer-and-iron one or with the photoresist?16:06
wpwrakwhitequark: i used toner transfer16:06
wpwrak(nano-sized components) you mean BGAs and other chips with contacts only at the bottom but nothing on the sides ?16:07
whitequarkI've never managed to make a board with toner transfer which has all its connections non-broken16:07
whitequarkper my experience, toner transfer may (sometimes) be easier, but it produces unstable results16:08
whitequarkcontrary 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 conditions16:09
wpwrak(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.16:09
wpwrakyes, toner transfer is a bit less dependable. i use a laminator for the actual transfer process, which helps.16:10
whitequarkwhile 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 good16:10
whitequarkI always do drilling after etching, through16:10
whitequarkafter the exposure it becomes fragile, so it would not be possible16:10
whitequarkalso, to stick the resist to the board properly, laminator is required too16:11
wpwrak(like glue) yeah, that wouldn't go well with CNC. lots of dust.16:11
whitequarkit's coated with a PET film16:12
whitequarkif you're interested, I may make a test once I'll be at home16:12
wpwrakso you do the coating yourself ? okay, then you could cut them first and then coat.16:12
whitequarksure16:13
whitequarkhmm, I see you've used atrf series16:14
whitequarkthey are somehow absent in russia16:14
whitequarkI've found some TI's CC2500 instead, they look very promising, and also it's TI16:14
whitequarkhow did you calculated the antenna?16:14
wpwrakdon't ti have export restrictions on their "modern" chips (with AES) ?16:15
whitequarkcc2500 don't have aes16:15
whitequarkat most, they have CRC and some kind of FEC16:16
wpwrak(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.jpg16:16
whitequarkI really like the simplicity of the integrated 2.4g transciever which only needs two or three caps16:17
whitequarkhm, so the board thickness matters a lot16:17
wpwrakmicrowave is picky about the board thickness16:18
whitequarkwell, you have some nice equipment (what's that at the bottom of photo?)16:18
whitequarkI wonder how expensive it is16:18
wpwrakahm the cc2500 isn't ieee 802.15.4, is it ?16:21
wpwrak(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.16:23
wpwrakthey'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.16:24
whitequarkoh, the usrp16:25
whitequarkbut, 2000usd.16:26
whitequark(If I only had lived in the same country with someone who has such devices...)16:26
wpwrak"professional" vector signal analyzers/generators cost something like 10-100 times that price. it's really a bargain if you think of it :)16:28
whitequarkI prefer do not think about it at all16:29
wpwrak;-))16:29
whitequarkAA2500 is a simple radio-uart with a bunch of interesting modulation and packet transmission modes, and other features like fec and crc16:32
whitequarkit's quite powerful as-is, and has a nice frontend, which is simple too16:32
whitequarksome russian developers had a (somewhat) successful use stories, so looks like I may get something workable16:33
whitequarkwpwrak, can I ask you when my boards won't work again? :)16:38
wpwrak(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.16:40
wpwrakwhitequark: hehe, i'm still an RF noob, but i can at least contribute some war stories ;)16:40
whitequarkwpwrak, 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 worked16:42
whitequarkwell, about the latter, I think that's because of the flux I mistakenly bought thinking it may be something good16:42
whitequarkturns 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) state16:43
whitequarkI'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 perfectly16:44
wpwrak(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 ...16:44
whitequarkoh, ftdi16:44
whitequarkft232 is 6 times more expensive than cp210216:45
whitequark($10 for a chip in most cheap place in Moscow)16:45
wpwrak(flux) tens of ohms ? wow !! even tens of kOhms flux is a royal pain16:45
whitequarkheh, that's interesting flux. after it was heated for about 200 deg. C for a minute or two, it deactivates completely and everything works16:46
whitequarkand it is really really good as a flux16:46
whitequarkbut every board has some small hidden place which does not get heated enough16:46
whitequarkand then fun begins.16:46
wpwrak(ftdi) naw, the FT232RQ isn't so expensive16:47
whitequarkIIRC I've used FT232RL16:47
whitequarkthe one in case with pins on two sides16:47
whitequarklike soic, but more dense16:47
wpwraksomething like 25% more expensive than the silabs part. and theoretically more capable. alas, all the extra capabilities are unreliable/buggy16:48
whitequarkheh16:48
whitequarkcp2102 costs like $1.5 here16:48
whitequarkso, even if I kill half of chips I buy, it's still cheaper than using fts16:48
whitequark(btw, the single board I've did with ft worked until I've managed to overload it somehow, and it died)16:49
wpwrak(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-ND16:49
whitequarkI'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 RUR16:50
whitequarkthat's $1.7 according to google16:50
whitequarkI mean, 48RUR for one part. if I'd buy more than 10, they would be even cheaper16:51
whitequarkI can send you a bag of them, heh16:52
wpwrakhmm. they must get rather interesting discounts. or maybe someone diverted a container full of chips ;-)16:52
whitequarkthey have absolutely best prices in moscow, maybe in the whole russia16:53
wpwrakpretty impressive.16:53
whitequarkand a rather wide range of different elements. not only semiconductors, they also have e.g. inductors too16:54
whitequarkyeah16:54
kyakkristianpaul: i feel your breath :)16:54
whitequarkanyway, thanks for the info about ftdi crappiness. now i don't think they're better than silabs chip at all16:55
kristianpaulha16:56
kristianpauloops16:56
whitequarkhas someone used laser cutting services? they look like a right way to prototype a good case16:58
wpwrakwhitequark: the problems with ftdi are: lousy documentation (they like to keep things secret), ergo buggy linux drivers, and flaws in things like synchronous bit-banging16:58
wpwrakwhitequark: (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.16:58
whitequarkhmmm... A-bus? C-bus? I've never heard of that16:59
wpwrakwhitequark: (ft) if you try to flash the eeprom, you may also end up with garbage due to buggy linux drivers because of missing documentation16:59
wpwrakwhitequark: (ft) of course, if you use ftdi's closed source drivers, things may work better17:00
wpwrakwhitequark: (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.17:00
wpwrakwhitequark: (laser cutting) roh is our expert for this17:01
whitequarkaha, thanks17:01
wpwrakwhitequark: i think he sleeps next a laser cutter :)17:01
wpwraks/next/next to/17:01
whitequarklooking at all that boards, I think I now have a reason to buy ben.17:02
whitequarkwhat variant works better, atusb one or sd-bitbanged one?17:03
whitequarkare they rf-compatible?17:03
wpwrakthey're compatible. the atben (bitbanged) goes into the ben. atusb goes into your pc.17:04
whitequarkben has usb-host, hasn't it?17:04
wpwrakatben may work slightly better (fewer energy in sidebands)), according to my measurements: http://downloads.qi-hardware.com/people/werner/wpan/20110306/17:05
wpwrak(usb host) unfortunately not17:05
whitequarkah yes.17:06
whitequarkthat graphs are impressive :)17:07
whitequarkwhat transciever do you use?17:08
kyakwhitequark: which city are you from?17:08
wpwrakoh wait, that was the wrong series. here's the right one (comparing atben and atusb): http://downloads.qi-hardware.com/people/werner/wpan/20110303/17:08
wpwrak20110306 were unsuccessful attempts to make atusb less noisy17:09
wpwrak(txrx) the at86rf23117:09
whitequarkkyak: moscow17:09
kyakwhitequark: nice :) we could've done a group buy couple of weeks ago!17:10
kyak(though the chances of receiving two Ben might be lower)17:11
whitequarkkyak: i didn't knew about sharism and everything a couple of weeks ago. anyway, there sure will be more nice things to buy17:11
whitequarkwpwrak: so, atmel parts all the way. I know they're good at uC's, are their RF parts equally good?17:12
wpwrakwhitequark: (rf parts) so far, they're behaving :)17:16
wpwrakwhitequark: 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.17:17
wpwrak(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.17:18
whitequarkwpwrak: that cards falled out of use a couple of years later I've beginned to work with networks17:19
wpwrakwhitequark: btw, the schematics are here http://projects.qi-hardware.com/schhist/atben/17:19
wpwrakand here http://projects.qi-hardware.com/schhist/atusb/17:20
whitequarkI don't quite get the meaning of color coding17:26
wpwrakwhitequark: green = added since previous version; red = removed; yellow = something changed in this area17:29
whitequarkoh. nice feature17:34
tuxbrainwpwrak roh and when connected aw_, and wolfspraul you have mail19:24
mthI'd like to remove SDL_image as a dependency of gmenu2x20:53
mthand use libpng directly20:53
mththis means gmenu2x would only support PNG images, no longer BMP and JPEG20:54
mthit also means 2 libs (SDL_image and libjpeg) less to load on startup20:54
mthany opinions for/against?20:54
mthI don't know exactly who the stakeholders are here...20:55
mthI saw commits from kyak, dvdk and xiangfu recently20:55
Jay7mth: it's ok for me :)21:20
Jay7JFYI21:20
tuxbrainintersing DIY sugru :) http://www.instructables.com/id/How-To-Make-Your-Own-Sugru-Substitute21:31
tuxbrainI still thinking on the original sugru due it better mechanical characteristics but insteresting anyway21:31
mthJay7: that makes it 2 for and 0 against :)21:31
Jay7mth: I'm sure that bmp support was not very actively used :)21:33
Jay7there shouldn't be a problem to convert jpg to png as well21:34
whitequarkJay7: imagemagick isn't called that for nothing. $ convert file.jpg file.png22:06
wpwrakahh, FINALLY ! major isp downtime23:36
--- Thu Mar 31 201100:00

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