Wednesday, 2018-01-31

*** tpb has joined #tomu00:00
mithrokyaputen: Hate those problems00:41
*** im-tomu has left #tomu01:19
*** im-tomu has joined #tomu01:19
*** earthnative has quit IRC01:49
*** earthnative has joined #tomu01:57
*** im-tomu has left #tomu02:51
*** im-tomu has joined #tomu02:51
*** skyce3 has joined #tomu02:56
*** im-tomu has left #tomu03:02
*** im-tomu has joined #tomu03:02
*** im-tomu has left #tomu03:39
*** im-tomu has joined #tomu03:39
*** dtornabene has joined #tomu05:30
*** nrossi has joined #tomu06:10
*** futarisIRCcloud has joined #tomu09:01
*** madduck has joined #tomu09:09
madduckHey, I received a tomu at LCA (thanks!!) and when I plug it in, it flashes green and red alternatingly. There is no /dev/ttyUSB* device being created. Am I doing something wrong? What should I do?09:10
*** benonsoftware has joined #tomu09:11
*** darrylb123 has joined #tomu09:38
*** Sigyn has left #tomu09:41
darrylb123I received a tomu at LCA2018 and flashed it with the firmware recommended. Plugged in, it flashes red/green and a device appears. Now what?09:42
darrylb123Bus 003 Device 006: ID 1209:70b1 InterBiometrics09:43
darrylb123crw-rw-r--. 1 root root 189, 261 Jan 31 19:39 /dev/bus/usb/003/00609:44
darrylb123Tried minicom -D /dev/bus/usb/003/006 at 115kbaud - nothing09:45
madduckdarrylb123: exactly the same hereā€¦09:47
darrylb123i haven't been able to find much doco on the tomu and exactly zip about whatever it was we flashed09:50
duncan^darrylb123: Have you got something like modemmanager installed that thinks the Tomu is a USB modem?10:02
darrylb123It's installed but not running, I'm using systemd-networkd to manage networking10:04
darrylb123What should the device come up as?10:04
darrylb123as in what /dev/???10:05
duncan^Uninstall modemmanager10:06
darrylb123Just did that10:06
duncan^unplug/replug device10:06
duncan^it should turn up as ttyUSB0 or something10:06
xobsIf it's flashing red/green, then it's the DFU bootloader.10:07
xobshttps://github.com/im-tomu/tomu-bootloader/#using10:07
tpbTitle: GitHub - im-tomu/tomu-bootloader: Bootloader for the EFM32HG Tomu Board (at github.com)10:07
darrylb123Nope10:08
xobsdarrylb123: Nope?10:08
madduckxobs: is this something usb_modeswitch can fix?10:09
skyce3Does the dfu bootloader supposed to show up as /tty/usbsomething?10:10
skyce3I got the same red green flashing10:10
madduckftr, here is syslog, and I don't think that looks like a modem10:10
darrylb123Sorry I was answering the question about ttyUSB0.10:10
madduckhttp://scratch.madduck.net/2018-01-31-230729-paste-MuvoUi.txt10:10
skyce3Dmesg shows "device descriptor read/64, error -32"10:10
xobsThat's definitely a DFU bootloader.  Make sure you have dfu-util installed, and it should show up by running "dfu-util -l"10:11
darrylb123<madduck> Mine looks exactly the same10:11
darrylb123Where do you get dfu-util?10:12
xobsdarrylb123: It should be in your distro.  What are you running?10:12
madduckxobs: Found DFU: [1209:70b1] ver=0101, devnum=121, cfg=1, intf=0, path="1-4.1.1.2", alt=0, name="Tomu Bootloader", serial="UNKNOWN"10:12
darrylb123Fedora 2710:13
skyce3I wonder if its just the usb connector not making contact properly, brb playing10:13
xobsAh, then "dnf install dfu-util" should be enough.10:13
madduckskyce3: I had to push a business card in with the device to ensure it sits properly10:13
madduckxobs: so the instructions on the website about using "screeN" to connect to a terminal aren't right?10:14
darrylb123<@xobs> I'd never heard of it until 5 minutes ago :) I've just installed it10:14
xobsmadduck: You're right.  The site needs updating.  Thanks for that!10:14
madduckso how do i connect to the terminal? ;)10:15
darrylb123Found DFU: [1209:70b1] ver=0101, devnum=7, cfg=1, intf=0, path="3-9", alt=0, name="Tomu Bootloader", serial="UNKNOWN"10:15
xobsmadduck: You don't.  The DFU bootloader just exists to let you download a new program.10:16
xobsI'll upate the site with this information.10:16
skyce3So using a thicker shim seems to help, it prints more stuff before disconnecting straight away10:17
xobsIt's important to state this first: But the DFU bootloader, as shipped, will always try to run a program if one is present.  The only way around this is to short out the two pads when you apply power.10:17
skyce3Will fiddle with it a bit more tomorrow10:17
xobs(I'll change this and push an update soon, so that it will always boot into DFU unless you opt-out.)10:17
xobsSo to load a program, you run "dfu-util -D [file.bin]".  It will then load the program and reboot into it.10:18
darrylb123So if I build the sample code, what do I do to load it and run it? I see there is a -D option for downloading10:18
xobsTo get back into the bootloader, a pair of tweezers can be handy.  Short out the two pads as you plug it in, and it will go back into the bootloader.10:18
darrylb123@xobs Sorry I was typing as you were10:18
xobsThe file you load is the .bin file.  For example, "dfu-util -D sample.bin"10:19
xobsDon't worry if you load the wrong thing, the bootloader does some things to make sure it won't jump to invalid code.10:19
darrylb123Sounds straightforward, I look forward to reading your updates to the doco10:20
*** darrylb123 has quit IRC10:20
*** rails has joined #tomu10:29
*** futarisIRCcloud has quit IRC12:51
*** tomu-ci has joined #tomu13:32
tomu-ci[im-tomu.github.io] xobs pushed 2 new commits to master: https://git.io/vN79M13:32
tomu-ciim-tomu.github.io/master 34009a0 Sean Cross: index: fix some markdown warnings...13:32
tomu-ciim-tomu.github.io/master 25220e5 Sean Cross: bootloader documentation rewrite...13:32
*** tomu-ci has left #tomu13:32
*** im-tomu has left #tomu14:21
*** im-tomu has joined #tomu14:21
*** im-tomu has left #tomu17:05
*** im-tomu has joined #tomu17:05
*** dtornabene has quit IRC17:42
*** GuyNoIR has quit IRC18:56
*** GuyNoIR has joined #tomu18:57
*** jrsharp has joined #tomu20:24
*** NoGodDamnIdea has joined #tomu21:18
*** nrossi has quit IRC21:20
*** jrsharp has quit IRC21:25
*** TheJJ has quit IRC21:42
mithroesden: ping?21:53
*** TheJJ has joined #tomu21:56
*** NoGodDamnIdea has quit IRC21:58
*** NoGodDamnIdea has joined #tomu22:22

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