**** BEGIN LOGGING AT Wed Jan 07 02:59:57 2009 Jan 07 12:29:37 * flyback heads to work Jan 07 12:34:53 * flyback is still feeling stoned 5 hrs after taking a bentyl, wtf is going on Jan 07 12:41:49 * flyback bbl Jan 07 12:44:37 lo all Jan 07 19:12:49 I'm back asking about the ARM-USB-OCD Jan 07 19:12:58 I still can't get gdb to work with it Jan 07 19:16:32 dolphin: That makes two of us. Jan 07 19:16:45 cool, using openocd svn? Jan 07 19:16:50 Yes Jan 07 19:16:57 What chip/board are you interfacing to? Jan 07 19:17:17 SAM7-EX256 from olimex (AT91SAM7X256) Jan 07 19:17:45 using the telnet interface I can erase and reprogram the chip Jan 07 19:18:19 debugging "works" too when I load symbols (except that the program flow isn't logical, cause the code is different from debugging symbols :P) Jan 07 19:18:28 even breakpoints seem to work Jan 07 19:18:29 I'm using the Olimex SAM7-H64 Jan 07 19:19:07 if I use the telnet interface and load the new binary manually, then start up gdb I suppose it would work Jan 07 19:19:16 I'm actually trying to debug a problem in the HID example code. Jan 07 19:19:43 I haven't quite gotten to interfacing with gdb yet. That's on the agenda for today or tomorrow. Jan 07 19:19:58 I just got ocd working with my dongle last night. Jan 07 19:21:29 Are you using an IDE like eclipse or just sttraight GDB? Jan 07 19:21:58 well, if I got gdb to work, then I could try attaching it to some IDE :) Jan 07 19:22:05 but probably will end up using plain gdb Jan 07 19:22:19 compiled my own toolchain Jan 07 19:22:31 Ok Jan 07 19:22:44 Have you tried the example HID application? Jan 07 19:23:18 I'd be curious to know if you have the same problem I've been having. Jan 07 19:24:05 example HID application from where? Jan 07 19:24:35 Let me find the link Jan 07 19:30:34 http://atmel.com/dyn/products/tools_card.asp?tool_id=4343 Jan 07 19:30:55 And of course I got the AT91SAM7S-EK version Jan 07 19:31:45 When you unzip that, they have a bunch of sample projects in the packages directory. Jan 07 19:32:40 hmm Jan 07 19:33:35 I saw problems with the usb-device-hid-keyboard-project Jan 07 19:34:06 It's really weird. Everything appears to work fine. Jan 07 19:34:29 I hooked up two switches to two input pins on my board and made the trivial code changes necessary to use them. Jan 07 19:34:46 The program runs fine as long as I'm only pushing one button at a time. Jan 07 19:35:25 But when I start pushing them both a lot, it will eventually get stuck in either a pressed or unpressed state. Jan 07 19:36:20 And I'll either see the keypress repeated forever or no keypresses register. Jan 07 19:37:28 I couldn't solve the problem on my own, so I ordered a JTAG interface which I'm now trying to set up. Jan 07 19:39:00 hmm Jan 07 19:39:40 sounds like you're not debouncing and lose either rising or falling edge :P Jan 07 19:40:04 I turned the deglitch filter on and I even implemented debouncing in software. Jan 07 19:40:26 Neither of those solved the problem. Jan 07 19:40:53 And I don't think it's a debounce issue because everything works perfect as long as I only use one switch at a time. Jan 07 19:41:41 But the problem consistently happens soon after I start pressing both switches. Jan 07 19:44:04 hmm Jan 07 19:45:14 I really think the program is crashing somehow. Jan 07 19:45:31 When the key starts repeating, I can stop the repeat by pressing a key on my actual keyboard. Jan 07 19:46:14 ...which suggests that the board simply stopped sending the keypresses/releases over the USB and it happened after a press, but before a release. Jan 07 19:47:22 But after I stop the key repeat, the board is still unresponsive. Jan 07 19:47:56 If it had simply missed a leading/falling edge, then I would think it would still get subsequent keypresses. Jan 07 20:07:32 anyway, the jtag thigie doesn't really seem to work :P Jan 07 20:08:32 What jtag thing? Jan 07 20:09:01 gdb? Jan 07 20:09:41 well, I supposed gdb is ok but openocd blows Jan 07 20:10:33 In terms of working with gdb? Jan 07 20:12:28 yeah, obviously Jan 07 20:12:44 I don't have anything to compare it to. Jan 07 20:13:37 This is my first embedded project. Jan 07 20:16:54 oww Jan 07 20:17:01 I've been supplying it too low voltage :( Jan 07 20:17:12 at least, dunno if that fixes anything Jan 07 20:17:19 Hmmm, interesting. Jan 07 20:17:32 at least the led glows better Jan 07 20:38:51 I got something to load there Jan 07 20:39:00 maybe my files were just fscked up Jan 07 20:40:28 now I tried something from the zip file you linked :) Jan 07 20:40:49 maybe combination of that + better voltage level fixed things Jan 07 20:41:35 I should make myself a digital oscilloscope Jan 07 20:44:57 Heh Jan 07 20:45:06 Which example did you try? Jan 07 20:46:29 getting-started Jan 07 20:46:42 it didn't work, but who cares? :P Jan 07 20:46:51 (as my board is from olimex, really) Jan 07 22:13:19 <_n0> anyone know if lpc2210 has support? Jan 07 22:27:50 <_n0> the 0kb internal flash part. **** ENDING LOGGING AT Thu Jan 08 02:59:57 2009