RE: wdebug instruction causes XLB slave error acknowledge interrupt on MCF547X.

"Seymour David-RA2693" <[email protected]> Tue, 7 Apr 2009 15:46:23 -0600
Newsgroups gmane.comp.hardware.motorola.microcontrollers.coldfire
Message-ID <FE151544B54DB0428FFA9AE99C27A121028D109F@az33exm22.fsl.freescale.net>
This is a multi-part message in MIME format.

------_=_NextPart_001_01C9B7CA.594C4B61
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Ouch...just got everything put away!  That serves me right for once
trying to keep a clean office.  Lesson learned.  Thx!!
=20
Ok...re-ran with following code:
dBUG> di 20000
00020000: 2C80                 MOVE.L    D0,(A6)
00020002: 0002                 DC.W      0x0002
00020004: 0000                 DC.W      0x0000
00020006: 0000                 DC.W      0x0000
00020008: 207C 0002 0000       MOVEA.L   #0x00020000,A0
0002000E: 4E71                 NOP
00020010: 4E71                 NOP
00020012: FBD0 0003            WDEBUG    (A0)
00020016: 4E71                 NOP
00020018: 4E71                 NOP
0002001A: 227C 1000 0248       MOVEA.L   #0x10000248,A1
00020020: 2211                 MOVE.L    (A1),D1
00020022: 4E71                 NOP
00020024: 4E71                 NOP
00020026: 4E4F                 TRAP      #0x0F
00020028: 37FE                 DC.W      0x37FE
dBUG> rm pc 20008
dBUG> go
dBUG> rd
PC: 00020028 SR: 2004 [t.Sm.000...xnZvc]
An: 00020000 10000248 00000000 00000000 00000000 00000000 00000000
03FFFFF8
Dn: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
dBUG>
=20
Register D1 is zero so bit 8 is not setting.
Anything else for me to try?
Regards,=20
David=20
=20
David E Seymour

http://www.freescale.com/coldfire

=20

________________________________

From: [email protected] [mailto:[email protected]]
On Behalf Of nop head
Sent: Tuesday, April 07, 2009 4:11 PM
To: Seymour David-RA2693
Subject: Re: [ColdFire] wdebug instruction causes XLB slave error
acknowledge interrupt on MCF547X.


Hi David,
  Yes I think it kills my PSTCLK, but why does it generate an XLB
interrupt? Can you look at the XLB registers as see if the status
register has bit 8 set.

Chris


2009/4/7 Seymour David-RA2693 <[email protected]>


	Hi Chris,
	I did a simple test using the M5474EVB Lite board running dBUG
ROM monitor:
	dBUG> di 20000
	00020000: 2C80                 MOVE.L    D0,(A6)
	00020002: 0002                 DC.W      0x0002
	00020004: 0000                 DC.W      0x0000
	00020006: 0000                 DC.W      0x0000
	00020008: 267C 0002 0000       MOVEA.L   #0x00020000,A3
	0002000E: 4E71                 NOP
	00020010: FBD3 4E71            WDEBUG    (A3)
	00020014: 4E71                 NOP
	00020016: 4E71                 NOP
	00020018: 4E71                 NOP
	0002001A: 4E71                 NOP
	0002001C: 4E71                 NOP
	0002001E: 4E4F                 TRAP      #0x0F
	00020020: 4E71                 NOP
	00020022: 4E71                 NOP
	00020024: 4E71                 NOP
	=20
	I set the PC to 0x20008 and issued "go" command.
	Watching PSTCLK with oscope, it is running be default.  After
executing the above code, it is low.
	So I'm seeing it work OK.
	Regards,=20
	David=20
	=20
	David E Seymour

	http://www.freescale.com/coldfire

	=20

________________________________

	From: [email protected]
[mailto:[email protected]] On Behalf Of nop head
	Sent: Tuesday, April 07, 2009 9:27 AM
	To: Seymour David-RA2693
	Subject: [ColdFire] wdebug instruction causes XLB slave error
acknowledge interrupt on MCF547X.
=09
=09
	I want to disable the PST signals, when not debugging, to reduce
RF emissions. I used the following code successfully in an MCF537X
project, but when I use it on a V4 processor I get an interrupt from the
XLB arbiter.
=09
	csr_data       dc.w    0010110010000000b       ;CSR
	                   dc.w    2,0,0                   ;PCD
	...
	                lea     csr_data,a0
	                dc.w    1111101111010000b     ;wdebug.l a0
	                dc.w    0000000000000011b
=09
	My assembler doesn't support wdebug, hence the hand coded dc.w
stuff. All the code does is set the PCD bit in the BDM CSR register.
=09
	The fault address is csr_data + 4, i..e. half way through the
data. The fault is a slave error acknowledge. The data is correctly
aligned on a four byte boundary and is certainly accessible by normal
instructions.
=09
	Anybody know what is going on here?
=09
	TIA, Chris
=09
=09
	[email protected] Send a post to the list.
