2015-02-07 00:02 archang has quit [Ping timeout: 240 seconds] 2015-02-07 00:12 archang has joined #qi-hardware 2015-02-07 00:21 FDCX has quit [Ping timeout: 252 seconds] 2015-02-07 00:33 FDCX has joined #qi-hardware 2015-02-07 00:34 infobot has quit [Ping timeout: 245 seconds] 2015-02-07 00:35 infobot_ has joined #qi-hardware 2015-02-07 01:03 archang has quit [Ping timeout: 252 seconds] 2015-02-07 01:10 archang has joined #qi-hardware 2015-02-07 01:21 atommann has joined #qi-hardware 2015-02-07 01:41 wej has quit [Ping timeout: 245 seconds] 2015-02-07 02:15 fengling has joined #qi-hardware 2015-02-07 02:57 infobot_ has quit [Quit: cyal8r] 2015-02-07 02:58 infobot has joined #qi-hardware 2015-02-07 03:22 archang has quit [Quit: Konversation terminated!] 2015-02-07 03:34 archang has joined #qi-hardware 2015-02-07 03:40 rodgort has joined #qi-hardware 2015-02-07 03:43 rodgort has quit [Excess Flood] 2015-02-07 03:45 archang has quit [Remote host closed the connection] 2015-02-07 03:50 archang has joined #qi-hardware 2015-02-07 04:28 rodgort has joined #qi-hardware 2015-02-07 04:36 archang has quit [Ping timeout: 246 seconds] 2015-02-07 05:05 archang has joined #qi-hardware 2015-02-07 05:24 atommann has quit [Ping timeout: 256 seconds] 2015-02-07 05:40 Textmode has joined #qi-hardware 2015-02-07 06:04 atommann has joined #qi-hardware 2015-02-07 06:12 jekhor__ has joined #qi-hardware 2015-02-07 06:25 atommann has quit [Ping timeout: 252 seconds] 2015-02-07 07:23 fengling has quit [Ping timeout: 246 seconds] 2015-02-07 07:40 fengling has joined #qi-hardware 2015-02-07 08:17 atommann has joined #qi-hardware 2015-02-07 08:46 jekhor__ has quit [Ping timeout: 245 seconds] 2015-02-07 09:18 wej has joined #qi-hardware 2015-02-07 09:18 fengling has quit [Ping timeout: 264 seconds] 2015-02-07 09:18 atommann has quit [Ping timeout: 245 seconds] 2015-02-07 09:23 Textmode has quit [Quit: "It was one dev, naked in a room with a carton of cigarettes, a thermos full of coffee and bourbon, and all his summoned angels."] 2015-02-07 09:38 dandon_ has joined #qi-hardware 2015-02-07 09:42 dandon has quit [Ping timeout: 244 seconds] 2015-02-07 09:42 dandon_ is now known as dandon 2015-02-07 09:47 Haswell has joined #qi-hardware 2015-02-07 10:21 fengling has joined #qi-hardware 2015-02-07 10:29 pcercuei has joined #qi-hardware 2015-02-07 11:19 fengling has quit [Ping timeout: 252 seconds] 2015-02-07 11:33 jekhor__ has joined #qi-hardware 2015-02-07 11:48 wpwrak: ((battery is a bit tricky at the moment)) thought about asking? ;-) 2015-02-07 12:23 jow_laptop has quit [Ping timeout: 272 seconds] 2015-02-07 12:23 jow_laptop has joined #qi-hardware 2015-02-07 12:24 hmm ? all i do is available for review and i document my progress in quite some detail :) for example, here's the current battery issue: http://lists.en.qi-hardware.com/pipermail/discussion/2015-February/010811.html 2015-02-07 12:25 jekhor__ has quit [Ping timeout: 264 seconds] 2015-02-07 12:26 basically OLED's Vih(min) being quite high, higher than i tought, and i somehow missed that until now. so i need to rearrange the voltage domains. 2015-02-07 12:27 fengling has joined #qi-hardware 2015-02-07 12:32 but first i'm checking whether my batteries are really still okay. wouldn't do to spend a lot of effort to solve problems that are just caused by dead batteries :) 2015-02-07 12:43 fengling has quit [Ping timeout: 246 seconds] 2015-02-07 12:46 kilae has joined #qi-hardware 2015-02-07 12:57 fengling has joined #qi-hardware 2015-02-07 13:19 archang has quit [Remote host closed the connection] 2015-02-07 13:24 archang has joined #qi-hardware 2015-02-07 13:26 xiangfu has joined #qi-hardware 2015-02-07 13:34 wpwrak: Hi. I just uploaded some pics [brd-back-close.jpg brd-back.jpg brd-front-1.jpg brd-front.jpg brd-two.jpg brd-with-UBB-back.jpg brd-with-UBB-front.jpg] to here: http://downloads.qi-hardware.com/people/xiangfu/anelok/tmp/ 2015-02-07 13:34 this time is small files. 2015-02-07 13:35 I double make sure. the wire connect is correct. there is no short. 2015-02-07 13:35 I think there are something wrong with my nanonote. trying the ubbctl now.. 2015-02-07 13:36 (photos) whee, nice ! thanks ! 2015-02-07 13:37 (nanonote) oh, did you disable the mmc driver ? echo jz4740-mmc.0 >/sys/bus/platform/drivers/jz4740-mmc/unbind 2015-02-07 13:37 no. 2015-02-07 13:37 :( 2015-02-07 13:37 and if your kernel has an atben driver, then also cd /sys/bus/spi/drivers/at86rf230; echo spi*.0 >unbind 2015-02-07 13:38 okay, kernel and user space both trying to use the port at the same time may explain some issues :) 2015-02-07 13:39 (pics) you have front and back reversed in the file names :) 2015-02-07 13:43 Yes. 2015-02-07 13:45 download the nanonote toolchain for compile ubbctl 2015-02-07 13:45 hmm, and you may have placed too many of the resistors around the boost converter. e.g., if you're using the AAT1217-3.3, R4-R6 should be DNP. it looks as if they're populated 2015-02-07 13:48 or is this just an optical illusion ? 2015-02-07 13:54 nothing on F4-R6 2015-02-07 14:18 wpwrak: http://dpaste.com/0VN8S25 2015-02-07 14:18 ubbctl + swd. 2015-02-07 14:25 DAT0 looks unhappy 2015-02-07 14:25 seems to be shorted to ground in some way 2015-02-07 14:28 hmm... I am sure the DAT0 means SWD_CLK is not shorted at UBB or Anelok. 2015-02-07 14:29 the DAT0=1!0 says that the ben is trying to output a 1 but it reads back a 0 2015-02-07 14:31 but you can check this by setting the outputs manually (with ubbctl) and measuring 2015-02-07 14:32 and you may also want to check the supply voltage. if there's a problem somewhere, it may be too low, but still not low enough to just crash the ben as well 2015-02-07 14:32 (though shorts usually crash the ben. so one has instant feedback ;-) 2015-02-07 14:32 one of the board : the SWD_CLK between GND have 60ohm 2015-02-07 14:35 Here is another board output: http://dpaste.com/0VMV98X 2015-02-07 14:35 60 ohm is quite low. if you short the probes via the board, how many ohm do you get ? 2015-02-07 14:38 in any case, 60 ohm is too low. i measured for both SWD_CLK and SWD_DIO abour 7.8 MOhm if + is on SWD_* and 0 on GND, and about 27 kOhm if - is on SWD_* and + on GND 2015-02-07 14:39 hmm... wait. 2015-02-07 14:39 this device is not easy to understand. I borrow a Agilent U1252B. 2015-02-07 14:40 results may be different with different meters (that was with a picotest m3500a, alas not the most exact device but my fluke is busy watching the batter discharge), but anything lower than at least a few kOhm is suspicious 2015-02-07 14:40 similar to joerg's critter :) 2015-02-07 14:42 ./ubbctl dat0=0: give me 0.0091v 2015-02-07 14:42 ./ubbctl dat0=1: give m1 0.5xxxv 2015-02-07 14:42 jwhitmore has joined #qi-hardware 2015-02-07 14:43 ./ubbctl dat0=1: give m1 0.65xxv 2015-02-07 14:43 s/m1/me 2015-02-07 14:43 xiangfu meant: "./ubbctl dat0=1: give me 0.65xxv" 2015-02-07 14:43 ./ubbctl dat0=1: give m1 0.5xxx ~ 0x65xxv 2015-02-07 14:44 this one ./ubbctl dat1=1: give me 3.3V. I like 3.3 :) 2015-02-07 14:45 xiangfu has quit [*.net *.split] 2015-02-07 14:45 kilae has quit [*.net *.split] 2015-02-07 14:45 jow_laptop has quit [*.net *.split] 2015-02-07 14:45 uwe_ has quit [*.net *.split] 2015-02-07 14:45 jow_laptop has joined #qi-hardware 2015-02-07 14:45 uwe_ has joined #qi-hardware 2015-02-07 14:45 xiangfu has joined #qi-hardware 2015-02-07 14:45 U1251B is expensive... 2015-02-07 14:46 kilae has joined #qi-hardware 2015-02-07 14:46 wpwrak: have you saw my last message: 2015-02-07 14:46 ~~~~ 2015-02-07 14:47 ARGH!!! STOP IT xiangfu!!! 2015-02-07 14:47 ./ubbctl dat0=1: give m1 0.5xxx ~ 0x65xxv 2015-02-07 14:47 but ./ubbctl dat1=1: give me a very stable 3.3V. 2015-02-07 14:47 ~ 2015-02-07 15:01 yes, 3.3 V is good. 0.65 V suggests that there's a short. apparently not directly with ground but with some other pin 2015-02-07 15:02 porchao has quit [Quit: Leaving...] 2015-02-07 15:02 (u1252b) yeah, these agilent/keysight meters are a bit overpriced in my opinion. i'd get a good lab meter. not portable, but much nicer to use in the lab. and you don't have to worry about batteries ;) 2015-02-07 15:03 #s/lab meter/bench meter/ that's the correct term 2015-02-07 15:04 the good ones are even more expensive, but if you're going to spend many hundreds of dollars on a meter, you may as well go the extra mile and get a really good one 2015-02-07 15:04 YEAH: http://dpaste.com/24MHQ07 2015-02-07 15:05 the 0.65 V may be a short between DAT0 and some pin that outputs a "0". maybt try CLK=1 and see what happens 2015-02-07 15:05 hmm... he sugest me this one: F179C . 2015-02-07 15:05 FLUKE. expensive too. :) 2015-02-07 15:05 if it's not that, things will get a bit more complicated. you could then test all the other pins of the KL26 and see if there's another one that has 0.65 V 2015-02-07 15:06 wpwrak: it is the my taobao UBB soldering problem. 2015-02-07 15:06 first try: http://dpaste.com/2TQCYQE 2015-02-07 15:06 * xiangfu again 2015-02-07 15:07 second try: http://dpaste.com/2F2K93R 2015-02-07 15:07 (fluke) maybe this ? http://www.testequipmentdepot.com/fluke/dmm/8808a.htm 2015-02-07 15:07 flashed: http://dpaste.com/0JKC8ZH 2015-02-07 15:08 what should I do next? 2015-02-07 15:08 (fluke) i have this one (the 8808a didn't exist back then): http://www.testequipmentdepot.com/fluke/dmm/8845a.htm 2015-02-07 15:08 lemme check ... 2015-02-07 15:08 (flashing) excellent ! it's normal that it takes a few tries 2015-02-07 15:09 you could now connect USB and see if it enumerates 2015-02-07 15:09 when the led goes on after you connect usb, it's probably happy 2015-02-07 15:09 ah, and i would disconnect the ben first. just in case :) 2015-02-07 15:11 and if it enumerates, you can then "make dfu" to flash the firmware 2015-02-07 15:12 after flashing the firmware, the led will go off. you'll then have to wait for about 30 seconds and then you should be able to operate the slider 2015-02-07 15:12 connect usb: nothing happen on kernel msg 2015-02-07 15:12 will be a bit tricky without a case but you should at least get some response 2015-02-07 15:12 okay, not so easy then :) 2015-02-07 15:13 with usb connected, please check that the voltages are right: especially that VBUS > GND :) 2015-02-07 15:13 (there is a big VBUS pad right next to the usb connector) 2015-02-07 15:14 vbus should be roughly 5 V. if it's very different, somethign is wrong. 2015-02-07 15:14 atommann has joined #qi-hardware 2015-02-07 15:17 VBUS: -0.15v 2015-02-07 15:18 eeew 2015-02-07 15:19 hmm. are you sure you got the right type of conenctor ? :) 2015-02-07 15:19 yours don't look reversed 2015-02-07 15:20 in a reversed connector, the two little slots should be at the bottom 2015-02-07 15:20 not sure if there are reversed connector that have them on the other side 2015-02-07 15:21 are your connectors AB or B ? 2015-02-07 15:23 hmm... -4.5V 2015-02-07 15:23 how to identify a reversed connector: the little plastic inside the connector should be close to the PCB, with the contacts facing away from the PCB 2015-02-07 15:24 that looks even more like the wrong connector 2015-02-07 15:25 (reversed = what anelok needs) 2015-02-07 15:25 Yes. wrong connecter... 2015-02-07 15:26 let's hope you have a good electronic shop nearby :) 2015-02-07 15:26 well, at midnight, it may not be open, though. or do you have all night electronics shopping in china ? :) 2015-02-07 15:28 not in Beijing. maybe in Shengzhen. 2015-02-07 15:28 (regarding the usb connector, i hope to eventually replace this with a regular - non-reversed - connector. but so far i haven't been able to find a nice way to do this. layout gets very tricky.) 2015-02-07 15:31 jwhitmore has quit [Ping timeout: 245 seconds] 2015-02-07 15:31 okay, what we can do now is ... a) wait until you can get right kind of connector, b) you can try to make a reversed cable, c) you could try to flash the application via SWD. but that's a bit messy because SWD is so unreliable and the application is larger than the boot loader 2015-02-07 15:32 let me try the SWD. 2015-02-07 15:33 what is the command for reflash teh application? 2015-02-07 15:33 first you have to construct a combined binary 2015-02-07 15:35 this should do the trick: dd bs=16k conv=sync if=boot-2014.bin of=combined.bin; cat anelok-2014.bin >>combined.bin 2015-02-07 15:36 then flash with swd combined.bin 2015-02-07 15:39 hmm. my statistical estimates suggest that it may take something like 80 attempts before swd will work for somethign this large, given that it took you three attempts with boot-2014.bin. well, you can use a while loop :) 2015-02-07 15:40 while ! ./swd combined.bin; do : ; done # then take a tea or a nap ;-) 2015-02-07 15:41 porchao has joined #qi-hardware 2015-02-07 15:41 rodgort has quit [Quit: Leaving] 2015-02-07 15:43 a lot of access error 2015-02-07 15:43 yes, there's something wrong but i don't know what. i already spent a lot of time trying to figure out what may be the problem :-( 2015-02-07 15:44 finished one. 2015-02-07 15:44 maybe a fresh pair of eyes will find it in minutes ... ;) 2015-02-07 15:44 successed one of them 2015-02-07 15:45 rodgort has joined #qi-hardware 2015-02-07 15:48 excellent ! :) now .. swd -r to power and reset anelok 2015-02-07 15:48 and then we'll see if it works :) (i've never tried this mode of operation myself) 2015-02-07 15:50 rodgort has quit [Ping timeout: 245 seconds] 2015-02-07 15:51 yup, should work. just booted one of mine with ./swd -r 2015-02-07 15:52 ah, but now i have to leave. people trickling in. 2015-02-07 15:52 yes. now I am doing 'while'... :) 2015-02-07 15:54 have to sleep. 2015-02-07 16:05 rodgort has joined #qi-hardware 2015-02-07 16:07 jekhor has joined #qi-hardware 2015-02-07 16:12 atommann has quit [Quit: Leaving] 2015-02-07 16:41 pcercuei has quit [Ping timeout: 265 seconds] 2015-02-07 16:42 pcercuei has joined #qi-hardware 2015-02-07 16:43 jwhitmore has joined #qi-hardware 2015-02-07 16:54 FDCX has quit [Remote host closed the connection] 2015-02-07 16:58 FDCX has joined #qi-hardware 2015-02-07 17:20 jwhitmore has quit [Ping timeout: 252 seconds] 2015-02-07 19:23 viric has quit [Ping timeout: 264 seconds] 2015-02-07 19:26 FDCX_ has joined #qi-hardware 2015-02-07 19:28 viric has joined #qi-hardware 2015-02-07 20:08 arossdotme has quit [Ping timeout: 264 seconds] 2015-02-07 20:23 arossdotme has joined #qi-hardware 2015-02-07 20:36 wolfspraul has joined #qi-hardware 2015-02-07 21:07 viric has quit [Ping timeout: 245 seconds] 2015-02-07 21:12 viric has joined #qi-hardware 2015-02-07 22:02 ChanServ has quit [shutting down] 2015-02-07 22:04 kilae has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805]] 2015-02-07 22:04 ChanServ has joined #qi-hardware 2015-02-07 22:27 wej has quit [Ping timeout: 245 seconds] 2015-02-07 22:37 Textmode has joined #qi-hardware 2015-02-07 22:40 wej has joined #qi-hardware 2015-02-07 22:46 wolfspraul has quit [Quit: leaving] 2015-02-07 22:49 porchaso0 has joined #qi-hardware 2015-02-07 22:50 porchao has quit [Ping timeout: 245 seconds] 2015-02-07 22:53 viric_ has joined #qi-hardware 2015-02-07 22:55 viric has quit [Ping timeout: 250 seconds] 2015-02-07 22:55 viric_ is now known as viric 2015-02-07 23:01 woakas has quit [Ping timeout: 245 seconds] 2015-02-07 23:02 woakas has joined #qi-hardware 2015-02-07 23:10 arossdotme has quit [Ping timeout: 245 seconds] 2015-02-07 23:17 arossdotme has joined #qi-hardware 2015-02-07 23:28 jekhor has quit [Ping timeout: 264 seconds] 2015-02-07 23:53 arossdotme has quit [Ping timeout: 250 seconds] 2015-02-07 23:57 arossdotme has joined #qi-hardware