**** BEGIN LOGGING AT Thu Aug 04 23:59:56 2005 Aug 05 07:13:02 morning folks Aug 05 07:13:08 anyone alive today? Aug 05 07:24:33 hehe dead dead dead Aug 05 07:36:31 * Jacmet is Aug 05 07:36:59 * DaKa2 is Aug 05 07:42:20 hehe Aug 05 07:42:44 either of you done any code from linux to monitor the core logic registers from jtag? Aug 05 07:43:45 * DaKa2 doesn't even have jtag yet Aug 05 07:44:06 nope Aug 05 07:47:18 i see Aug 05 08:15:26 prpplague: I can access the XScale JTAG registers from Linux using the FTDI chip Aug 05 08:32:57 ep1220: cool Aug 05 08:33:07 ep1220: using a custom app of course Aug 05 08:33:19 ep1220: are you able to set break points? Aug 05 08:33:45 prpplague: I be back in 10 minutes Aug 05 08:33:45 ep1220: i'd like to set a break point, and then dump registers when it reaches that point Aug 05 08:33:49 ep1220: ok Aug 05 08:49:12 prpplague: So far I only loaded code into the cache. Aug 05 08:49:32 A breakpoint can not be set thru a JTAG register Aug 05 08:49:51 You need a stub on the CPU which sets the breakpoint Aug 05 08:50:26 handles the exception and then dumps registers to the JTAG trasnfer registers Aug 05 08:57:52 ep1220: hmm, that doesn't sound correct, as i am able to do that now Aug 05 08:58:24 Set a breakpoint using JTAG ? Aug 05 08:58:29 ep1220: yea Aug 05 08:58:41 ep1220: i'm using armtool Aug 05 08:58:51 What JTAG IF ? Aug 05 08:59:41 Your target is an XScale CPU ? Aug 05 09:00:15 ep1220: no samsung s3c44B0X with a wiggler style Aug 05 09:00:28 This is ARM7 or ARM 9 ? Aug 05 09:04:35 I found it is ARM7TDMI Aug 05 09:04:37 XScale JTAG != ARM JTAG - debugging wise. Aug 05 09:05:54 You know JMunakra's JTagPack ? Is on Source Forge. It supports ARM7TDMI Aug 05 09:24:56 sorry boss on the phone Aug 05 09:25:27 jtagpack? hmm, not heard of that one Aug 05 09:25:45 ep1220: ahh, i've not done much with xscale Aug 05 09:29:23 ep1220: interesting, i'll have a look Aug 05 09:34:49 ep1220: the xscale jtag interface isn't standard arm? Aug 05 09:52:22 prpplague: For debugging Intel has its own way Aug 05 09:52:48 e.g Xscale has a mini-cache were You can load the debugging stub Aug 05 09:53:09 ahh Aug 05 09:53:18 ARM7 only allows You to insert an instruction into the execution register Aug 05 09:53:47 MIPS has still another way, as do have most DSPs Aug 05 09:54:18 There is no standard JTAG debugging IF Aug 05 09:54:51 ARM9 also has some differences Aug 05 09:54:58 Do You have the ARM debugging docs ? Aug 05 09:58:43 no, i do not Aug 05 09:58:52 url? Aug 05 09:59:27 I found info on JTAG debuggin in the following ARM DOCs: Aug 05 09:59:37 DDI0210C_7tdmi_r4p1_trm.pdf Aug 05 09:59:44 DDI0210B_7TDMI_R4.pdf Aug 05 09:59:52 DDI0029G_7TDMI_R3_trm.pdf Aug 05 10:00:01 I downloaded them from the ARM website Aug 05 10:00:21 Sorry, have no "direct click" URL. Aug 05 10:00:24 ahh lovely, i'll have a look Aug 05 10:00:31 * prpplague isn't totally helpless Aug 05 10:00:37 hehe Aug 05 10:00:42 ep1220: can get them from arm Aug 05 10:00:47 ep1220: just didn't know they existed Aug 05 10:01:04 bascially all 3 are jsut different versions of the same doc. Aug 05 10:03:40 If You have more questions I'll be around in 2 hours. Aug 05 10:03:41 (not that I would call me _the_ ARM JTAG debugging expert) Aug 05 10:05:20 but would be interested what You are missing from armtools Aug 05 10:13:03 ep1220: ok thanks Aug 05 12:06:28 prpplague: I am back **** ENDING LOGGING AT Fri Aug 05 23:59:56 2005