[email protected] Join the list. [email protected]
Join the list in digest mode. [email protected] Leave the
list.
	[email protected] Send a post to the list.
[email protected] Join the list. [email protected]
Join the list in digest mode. [email protected] Leave the
list.


[email protected] Send a post to the list.
[email protected] Join the list. [email protected]
Join the list in digest mode. [email protected] Leave the
list.

------_=_NextPart_001_01C9B7CA.594C4B61
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.3492" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D268594421-07042009><FONT =
color=3D#0000ff=20
size=3D2>Ouch...just got everything put away!&nbsp; That serves me right =
for once=20
trying to keep a clean office.&nbsp; Lesson learned.&nbsp;=20
Thx!!</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D268594421-07042009><FONT =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D268594421-07042009><FONT =
color=3D#0000ff=20
size=3D2>Ok...re-ran with following code:</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D268594421-07042009><FONT =
color=3D#0000ff=20
size=3D2>dBUG&gt; di 20000<BR>00020000:=20
2C80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
MOVE.L&nbsp;&nbsp;&nbsp; D0,(A6)<BR>00020002:=20
0002&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
DC.W&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0002<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p;&nbsp;=20
MOVEA.L&nbsp;&nbsp; #0x10000248,A1<BR>00020020:=20
2211&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
MOVE.L&nbsp;&nbsp;&nbsp; (A1),D1<BR>00020022:=20
4E71&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
NOP<BR>00020024:=20
4E71&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
NOP<BR>00020026:=20
4E4F&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
TRAP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #0x0F<BR>00020028:=20
37FE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
DC.W&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x37FE<BR>dBUG&gt; rm pc =
20008<BR>dBUG&gt;=20
go<BR>dBUG&gt; rd<BR>PC: 00020028 SR: 2004 [t.Sm.000...xnZvc]<BR>An: =
00020000=20
10000248 00000000 00000000 00000000 00000000 00000000 03FFFFF8<BR>Dn: =
00000000=20
00000000 00000000 00000000 00000000 00000000 00000000=20
00000000<BR>dBUG&gt;</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D268594421-07042009><FONT =
color=3D#0000ff=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D268594421-07042009><FONT =
color=3D#0000ff=20
size=3D2>Register D1 is zero so bit 8 is not =
setting.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D268594421-07042009><FONT =
color=3D#0000ff=20
size=3D2>Anything else for me to try?</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D268594421-07042009><FONT =
color=3D#0000ff=20
size=3D2>Regards, </FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D268594421-07042009><FONT =
color=3D#0000ff=20
size=3D2>David </FONT></SPAN></DIV>
<DIV><FONT color=3D#0000ff size=3D2></FONT>&nbsp;</DIV>
<DIV align=3Dleft><FONT size=3D2>David E Seymour</FONT><FONT =
size=3D2></DIV>
<DIV align=3Dleft>
<P><U><FONT color=3D#0000ff size=3D2><A=20
href=3D"http://www.freescale.com/coldfire">http://www.freescale.com/coldf=
ire</A></U></FONT><FONT=20
size=3D2></P></FONT></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2></FONT>&nbsp;</DIV><BR>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> [email protected]=20
[mailto:[email protected]] <B>On Behalf Of </B>nop=20
head<BR><B>Sent:</B> Tuesday, April 07, 2009 4:11 PM<BR><B>To:</B> =
Seymour=20
David-RA2693<BR><B>Subject:</B> Re: [ColdFire] wdebug instruction causes =
XLB=20
slave error acknowledge interrupt on MCF547X.<BR></FONT><BR></DIV>
<DIV></DIV>Hi David,<BR>&nbsp; Yes I think it kills my PSTCLK, but why =
does it=20
generate an XLB interrupt? Can you look at the XLB registers as see if =
the=20
status register has bit 8 set.<BR><BR>Chris<BR><BR>
<DIV class=3Dgmail_quote>2009/4/7 Seymour David-RA2693 <SPAN =
dir=3Dltr>&lt;<A=20
href=3D"mailto:[email protected]">[email protected]</=
A>&gt;</SPAN><BR>
<BLOCKQUOTE class=3Dgmail_quote=20
style=3D"PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: =
rgb(204,204,204) 1px solid">
  <DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN><FONT color=3D#0000ff size=3D2>Hi=20
  Chris,</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN><FONT color=3D#0000ff size=3D2>I did =
a simple test=20
  using the M5474EVB Lite board running dBUG ROM =
monitor:</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN><FONT color=3D#0000ff =
size=3D2>dBUG&gt; di=20
  20000<BR>00020000:=20
  =
2C80&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  MOVE.L&nbsp;&nbsp;&nbsp; D0,(A6)<BR>00020002:=20
  =
0002&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  DC.W&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0002<BR>00020004:=20
  =
0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  DC.W&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0000<BR>00020006:=20
  =
0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  DC.W&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0000<BR>00020008: 267C 0002=20
  0000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MOVEA.L&nbsp;&nbs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0F<BR>00020020:=20
  =
