*** tpb has joined #tomu | 00:00 | |
xobs | alexhw (@alexhw:matrix.org): I just woke up, and I realized that the debug bridge has no trouble with this 2 byte offset, so it must be an issue in the epfifo. That's encouraging! | 00:18 |
---|---|---|
*** futarisIRCcloud has quit IRC | 01:26 | |
*** AmosSam has left #tomu | 01:57 | |
*** AmosSam has joined #tomu | 01:57 | |
*** emeb has quit IRC | 03:00 | |
*** futarisIRCcloud has joined #tomu | 05:07 | |
*** lathiat_ has joined #tomu | 05:24 | |
*** Kamilion|ZNC has joined #tomu | 05:24 | |
*** mifune_ has joined #tomu | 05:25 | |
*** lathiat has quit IRC | 05:26 | |
*** mifune has quit IRC | 05:26 | |
*** Kamilion has quit IRC | 05:26 | |
*** eater has quit IRC | 05:26 | |
*** eater has joined #tomu | 05:26 | |
*** Kamilion|ZNC is now known as Kamilion | 05:26 | |
*** tpb` has joined #tomu | 05:39 | |
*** tpb has quit IRC | 05:42 | |
*** tpb` is now known as tpb | 05:42 | |
*** rohitksingh has joined #tomu | 06:54 | |
*** futarisIRCcloud has quit IRC | 07:17 | |
*** rohitksingh has quit IRC | 07:46 | |
*** rohitksingh has joined #tomu | 07:58 | |
*** xobs has quit IRC | 08:33 | |
*** shalzz has quit IRC | 08:33 | |
*** alexhw[m] has quit IRC | 08:33 | |
*** synaption[m] has quit IRC | 08:33 | |
*** ptotter[m] has quit IRC | 08:33 | |
*** nrossi has quit IRC | 08:33 | |
*** alexhw[m] has joined #tomu | 08:44 | |
*** shalzz has joined #tomu | 08:53 | |
*** ptotter[m] has joined #tomu | 08:53 | |
*** xobs has joined #tomu | 08:53 | |
*** nrossi has joined #tomu | 08:53 | |
*** synaption[m] has joined #tomu | 08:53 | |
*** rohitksingh_ has joined #tomu | 09:01 | |
*** rohitksingh has quit IRC | 09:02 | |
*** AmosSam has left #tomu | 09:58 | |
*** AmosSam has joined #tomu | 10:06 | |
*** rohitksingh has joined #tomu | 11:24 | |
*** rohitksingh_ has quit IRC | 11:24 | |
*** AmosSam has left #tomu | 11:33 | |
*** AmosSam has joined #tomu | 11:41 | |
tnt | xobs: btw, not sure if you're doing it yet, but reading the flash unique id and using this to get a proper serial number in the USB descriptors would probably be nice for the production fw, so each device identifies itself properly. | 11:41 |
*** rohitksingh has quit IRC | 11:53 | |
*** rohitksingh has joined #tomu | 11:53 | |
ToxicFrog | Hrm. Ok, I can't get away with just cycle counting in main, because it looks like interrupt handlers in general are not working, and that means I can't speak USB. | 12:21 |
tnt | ToxicFrog: what are you trying to do ? | 12:22 |
ToxicFrog | tnt: ultimately, act as a USB HID keyboard and send a preprogrammed key sequence when one of the buttons is touched. | 12:24 |
ToxicFrog | Right now, get the usb-hid-keyboard quickstart example working. | 12:24 |
ToxicFrog | If there were a precompiled usb-hid-quickstart.dfu I'd be seriously tempted to disassemble and edit that rather than continue down the rabbit hole of "why does my build environment produce binaries where everything works except interrupt handlers", honestly~ | 12:26 |
tnt | ToxicFrog: oh, wait are you on the tomu or fomu ? | 12:26 |
ToxicFrog | Tomu. | 12:28 |
ToxicFrog | I suspect that this is the SUSE version of the Ubuntu bug people linked me to last night, where it picks the wrong build of multilib to link against and ends up linking in code that the Cortex-M0 doesn't understand. | 12:33 |
ToxicFrog | Ok, yeah, this output from readelf looks suspicious: | 12:40 |
ToxicFrog | Tag_ARM_ISA_use: Yes | 12:40 |
ToxicFrog | Doesn't the M0 only have THUMB? | 12:40 |
jerith | Hey it's a ToxicFrog. | 12:41 |
*** rohitksingh has quit IRC | 12:41 | |
ToxicFrog | jerith: hey it's a jerith! Fancy meeting you here. | 12:44 |
jerith | It's been a long time since I tinkered with Tomu. | 12:44 |
jerith | One day I want to put some Rust code on it. | 12:45 |
ToxicFrog | jerith: I don't even particularly want a Tomu; I want something with the same form factor but with an AVR on it, since I already have this project working fine on the Digispark (an attiny85 board that plugs into a USB port, about the same size as a small flash drive) | 12:51 |
ToxicFrog | But that doesn't seem to exist, and someone at work suggested this instead | 12:51 |
ToxicFrog | And it is pretty cool, but getting a working build environment set up is proving to be much more difficult than it was for the AVR. | 12:52 |
jerith | Tomu's the only programmable thing I've found with this form factor. | 12:54 |
jerith | (But I haven't looked very hard.) | 12:54 |
ToxicFrog | I have, and this is the only thing I've found. | 12:55 |
ToxicFrog | Ok. Completely discarding all installed ARM tools and replacing them with the version from developer.arm.com appears to have sorted things out. | 13:03 |
tnt | well there is the fomu but you're not going to have an easier time with that :p | 13:03 |
ToxicFrog | Yeah an FPGA is not actually solving the problem I have :P | 13:04 |
ToxicFrog | Ok, key injection working! Now I just need to modify usb-hid-keyboard to be able to send stuff like ESC and the F-keys | 13:07 |
ToxicFrog | And since I already have working code for that for AVR it shouldn't be too hard to adapt | 13:07 |
xobs | ToxicFrog: thanks for verifying that Suse has the same issue... | 13:28 |
xobs | tnt: for the USB stuff, I'm going to try to get USB working again first. Then I'll add that! | 13:28 |
*** rohitksingh has joined #tomu | 14:03 | |
ToxicFrog | Oh no, does the sample code in usb-hid-keyboard just busywait for a bit and then hope the host is ready to receive more packets, rather than waiting for the usb-ready interrupt? aaaaaaaaa | 14:26 |
*** emeb has joined #tomu | 14:33 | |
*** emeb has quit IRC | 17:59 | |
*** rohitksingh has quit IRC | 19:13 | |
*** rohitksingh has joined #tomu | 19:25 | |
*** rohitksingh has quit IRC | 20:10 | |
alexhw[m] | xobs: I found an issue in epfifo: the put signal (qualifying received data) is delayed by one clock cycle in order to allow interception by the debug interface, but the corresponding data is not delayed, so they get out of sync. (See the pull request) | 22:49 |
alexhw[m] | Reducing the fifo depth in the RX pipeline to 2 should be fine by the way as it will neverhold more than one value. | 22:51 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!