**** BEGIN LOGGING AT Tue Jul 04 02:59:56 2006 Jul 04 09:08:19 Have you guys seen the OpenOCD project and www.amontec.com ? Jul 04 10:32:27 hey NAiL Jul 04 10:32:34 hi there :) Jul 04 10:32:44 got insomnia tonight Jul 04 10:32:54 almost 4am here and I'm still up. Jul 04 10:34:25 hey ka6sox Jul 04 10:34:35 ka6sox: are you involved in OpenOCD? Jul 04 10:35:11 rwhitby, nope Jul 04 10:35:37 that would be vmaster_ Jul 04 10:35:50 Looks like a cool project. I might be using it for work (we need to hook up Eclipse to a DSP core). Jul 04 10:36:12 fun Jul 04 10:36:18 vmaster is your guy. Jul 04 10:36:35 Is vmaster_ a regular here? Jul 04 10:36:43 I think that [g2] also has played with it. Jul 04 10:36:56 ya...vmaster is here pretty regularly...he's in .de Jul 04 10:37:09 * rwhitby adds #openjtag to his auto-connect list ... Jul 04 10:37:30 I sent amontec an email seeing if they wanted to donate some hardware ... Jul 04 10:37:36 www.amontec.com Jul 04 10:37:43 good plan. Jul 04 11:00:59 hey Jul 04 11:01:12 morning vmaster. Jul 04 11:01:19 hey vmaster Jul 04 11:01:24 morning ka6sox, hey rwhitby Jul 04 11:01:37 I hear you're the OpenOCD expert around these parts ... Jul 04 11:01:54 Are you on the development team of it? Jul 04 11:02:05 guess i am the development team ;) Jul 04 11:02:23 a few contributions from others, mostly bug fixes, and support for flash chips i don't own Jul 04 11:02:37 ah, you're Dominic? Jul 04 11:02:42 yeah Jul 04 11:02:47 Pleased to meet you. Jul 04 11:03:08 I was just reading through your code, seeing how difficult it would be to add support for some Freescale processors ... Jul 04 11:03:59 that really depends on the debug hardware used by freescale Jul 04 11:04:09 arm7/9 and xscale for example is almost completely different Jul 04 11:04:19 only the jtag stuff and architecture is the same Jul 04 11:04:26 armv4/5t Jul 04 11:04:42 oh yeah, and the gdb stuff Jul 04 11:06:59 My company (www.astc-design.com) is looking to connect Eclipse to some Freescale chips, and OpenOCD looks (on the face of it) to be a good platform for that sort of work ... Jul 04 11:07:16 is there public documentation available on these chips? Jul 04 11:07:33 Good question. Jul 04 11:08:35 I know they give out Debug Access information to companies like Green Hills Software, etc. Jul 04 11:08:44 Not sure whether it's under NDA or not. Jul 04 11:09:11 The chip data books should have debug access chapters in them ... Jul 04 11:10:28 * rwhitby checks www.freescale.com ... Jul 04 11:12:50 boo hisss...green hills....they are here in town. Jul 04 11:21:35 vmaster: here's an offer from the nslu2-linux project - we'll buy you a slug if you want to get OpenOCD to work with the NSLU2. Jul 04 11:23:34 vmaster: the Freescale chips we're looking at have the "EOnCE" (Enhanced On-Chip Emulation) block for debug access through jtag, and it's documented in the chip user manual. Jul 04 11:23:45 (e.g. for the 56800E DSP core) Jul 04 11:24:19 * ka6sox programmed the 56K a LONG time ago with DSP in Assembly. Jul 04 11:27:20 heh, that would be really cool Jul 04 11:27:50 i'm having exams once again the next two weeks, so i wont work on the xscale stuff for some time, but after that I'd be glad to t Jul 04 11:27:56 talk to you about your offer Jul 04 11:28:19 i'll have a look at the freescale EOnCE Jul 04 11:28:26 Do you have a way to buy an NSLU2 locally? Or would you require one to be shipped from the US? Jul 04 11:28:54 (If you can get one locally, we can just PayPal you the cost) Jul 04 11:29:04 i can get one locally Jul 04 11:29:19 what's the cost (in USD$)? Jul 04 11:29:42 has dave bisset turned up on this channel to talk to anyone yet? Jul 04 11:29:49 he's the balloon 3 JTAG guy Jul 04 11:30:00 I suspect not so I'll kick him again Jul 04 11:30:03 i don't think so Jul 04 11:30:17 vmaster: is this the main place on IRC where you discuss OpenOCD? Jul 04 11:30:30 (hi rwhitby) Jul 04 11:30:43 * rwhitby waves to wookey - long time no speak Jul 04 11:30:43 if ever, than in #openjtag, i guess Jul 04 11:30:58 i'll grab something for lunch, bbiab Jul 04 11:31:13 I'll be gone to bed by then. Jul 04 11:31:21 Catch you another day. Good luck with the exams. Jul 04 11:33:09 vmaster: I see that xscale support is 'coming along nicely' on june 12th. Does that mean we can use it for uploading files already, or is more needed? Jul 04 11:33:22 (we are using pxa270) Jul 04 11:34:14 wookey: is your company considering using OpenOCD? Jul 04 11:34:26 yes Jul 04 11:34:51 we currently have our own jtag tools which are a re-wrtitten (and much better) multi-chain jflash Jul 04 11:34:54 called bflash Jul 04 11:35:22 wookey: From your knowledge of OpenOCD, would it be able to support multi-core debugging? Jul 04 11:35:28 but we need some high-speed hardware and tools to the sort of thing XJTAG lets us do, but without everyone having to pay $18,000 Jul 04 11:35:50 My knowledge is negligible, except for a talk vmaster gave at FOSDEM this year Jul 04 11:36:08 oh, is there an online copy of that talk somewhere I can look at? Jul 04 11:36:24 if openOCD and similar tools are the right sort of thing then it makes sense for us to develop that rather than NIH it Jul 04 11:36:35 wookey: my feelings exactly Jul 04 11:36:55 I think I saw a copy of the talk at one time.... Jul 04 11:37:03 but I may be misteaken Jul 04 11:37:21 it was actually about openjtag. I'm not sure if openjtag==openOCD Jul 04 11:37:30 probably Jul 04 11:37:48 rwhitby: fodem.org seems to be down right now Jul 04 11:37:49 aha: http://free-electrons.com/community/videos/conferences Jul 04 11:37:54 look for the embedded track Jul 04 11:37:56 (from http://lwn.net/Articles/173968/) Jul 04 11:38:05 ah yes - he videoed it all - very handy Jul 04 11:39:05 http://openocd.berlios.de/OpenOCD_Fosdem2006_talk.odp Jul 04 11:39:47 those are the slides Jul 04 11:40:26 ka6sox: thx Jul 04 11:40:49 np Jul 04 11:42:29 also ftp://ftp.belnet.be/pub/mirror/FOSDEM/ Jul 04 11:46:06 excellent Jul 04 11:46:34 Now I need to find a windows ogg player so i can watch them at work :-) Jul 04 11:46:46 heh Jul 04 11:46:55 the talk is more about how openocd works, than how to use it Jul 04 11:47:04 that's good. Jul 04 11:47:18 in order to port it to another arch thats what is needed. Jul 04 11:47:23 (especially for someone considering contributing to it) Jul 04 11:47:33 mhh, not sure, it's a bit arm7/9 centric Jul 04 11:47:56 vmaster: what is the strongarm suport like? Jul 04 11:48:04 there is no strong Jul 04 11:48:06 arm support Jul 04 11:48:18 the slide just shows the arm cores Jul 04 11:48:44 ah, and "coming along nicely" means i got the basics working, but all the details have to be filled in Jul 04 11:49:11 OK, thanx. I will try to find time to take a proper look Jul 04 11:49:42 the svn branch is horribly outdated - i'll let you know once there's something usable Jul 04 11:50:27 currently i'm trying to get the OpenOCD build a native-windows version, without too many hacks Jul 04 11:50:50 vmaster: you don't work in the svn repo? Jul 04 11:51:11 well, yeah, but I lack the discipline Jul 04 11:51:36 sure, i could check everything in the way it is now Jul 04 11:52:22 i try to do only small, documented changes on the /trunk Jul 04 11:53:34 the xscale branch gets huge updates once i have all the bits working together Jul 04 11:54:12 Has the underlying architecture changed? i.e. could someone use the current trunk as the basis to port to a new type of processor? Jul 04 11:54:57 some very minor changes to the JTAG support, as XScale is a bit picky on how you move through the state machine Jul 04 11:56:41 multi-core debugging should be possible, at least Laurent from Amontec reported that he used it on a board with two arm cores Jul 04 11:57:12 davidc__: was having problems though, with his IPod, but then I know nothing about how these cores are connected Jul 04 11:57:19 heh, I was just talking to Laurent from Amontec on email tonight, asking for hardware donations to nslu2-linux ;-) Jul 04 11:57:52 Olimex is going to sell something similar Jul 04 11:58:05 you might want to ask them, too Jul 04 11:59:58 OLIMEX==Sparkfun in US. Jul 04 12:00:07 OLIMEX is in .bg. Jul 04 12:00:13 yeah Jul 04 12:00:35 I met Tsvetan (olimex) at the Embedded World this year in nuremberg Jul 04 12:01:31 I love nuremberg...spend a couple of romantic nights there. Jul 04 12:02:01 yeah, the inner-city is really nice Jul 04 12:02:32 vmaster: olimex's product is this one?: http://www.olimex.com/dev/arm-usb-ocd.html Jul 04 12:02:40 yeah Jul 04 12:03:05 it's supposed to sell for around 60$ Jul 04 12:03:31 1/3 of the amontec device Jul 04 12:04:04 still uses the FT2232? Jul 04 12:04:15 i think so, although i haven't seen it yet Jul 04 12:04:28 but he asked me how they should do the pin-out to have it work with OpenOCD Jul 04 12:04:44 Amontec is planning to do a cheaper version, too Jul 04 12:04:54 k Jul 04 12:06:13 does openOCD support multiple JTAG chains? Jul 04 12:06:34 mhh, not multiple chains, but multiple devices in a chain Jul 04 12:06:52 I recall DB saying the reason he didn't use any of the existing projects was that none supported multiple chains Jul 04 12:07:06 right - we put each of our devices on it's own port, we don't chain them Jul 04 12:07:23 s/it's/its/ Jul 04 12:07:24 wookey meant: right - we put each of our devices on its own port, we don't chain them Jul 04 12:07:33 hmm, when do you have to operate multiple chains at the same time? Jul 04 12:07:41 ah, board testing? Jul 04 12:08:07 and board programming - we nee to fill nand via CPU and FPGA on second chain Jul 04 12:08:26 and yes if there is a problem we want to monitor/control both Jul 04 12:09:32 separate ports is much simpler for new board bringup - easier to tell which bit is working/broken Jul 04 12:10:00 we are doing that a lot with our boards these days. Jul 04 12:10:07 does this concept break openOCD architecture badly, or could it be fitted in without too much trouble? Jul 04 12:10:47 i think that could be added quite easily Jul 04 12:11:01 OK - that would make us much more enthusiastic :-) Jul 04 12:11:18 I can send you some hardware to play with if it helps Jul 04 12:11:37 (after the exams :-) Jul 04 12:11:46 * rwhitby thinks vmaster will not pass his exams with all this hardware coming his way ... Jul 04 12:12:12 he only needs to do well enough not to get kicked out... Jul 04 12:12:13 he'll be thinking of dancing hardware. Jul 04 12:13:08 heh, these are my last three exams ever i guess Jul 04 12:14:03 gotta go - sick child. Catch you guys later. Jul 04 12:14:10 cya Jul 04 12:14:32 bye for now Jul 04 12:14:39 time for sleep at 5:30 am Jul 04 12:14:45 tonight's worldcup semi-final, so i won't be online anymore in a few hours Jul 04 12:14:49 good night Jul 04 12:21:09 wookey: regarding the multiple chains - do you think you could get your JTAG guy in here? Jul 04 12:21:43 I did tell him to come here, but he's not much of an IRC person. Jul 04 12:21:59 he did appear in #balloon so he has got it working... Jul 04 12:22:11 I'll reprod Jul 04 14:17:24 http://www.vizufonusa.com/?topic=news&resource=CIP_6000 Jul 04 14:17:31 it says it uses an arm920T Jul 04 14:17:40 as long as I know EP9302 is 920t Jul 04 15:11:24 vmaster: I mailed the list and cc:ed you. Hopefully someone who knows what they are talking about will turn up here at some point Jul 04 15:16:09 nice, thank you Jul 04 15:31:04 wookey: the StrongARM doesn't have debug support at all Jul 04 15:31:23 at least not the SA1100 i have on my lart Jul 04 15:34:04 none of the strongarms has debug support afaik Jul 04 15:34:46 yeah, i think so, but only know about the sa1100 for sure Jul 04 15:35:12 SA1110 doesn't either :) Jul 04 15:37:52 wookey: and OpenOCD is more about debugging the code than the board - reading your mail I'm not sure if this is what you want Jul 04 16:37:04 vmaster: I see - so this is about using the built-in debug functionality on the CPU, not about using JTAG for simple programming (or complicated testing) Jul 04 16:37:37 As you say strongarm does not have that functionality in hardware Jul 04 16:38:05 So which software does have the functionality I am looking for? Jul 04 16:41:28 well, it is about programming, too, but currently not about testing Jul 04 16:41:36 i don't think there's free software Jul 04 16:41:45 we've discussed this here before, but we weren't even sure what's necessary Jul 04 16:43:26 OK, so maybe our bflash could be a start others can use? Jul 04 16:44:24 are you going to answer mail to point out that I have wrong end of stick, or shall I do it? Jul 04 16:44:38 I expect you are about to watch footie match :-) Jul 04 16:50:28 is your bflash available online somewhere? Jul 04 16:58:30 Not yet - I am hassling dave bisset to send it to me, and it will go on balloonboard.org Jul 04 17:02:57 okay, I'll reply to your mail with what OpenOCD is, and what it's not Jul 04 17:44:36 vmaster: I'm thinking its either that the debug macrocells in my board are nonstandard, or I've got some bad electrical noise on the signal lines, or that the thing is resetting itself in the middle of debug [I've seen some fluctuations in the power supply chunk of the board that looks dodgy] Jul 04 17:44:44 vmaster: so don't worry about my issue too much for now ;) Jul 04 17:46:53 davidc__: i have a fix for the two-targets problem Jul 04 17:46:59 i forgot an i++ ;) Jul 04 17:47:16 vmaster: heh, I was just gonna look at that today [ just got back from vacation] Jul 04 17:47:21 but yeah, I'll do an svn up and grab that Jul 04 17:48:06 it's not yet in svn, as i'm fighting the mingw stuff Jul 04 17:48:43 in gdb_server, gdb_init(), add "i++;" at the end of the while loop, just before or after the target = target->next Jul 04 17:50:15 alrighty, sounds good Jul 04 17:52:09 okay, i'm off, watching the worldcup semi-finals Jul 04 17:55:29 enjoy! **** ENDING LOGGING AT Wed Jul 05 02:59:56 2006