*** tpb has joined #tomu | 00:00 | |
mithro | kyaputen: Hate those problems | 00:41 |
---|---|---|
*** im-tomu has left #tomu | 01:19 | |
*** im-tomu has joined #tomu | 01:19 | |
*** earthnative has quit IRC | 01:49 | |
*** earthnative has joined #tomu | 01:57 | |
*** im-tomu has left #tomu | 02:51 | |
*** im-tomu has joined #tomu | 02:51 | |
*** skyce3 has joined #tomu | 02:56 | |
*** im-tomu has left #tomu | 03:02 | |
*** im-tomu has joined #tomu | 03:02 | |
*** im-tomu has left #tomu | 03:39 | |
*** im-tomu has joined #tomu | 03:39 | |
*** dtornabene has joined #tomu | 05:30 | |
*** nrossi has joined #tomu | 06:10 | |
*** futarisIRCcloud has joined #tomu | 09:01 | |
*** madduck has joined #tomu | 09:09 | |
madduck | Hey, 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 #tomu | 09:11 | |
*** darrylb123 has joined #tomu | 09:38 | |
*** Sigyn has left #tomu | 09:41 | |
darrylb123 | I 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 |
darrylb123 | Bus 003 Device 006: ID 1209:70b1 InterBiometrics | 09:43 |
darrylb123 | crw-rw-r--. 1 root root 189, 261 Jan 31 19:39 /dev/bus/usb/003/006 | 09:44 |
darrylb123 | Tried minicom -D /dev/bus/usb/003/006 at 115kbaud - nothing | 09:45 |
madduck | darrylb123: exactly the same hereā¦ | 09:47 |
darrylb123 | i haven't been able to find much doco on the tomu and exactly zip about whatever it was we flashed | 09:50 |
duncan^ | darrylb123: Have you got something like modemmanager installed that thinks the Tomu is a USB modem? | 10:02 |
darrylb123 | It's installed but not running, I'm using systemd-networkd to manage networking | 10:04 |
darrylb123 | What should the device come up as? | 10:04 |
darrylb123 | as in what /dev/??? | 10:05 |
duncan^ | Uninstall modemmanager | 10:06 |
darrylb123 | Just did that | 10:06 |
duncan^ | unplug/replug device | 10:06 |
duncan^ | it should turn up as ttyUSB0 or something | 10:06 |
xobs | If it's flashing red/green, then it's the DFU bootloader. | 10:07 |
xobs | https://github.com/im-tomu/tomu-bootloader/#using | 10:07 |
tpb | Title: GitHub - im-tomu/tomu-bootloader: Bootloader for the EFM32HG Tomu Board (at github.com) | 10:07 |
darrylb123 | Nope | 10:08 |
xobs | darrylb123: Nope? | 10:08 |
madduck | xobs: is this something usb_modeswitch can fix? | 10:09 |
skyce3 | Does the dfu bootloader supposed to show up as /tty/usbsomething? | 10:10 |
skyce3 | I got the same red green flashing | 10:10 |
madduck | ftr, here is syslog, and I don't think that looks like a modem | 10:10 |
darrylb123 | Sorry I was answering the question about ttyUSB0. | 10:10 |
madduck | http://scratch.madduck.net/2018-01-31-230729-paste-MuvoUi.txt | 10:10 |
skyce3 | Dmesg shows "device descriptor read/64, error -32" | 10:10 |
xobs | That'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 same | 10:11 |
darrylb123 | Where do you get dfu-util? | 10:12 |
xobs | darrylb123: It should be in your distro. What are you running? | 10:12 |
madduck | xobs: 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 |
darrylb123 | Fedora 27 | 10:13 |
skyce3 | I wonder if its just the usb connector not making contact properly, brb playing | 10:13 |
xobs | Ah, then "dnf install dfu-util" should be enough. | 10:13 |
madduck | skyce3: I had to push a business card in with the device to ensure it sits properly | 10:13 |
madduck | xobs: 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 it | 10:14 |
xobs | madduck: You're right. The site needs updating. Thanks for that! | 10:14 |
madduck | so how do i connect to the terminal? ;) | 10:15 |
darrylb123 | Found DFU: [1209:70b1] ver=0101, devnum=7, cfg=1, intf=0, path="3-9", alt=0, name="Tomu Bootloader", serial="UNKNOWN" | 10:15 |
xobs | madduck: You don't. The DFU bootloader just exists to let you download a new program. | 10:16 |
xobs | I'll upate the site with this information. | 10:16 |
skyce3 | So using a thicker shim seems to help, it prints more stuff before disconnecting straight away | 10:17 |
xobs | It'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 |
skyce3 | Will fiddle with it a bit more tomorrow | 10: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 |
xobs | So to load a program, you run "dfu-util -D [file.bin]". It will then load the program and reboot into it. | 10:18 |
darrylb123 | So if I build the sample code, what do I do to load it and run it? I see there is a -D option for downloading | 10:18 |
xobs | To 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 were | 10:18 |
xobs | The file you load is the .bin file. For example, "dfu-util -D sample.bin" | 10:19 |
xobs | Don'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 |
darrylb123 | Sounds straightforward, I look forward to reading your updates to the doco | 10:20 |
*** darrylb123 has quit IRC | 10:20 | |
*** rails has joined #tomu | 10:29 | |
*** futarisIRCcloud has quit IRC | 12:51 | |
*** tomu-ci has joined #tomu | 13:32 | |
tomu-ci | [im-tomu.github.io] xobs pushed 2 new commits to master: https://git.io/vN79M | 13:32 |
tomu-ci | im-tomu.github.io/master 34009a0 Sean Cross: index: fix some markdown warnings... | 13:32 |
tomu-ci | im-tomu.github.io/master 25220e5 Sean Cross: bootloader documentation rewrite... | 13:32 |
*** tomu-ci has left #tomu | 13:32 | |
*** im-tomu has left #tomu | 14:21 | |
*** im-tomu has joined #tomu | 14:21 | |
*** im-tomu has left #tomu | 17:05 | |
*** im-tomu has joined #tomu | 17:05 | |
*** dtornabene has quit IRC | 17:42 | |
*** GuyNoIR has quit IRC | 18:56 | |
*** GuyNoIR has joined #tomu | 18:57 | |
*** jrsharp has joined #tomu | 20:24 | |
*** NoGodDamnIdea has joined #tomu | 21:18 | |
*** nrossi has quit IRC | 21:20 | |
*** jrsharp has quit IRC | 21:25 | |
*** TheJJ has quit IRC | 21:42 | |
mithro | esden: ping? | 21:53 |
*** TheJJ has joined #tomu | 21:56 | |
*** NoGodDamnIdea has quit IRC | 21:58 | |
*** NoGodDamnIdea has joined #tomu | 22:22 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!