--- Log opened Mon Jul 06 00:00:03 2015 | ||
p1oooop | (it's pretty quiet in here) | 08:34 |
---|---|---|
juliusb | yeah, usually | 08:57 |
juliusb | day jobs :-/ | 08:57 |
p1oooop | I guess so! | 09:16 |
p1oooop | I would be upset that I didn't get an internship this summer. But I probably needed a rest anyway... | 09:17 |
p1oooop | (I'm not resting much... haha.) | 09:17 |
p1oooop | I'm just going to take a wild shot in the dark and guess that this isn't #openocd... so I should probably report my openocd bug in that channel instead. | 09:18 |
_franck__ | p1oooop: do you have an openocd openrisc related problem ? | 09:20 |
p1oooop | Well, openocd locks up when initializing with the altera byteblaster and the or1k_generic configuration | 09:23 |
p1oooop | here's the same pastebin that I gave #openocd http://pastebin.com/1AWJq6q0 | 09:24 |
_franck__ | do you have an usb blaster or usb blaster II ? | 09:26 |
p1oooop | _franck__: I have a de0_nano board (so usb blaster... I think) | 09:30 |
_franck__ | ah ok | 09:30 |
p1oooop | _franck__: strangely enough, I can't get fusesoc to build mor1k for the de0_nano (it complains about a missing file or something) | 09:30 |
* p1oooop wonders how he made the... pseudo-wise decision to get the de0-nano. | 09:31 | |
_franck__ | p1oooop: you don't have an usb blaster 2 but openocd finds one: | 09:32 |
_franck__ | Info : 178 10 ublast2_access_libusb.c:228 ublast2_libusb_init(): Altera USB-Blaster II found (Firm. rev. =) | 09:32 |
_franck__ | or maybe new de0_nano have usb blaster 2 | 09:32 |
p1oooop | _franck__: it's an old-ish board... I can't remember when I got it. | 09:32 |
p1oooop | I got it at the end of July 2013 | 09:33 |
_franck__ | try to put -s ./tcl at the very end | 09:33 |
p1oooop | got it. | 09:34 |
p1oooop | (an in, I will do that) | 09:34 |
_franck__ | should not change a lot of things | 09:35 |
p1oooop | _franck__: looks like it's still hanging at the same place | 09:35 |
_franck__ | what is the vid/pid of de0 ? | 09:35 |
p1oooop | _franck__: USB device, right | 09:36 |
_franck__ | yes | 09:36 |
p1oooop | _franck__: let me install lsusb first... haha. | 09:36 |
p1oooop | Bus 005 Device 032: ID 09fb:6001 Altera Blaster | 09:37 |
_franck__ | ok on origin , old usb blaster | 09:40 |
_franck__ | usb_blaster.c:854 ublast_init(): No lowlevel driver configured, will try them all | 09:40 |
_franck__ | may be you don't have libftdi installed so https://github.com/ntfreak/openocd/blob/master/src/jtag/drivers/usb_blaster/usb_blaster.c#L1048 | 09:40 |
_franck__ | it ends up in ublast2 | 09:40 |
_franck__ | p1oooop: how did you configure openocd (did you compile it ?) ? | 09:42 |
p1oooop | _franck__: I compiled it. Perhaps I compiled it wrong? | 09:43 |
_franck__ | my guess :) | 09:44 |
p1oooop | _franck__: I followed the openocd compilation instructions here http://opencores.org/or1k/ORCONF2013_Workshop_ORPSoC_On_DE0_Nano#OpenOCD | 09:44 |
p1oooop | (I pretty much programmed the FPGA with the .sof file there because I couldn't get it to work with orpsoc or fusesoc) | 09:45 |
_franck__ | p1oooop: my guess was wrong, it seems ok | 09:47 |
p1oooop | _franck__: my guess is that it might come from the specific version that I'm using... | 09:48 |
p1oooop | dunno, I'll try to find 0.8.0 | 09:48 |
p1oooop | "Error establishing a database connection" | 09:48 |
p1oooop | http://openocd.org/2014/04/openocd-0-8-0-release/ | 09:49 |
p1oooop | In fact, the entire openocd.org website seems to be down from my end... | 09:49 |
_franck__ | http://repo.or.cz/w/openocd.git | 09:49 |
p1oooop | oh yeah huh... | 09:53 |
p1oooop | git can revert to a tag. | 09:53 |
* p1oooop facepalms | 09:53 | |
_franck__ | git checkout -b this_one_will_work v0.8.0 | 09:54 |
p1oooop | _franck__: haha | 09:57 |
p1oooop | _franck__: bummer. http://pastebin.com/gtVRJ2MG | 10:00 |
p1oooop | too bad I don't know the openocd code base very well... | 10:00 |
p1oooop | (although, I do like the error messages... I may copy their convention.) | 10:00 |
_franck__ | https://github.com/ntfreak/openocd/blob/master/src/jtag/drivers/usb_blaster/usb_blaster.c#L838 | 10:01 |
_franck__ | https://github.com/ntfreak/openocd/blob/master/src/jtag/drivers/usb_blaster/usb_blaster.c#L147 | 10:02 |
_franck__ | ^ that's around here | 10:02 |
_franck__ | you should put some prints in the loop: https://github.com/ntfreak/openocd/blob/master/src/jtag/drivers/usb_blaster/usb_blaster.c#L842 | 10:03 |
_franck__ | time to eat, see you later | 10:03 |
p1oooop | later | 10:04 |
p1oooop | _franck__: ... my problem was that I forgot to include the "./configure" arguments somehow | 11:21 |
p1oooop | _franck__: at least... with the 0.8.0 version | 11:21 |
p1oooop | IT WORKS. | 12:41 |
olofk | p1oooop: Good to hear that you got it working | 17:16 |
--- Log closed Tue Jul 07 00:00:05 2015 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!