4E71&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  NOP<BR>00020022:=20
  =
4E71&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  NOP<BR>00020024:=20
  =
4E71&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  NOP</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN><FONT color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN><FONT color=3D#0000ff size=3D2>I set =
the PC to=20
  0x20008 and issued "go" command.</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN><FONT color=3D#0000ff =
size=3D2>Watching PSTCLK with=20
  oscope, it is running be default.&nbsp; After executing the above =
code, it is=20
  low.</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN><FONT color=3D#0000ff size=3D2>So =
I'm seeing it work=20
  OK.</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN><FONT color=3D#0000ff =
size=3D2>Regards,=20
  </FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN><FONT color=3D#0000ff size=3D2>David =

  </FONT></SPAN></DIV>
  <DIV>&nbsp;</DIV>
  <DIV align=3Dleft><FONT size=3D2>David E Seymour</FONT><FONT =
size=3D2></FONT></DIV>
  <DIV align=3Dleft>
  <P><U><FONT color=3D#0000ff size=3D2><A =
href=3D"http://www.freescale.com/coldfire"=20
  target=3D_blank>http://www.freescale.com/coldfire</A></FONT></U><FONT=20
  size=3D2></FONT></P></DIV>
  <DIV>&nbsp;</DIV><BR>
  <DIV lang=3Den-us dir=3Dltr align=3Dleft>
  <HR>
  <FONT face=3DTahoma size=3D2><B>From:</B> <A=20
  href=3D"mailto:[email protected]"=20
  target=3D_blank>[email protected]</A> [mailto:<A=20
  href=3D"mailto:[email protected]"=20
  target=3D_blank>[email protected]</A>] <B>On Behalf Of =
</B>nop=20
  head<BR><B>Sent:</B> Tuesday, April 07, 2009 9:27 AM<BR><B>To:</B> =
Seymour=20
  David-RA2693<BR><B>Subject:</B> [ColdFire] wdebug instruction causes =
XLB slave=20
  error acknowledge interrupt on MCF547X.<BR></FONT><BR></DIV>
  <DIV>
  <DIV></DIV>
  <DIV class=3Dh5>
  <DIV></DIV>I want to disable the PST signals, when not debugging, to =
reduce RF=20
  emissions. I used the following code successfully in an MCF537X =
project, but=20
  when I use it on a V4 processor I get an interrupt from the XLB=20
  arbiter.<BR><BR>csr_data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  dc.w&nbsp;&nbsp;&nbsp; =
0010110010000000b&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
;CSR<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  dc.w&nbsp;&nbsp;&nbsp;=20
  =
2,0,0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
;PCD<BR>...<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  lea&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
csr_data,a0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  dc.w&nbsp;&nbsp;&nbsp; 1111101111010000b&nbsp;&nbsp;&nbsp;&nbsp; =
;wdebug.l=20
  =
a0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;=20
  dc.w&nbsp;&nbsp;&nbsp; 0000000000000011b<BR><BR>My assembler doesn't =
support=20
  wdebug, hence the hand coded dc.w stuff. All the code does is set the =
PCD bit=20
  in the BDM CSR register.<BR><BR>The fault address is csr_data + 4, =
i..e. half=20
  way through the data. The fault is a slave error acknowledge. The data =
is=20
  correctly aligned on a four byte boundary and is certainly accessible =
by=20
  normal instructions.<BR><BR>Anybody know what is going on =
here?<BR><BR>TIA,=20
  Chris<BR><BR></DIV></DIV><A href=3D"mailto:[email protected]"=20
  target=3D_blank>[email protected]</A> Send a post to the list. <A=20
  href=3D"mailto:[email protected]"=20
  target=3D_blank>[email protected]</A> Join the list. <A=20
  href=3D"mailto:[email protected]"=20
  target=3D_blank>[email protected]</A> Join the list in =
digest mode.=20
  <A href=3D"mailto:[email protected]"=20
  target=3D_blank>[email protected]</A> Leave the =
list.</DIV><A=20
  href=3D"mailto:[email protected]" =
target=3D_blank>[email protected]</A>=20
  Send a post to the list. <A href=3D"mailto:[email protected]" =

  target=3D_blank>[email protected]</A> Join the list. <A=20
  href=3D"mailto:[email protected]"=20
  target=3D_blank>[email protected]</A> Join the list in =
digest mode.=20
  <A href=3D"mailto:[email protected]"=20
  target=3D_blank>[email protected]</A> Leave the=20
list.</BLOCKQUOTE></DIV><BR>[email protected] Send a post to the =
list.=20
[email protected] Join the list. [email protected] =
Join the=20
list in digest mode. [email protected] Leave the =
list.</BODY></HTML>

[email protected]=09Send a post to the list.
[email protected]=09Join the list.
[email protected]=09Join the list in digest mode.
[email protected]=09Leave the list.
------_=_NextPart_001_01C9B7CA.594C4B61--