2013-10-20 00:00 about the hardest bit it correctly aligning the QFN chips. it's easy to overlook having them off by one pin. and of course, that wouldn't go so well. 2013-10-20 00:00 you need some components from (baumarkt) and drugstore, then you can build everything 2013-10-20 00:00 :) 2013-10-20 00:01 QFN http://www.finetech.de/uploads/pics/QFN_processcam_02.jpg 2013-10-20 00:01 something like this? 2013-10-20 00:02 easy.... 2013-10-20 00:02 yup. a lot of solder there, though 2013-10-20 00:02 you need (loetpaste) 2013-10-20 00:03 I have only a soldering iron from weller and solder 2013-10-20 00:04 and some lace in all colours 2013-10-20 00:04 i mean litz wire 2013-10-20 00:08 I think I have more success to build an anelok emulator than to build a real anelok ;) 2013-10-20 00:09 you need flux, yes. SMT without flux is pretty much impossible. 2013-10-20 00:10 ah flux == loetpaste 2013-10-20 00:10 you mean SMD? 2013-10-20 00:14 SMD and SMT and more or less synonymous 2013-10-20 00:14 here's what the MCU looks like: http://downloads.qi-hardware.com/people/werner/anelok/tmp/solder-qfn.jpg 2013-10-20 00:14 on the right side, i'm also guilty of using too much solder. ah well ... 2013-10-20 00:15 ah freescale 2013-10-20 00:15 wahhh 2013-10-20 00:15 on the front right 2013-10-20 00:15 kineis kl25. nice little ARM. 2013-10-20 00:16 pin 2-3 from right 2013-10-20 00:16 are conntected 2013-10-20 00:16 maybe :) 2013-10-20 00:16 and in the middle of board 2013-10-20 00:16 naw. that's just dirt 2013-10-20 00:16 ok 2013-10-20 00:17 flux residues. they're hard to get rid of 2013-10-20 00:18 but you need flux 2013-10-20 00:18 and antiflux 2013-10-20 00:18 the little coppercolour wire 2013-10-20 00:18 to remove solder 2013-10-20 00:19 you use it but remove it not completely 2013-10-20 00:19 tricky, you need to have the right feeling for this 2013-10-20 00:19 desoldering braid ? that only goes so far ... if you try too hard, you damage the traces 2013-10-20 00:20 and yes, flux remover would help to go a bit further. but the ultrasonic cleaner already does a pretty good job. 2013-10-20 00:22 ah ultrasonic cleaner 2013-10-20 00:23 wpwrak: do you could make a layer of varnish on top of your prototype? 2013-10-20 00:23 my solution of all soldering a layer of glue 2013-10-20 00:25 varnish would complicate rework 2013-10-20 00:25 glue and soldering ? hmmm ... 2013-10-20 00:27 after soldering I take the hot glue gun 2013-10-20 00:27 and shot it on my board 2013-10-20 00:27 why ? 2013-10-20 00:27 to prevent loose contact 2013-10-20 00:28 what are you soldering ? water pipes ? :) 2013-10-20 00:29 no for example the lirc module 2013-10-20 00:29 next time I take a picture 2013-10-20 00:30 but then I would scare you 2013-10-20 00:30 :D 2013-10-20 00:31 http://downloads.qi-hardware.com/people/werner/anelok/tmp/anelok-20131005.png 2013-10-20 00:31 the grey quadrats on the qfn 2013-10-20 00:31 is for holding the ic? 2013-10-20 00:31 or gnd? 2013-10-20 00:32 what the hell is this 2013-10-20 00:33 Luke-Jr has quit [Ping timeout: 245 seconds] 2013-10-20 00:33 okay, maybe I should read the datasheet 2013-10-20 00:34 you mean the little grey squares in the middle ? they're solder paste 2013-10-20 00:34 oh 2013-10-20 00:35 ehm 2013-10-20 00:41 this explains why: http://www.nxp.com/documents/application_note/AN10365.pdf 2013-10-20 00:44 Luke-Jr has joined #qi-hardware 2013-10-20 00:51 ah thanks 2013-10-20 00:51 page 27 looks like my home labor 2013-10-20 00:54 :P 2013-10-20 00:57 wpwrak: I just googled anelok and only I get is a russia money transfer bank anelik 2013-10-20 00:57 oh that's very trustful ;0 2013-10-20 00:58 maybe you mistyped it ? 2013-10-20 01:01 https://www.google.de/search?q=anelok 2013-10-20 01:01 ;) 2013-10-20 01:02 I like the display and the weel 2013-10-20 01:02 if I would get some of these anelok, I would port doom on it ;) 2013-10-20 01:02 the most ported game for ever 2013-10-20 01:03 wpwrak: I need to rework the lowpan patches :( 2013-10-20 01:06 Luke-Jr has quit [Ping timeout: 245 seconds] 2013-10-20 01:11 wpwrak: I need to sleep now 2013-10-20 01:11 good night 2013-10-20 01:11 tomorrow I will make the lowpan patches 2013-10-20 01:11 Luke-Jr has joined #qi-hardware 2013-10-20 01:13 doom .. hmm, should be fun at 128x64 :) 2013-10-20 01:13 transmission-error-free dreams ! :) 2013-10-20 01:30 pcercuei has quit [Ping timeout: 272 seconds] 2013-10-20 01:45 rz2k has quit [] 2013-10-20 01:48 porchaso0 has joined #qi-hardware 2013-10-20 01:50 porchao has quit [Ping timeout: 245 seconds] 2013-10-20 04:56 jekhor has joined #qi-hardware 2013-10-20 05:14 jekhor has quit [Ping timeout: 272 seconds] 2013-10-20 06:38 jekhor has joined #qi-hardware 2013-10-20 07:47 jekhor has quit [Read error: Operation timed out] 2013-10-20 08:02 jekhor has joined #qi-hardware 2013-10-20 08:22 porchao has joined #qi-hardware 2013-10-20 08:23 porchaso0 has quit [Read error: Connection reset by peer] 2013-10-20 09:05 porchaso0 has joined #qi-hardware 2013-10-20 09:07 porchao has quit [Ping timeout: 272 seconds] 2013-10-20 09:54 wej has joined #qi-hardware 2013-10-20 10:08 xiangfu_ has joined #qi-hardware 2013-10-20 10:08 xiangfu has quit [Ping timeout: 272 seconds] 2013-10-20 10:38 jekhor has quit [Ping timeout: 272 seconds] 2013-10-20 10:38 dos1 has joined #qi-hardware 2013-10-20 12:08 lekernel has joined #qi-hardware 2013-10-20 12:12 pcercueiS2 has joined #qi-hardware 2013-10-20 12:14 valhalla has quit [Ping timeout: 272 seconds] 2013-10-20 12:16 valhalla has joined #qi-hardware 2013-10-20 12:21 pcercuei has joined #qi-hardware 2013-10-20 12:26 jekhor has joined #qi-hardware 2013-10-20 12:33 jekhor has quit [Ping timeout: 272 seconds] 2013-10-20 12:45 pcercuei has quit [Read error: Connection reset by peer] 2013-10-20 13:40 nse has joined #qi-hardware 2013-10-20 13:42 pcercueiS2 has quit [Ping timeout: 256 seconds] 2013-10-20 14:22 dos1 has quit [Read error: Operation timed out] 2013-10-20 14:56 pcercueiS2 has joined #qi-hardware 2013-10-20 15:38 pcercueiS2 has quit [Ping timeout: 240 seconds] 2013-10-20 15:39 bzb has joined #qi-hardware 2013-10-20 15:48 pcercuei has joined #qi-hardware 2013-10-20 16:31 Hi there 2013-10-20 16:39 larsc mth: been working on musb today, used a #define DEBUG and loglevel=8 to get a more verbose boot -> http://paste.debian.net/59879/: 2013-10-20 16:39 [ 1.750000] bus: 'platform': driver_probe_device: matched device musb-jz4740.0 with driver musb-jz4740 2013-10-20 16:39 [ 1.760000] bus: 'platform': really_probe: probing driver musb-jz4740 with device musb-jz4740.0 2013-10-20 16:39 [ 1.770000] musb-jz4740: glue kzalloc OK! 2013-10-20 16:39 [ 1.780000] musb-jz4740: platform_device_alloc OK! 2013-10-20 16:39 [ 1.790000] musb-jz4740: platform_set_drvdata OK! 2013-10-20 16:39 [ 1.800000] musb-jz4740: platform_device_add_resources OK! 2013-10-20 16:39 [ 1.810000] musb-jz4740: platform_device_add_data OK! 2013-10-20 16:39 [ 1.830000] bus: 'platform': driver_probe_device: matched device musb-hdrc.0.auto with driver musb-hdrc 2013-10-20 16:39 [ 1.840000] bus: 'platform': really_probe: probing driver musb-hdrc with device musb-hdrc.0.auto 2013-10-20 16:39 [ 1.850000] musb-jz4740: init OK! 2013-10-20 16:39 [ 1.860000] musb-hdrc: ConfigData=0x00 (UTMI-8) 2013-10-20 16:39 [ 1.870000] musb-hdrc: MHDRC RTL version 2.300 2013-10-20 16:39 [ 1.880000] musb-hdrc musb-hdrc.0.auto: <== static silicon ep config 2013-10-20 16:39 [ 1.890000] musb-hdrc: missing bulk 2013-10-20 16:39 [ 1.900000] musb-jz4740: exit OK! 2013-10-20 16:40 [ 1.910000] musb-hdrc musb-hdrc.0.auto: musb_init_controller failed with status -22 2013-10-20 16:40 [ 1.920000] musb-hdrc: probe of musb-hdrc.0.auto failed with error -22 2013-10-20 16:40 [ 1.930000] musb-jz4740: platform_device_add OK! 2013-10-20 16:40 [ 1.940000] musb-jz4740 registered 2013-10-20 16:40 [ 1.950000] driver: 'musb-jz4740.0': driver_bound: bound to device 'musb-jz4740' 2013-10-20 16:40 [ 1.960000] bus: 'platform': really_probe: bound device musb-jz4740.0 to driver musb-jz4740 2013-10-20 16:40 [ 1.970000] couldn't find an available UDC 2013-10-20 16:41 "missing bulk" message seems to come from ep_config_from_hw() which is called by musb_init_controller() 2013-10-20 16:42 reading from musb_core.c code, couldn't see what's needed in order to get the usb endpoints config right 2013-10-20 16:43 mth larsc: I added a j4740_musb_set_vbus() in glue layer but that didn't cut it, any idea ? 2013-10-20 17:06 bzb has quit [Remote host closed the connection] 2013-10-20 17:31 set vbus is a tricky thing, since it depends on the particular device and how it implemented VBUS-boost and charging. Make DAMN SURE you switch off the charging before you enable vbus boost, or you might fry the hardware 2013-10-20 17:36 you also don't want to enable 5V VBUS boost before you disabled any gadget driver that would try to start ENUM when detecting 5V on VBUS. Likewise you don't want to enable gadget mode (B) in musb_hdrc (after exit from hostmode A and thus disabling the booster) before any voltage buffered in capacitors on VBUS got discharged and voltage level is <2some Volt. Otherwise, see above 2013-10-20 17:38 DocScrutinizer05: thanks for the warning, wasn't aware of that :). how am I supposed to swith off the charging on the nanonote ? 2013-10-20 17:38 sorry, no idea 2013-10-20 17:39 no schematics at hand 2013-10-20 17:40 maybe I shouldn't be using the usb port to power the device (like I'm doing right now), and rely on the batteru instead until vbus setting is ok 2013-10-20 17:40 s/batteru/battery 2013-10-20 17:40 apelete meant: "maybe I shouldn't be using the usb port to power the device (like I'm doing right now), and rely on the battery instead until vbus setting is ok" 2013-10-20 17:47 booster and charger powering concurrently doesn't hurt either of both. 2013-10-20 17:47 powering VBUS 2013-10-20 17:48 what does harm is booster and battery charging circuitry enabled concurrently 2013-10-20 17:49 battery charging circuitry is always enabled, or gets started/enabled as soon as 5V on VBUS get detected 2013-10-20 17:49 it doesn't matter if a external power source is connected to USB 2013-10-20 17:55 jekhor has joined #qi-hardware 2013-10-20 17:56 good to know 2013-10-20 18:04 wej has quit [Ping timeout: 264 seconds] 2013-10-20 18:08 wej has joined #qi-hardware 2013-10-20 18:32 kyak has quit [Ping timeout: 245 seconds] 2013-10-20 18:35 jekhor has quit [Ping timeout: 272 seconds] 2013-10-20 18:37 nse has quit [Ping timeout: 245 seconds] 2013-10-20 18:40 kyak has joined #qi-hardware 2013-10-20 18:41 kilae has joined #qi-hardware 2013-10-20 18:46 you must avoid to "plug the UPS' mains plug into its own outlet" 2013-10-20 19:07 afaik the NanoNote doesn't support host mode; is VBUS ever driven by the device? 2013-10-20 19:12 dos1 has joined #qi-hardware 2013-10-20 19:43 there's no host mode nor is there anything to drive VBUS 2013-10-20 19:57 PIN input demo: http://downloads.qi-hardware.com/people/werner/anelok/tmp/pin-demo.ogg 2013-10-20 20:04 mth: does that mean the set_vbus() call shoud return without doing anything ? 2013-10-20 20:06 I don't know if it can be empty or should disable vbus in some register 2013-10-20 20:06 I used the jz4770 set_vbus() function as an example for jz4740 2013-10-20 20:06 does the old UDC driver contain any hints? 2013-10-20 20:07 the 4770 does support both device and host mode, so it's different from the 4740 2013-10-20 20:11 openshot turned out to be surprisingly usable. limited, but at least the basic things aren't so hard to figure out. 2013-10-20 20:18 kilae has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.0/20130910160258]] 2013-10-20 20:19 mth: didn't see anything power related in old udc driver 2013-10-20 20:23 in 4770, vbus setting seems to be handled with : 2013-10-20 20:23 if (is_on) { 2013-10-20 20:23 MUSB_HST_MODE(musb); 2013-10-20 20:23 ... 2013-10-20 20:23 } else { 2013-10-20 20:23 ... 2013-10-20 20:23 MUSB_HST_MODE(musb); 2013-10-20 20:23 } 2013-10-20 20:24 I guess jz4740 only need the "else" part, or am I overlooking something here ? 2013-10-20 20:26 mth: oops, I meant: 2013-10-20 20:26 if (is_on) { 2013-10-20 20:26 MUSB_HST_MODE(musb); 2013-10-20 20:26 ... 2013-10-20 20:26 } else { 2013-10-20 20:26 ... 2013-10-20 20:26 MUSB_DEV_MODE(musb); 2013-10-20 20:26 } 2013-10-20 20:34 wpwrak: impressive progress with that anelok project of yours 2013-10-20 20:35 been following on the mailing list, it baffles me how fast you're making this :-) 2013-10-20 20:43 thanks ! :) it's actually not all that fast. alas, "real work" and the occasional social obligation get in the way ... 2013-10-20 20:52 yeah well, since you're making both the hardware and software, it seems to be moving along pretty well if you ask me 2013-10-20 20:52 dandon has joined #qi-hardware 2013-10-20 20:56 looking at the video posted earlier make me want to buy one of these already. I hope you'll be able to get it manufactured :) 2013-10-20 21:00 hehe, so do i :) 2013-10-20 21:11 I'm not sure you have to set the mode at all, if the pdata already states it is host-only 2013-10-20 21:11 but it would be worth checking the musb code that reads the pdata 2013-10-20 21:12 sorry, device-only 2013-10-20 21:25 mth: ok, will check what's in the pdata. any idea about that "musb-hdrc: missing bulk" ? 2013-10-20 21:25 endpoints for bulk transfers? 2013-10-20 21:26 I guess so, but can't figure out where the usb endpoints are supposed to be configured 2013-10-20 21:27 /* Max EPs scanned. Driver will decide which EP can be used automatically. */ 2013-10-20 21:27 .num_eps = 6, 2013-10-20 21:27 (from struct musb_hdrc_config) 2013-10-20 21:28 so the musb core probably checks the hardware regs to figure out how many endpoints there are 2013-10-20 21:29 so the number of ep found by usb core should match .num_eps in struct musb_hdrc_config ? 2013-10-20 21:46 grmbl there is no free codec for *interlaced* video. Neither theora or vp8 supports it. 2013-10-20 21:50 mth: just tried ".num_eps = 4" in struct musb_hdrc_config since the old udc driver is advertising 4 endpoints 2013-10-20 21:50 still getting "musb-hdrc: missing bulk" during boot though 2013-10-20 21:55 it says the number scanned, so the number found will be <= the number scanned 2013-10-20 21:56 adding logging to the scanning code would be useful 2013-10-20 21:56 to see if it is called, and if so, why it is rejecting endpoints 2013-10-20 21:57 is the hardware powered and its clock started before the scanning happens? (not sure if both are configurable, but most likely at least the clock is) 2013-10-20 22:05 ok, will add logging to ep_config_from_hw() in musb_core.c to see what's happening exactly 2013-10-20 22:05 thanks for the hint 2013-10-20 22:45 lekernel has quit [Quit: Leaving] 2013-10-20 22:53 unclouded has joined #qi-hardware