Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

JTAG problem

JTAG problem

2005-12-01 by Gus

Hello,

I am writing my own code to do JATG on LPC chips. In Shift-IR state, I 
am able to select any one of the JTAG commands and I get back 0001 as 
the ARM manual says. IDCODE and BYPASS work just fine when I 
read/write data in Shift-DR state.

Now, When I want to select a chain using SCAN_N command, I get 0001 in 
Shift-IR state as the manual says but in the Shift-DR state I do not 
get back 1000!

Is there anything I should do before SCAN_N?
Is anyone able to write SCAN_N Shift-DR and got back 1000?

Thanks,

Gus

Re: [lpc2000] JTAG problem

2005-12-02 by Dominic Rath

Hello,

this seems to be a minor bug in the LPC chips. Just write to the register, and 
ignore the value you read back.

Regards,

Dominic
Show quoted textHide quoted text
On Thursday 01 December 2005 20:24, Gus wrote:
> Hello,
>
> I am writing my own code to do JATG on LPC chips. In Shift-IR state, I
> am able to select any one of the JTAG commands and I get back 0001 as
> the ARM manual says. IDCODE and BYPASS work just fine when I
> read/write data in Shift-DR state.
>
> Now, When I want to select a chain using SCAN_N command, I get 0001 in
> Shift-IR state as the manual says but in the Shift-DR state I do not
> get back 1000!
>
> Is there anything I should do before SCAN_N?
> Is anyone able to write SCAN_N Shift-DR and got back 1000?
>
> Thanks,
>
> Gus

JTAG problem

2006-03-25 by jk jlkj

Hi Friends,
   
  Any one knows what this JTAG error means.
   
  "The debug session could not be started. Either the debugger intialization failed, or else the file "c:\...   \FlashPhilipsLPC256K.d79" was corrupt or of an unsupported format. There might be more information in the Debug log window."
   
  I am getting this error on only one of the board's which I have, the other board works fine. JTAG was working perfectly on this board.
   
  Hope some one can help me.
   
  Regards,
  Jerome

				
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

[Non-text portions of this message have been removed]

Re: [lpc2000] JTAG problem

2006-03-25 by Seb Tarris

Hi,

Do you use the IAR compiler v4.30A ?
So yes, there is a problem with the UBROF8 debug format, and you must install the IAR patch Xlink 4.59 or more.

Regards,
Seb
Show quoted textHide quoted text
  ----- Original Message ----- 
  From: jk jlkj 
  To: LPC 2000 
  Sent: Saturday, March 25, 2006 1:03 PM
  Subject: [lpc2000] JTAG problem


  Hi Friends,
     
    Any one knows what this JTAG error means.
     
    "The debug session could not be started. Either the debugger intialization failed, or else the file "c:\...   \FlashPhilipsLPC256K.d79" was corrupt or of an unsupported format. There might be more information in the Debug log window."
     
    I am getting this error on only one of the board's which I have, the other board works fine. JTAG was working perfectly on this board.
     
    Hope some one can help me.
     
    Regards,
    Jerome

                          
  ---------------------------------
  Jiyo cricket on Yahoo! India cricket
  Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

  [Non-text portions of this message have been removed]



------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS 

    a..  Visit your group "lpc2000" on the web.
      
    b..  To unsubscribe from this group, send an email to:
     lpc2000-unsubscribe@yahoogroups.com
      
    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


------------------------------------------------------------------------------



[Non-text portions of this message have been removed]

Re: [lpc2000] JTAG problem

2006-03-25 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "jk jlkj" <njad2002@...>
To: "LPC 2000" <lpc2000@yahoogroups.com>
Sent: Saturday, March 25, 2006 12:03 PM
Subject: [lpc2000] JTAG problem


> Hi Friends,
>
>  Any one knows what this JTAG error means.
>
>  "The debug session could not be started. Either the debugger 
> intialization failed, or else the file "c:\...   \FlashPhilipsLPC256K.d79" 
> was corrupt or of an unsupported format. There might be more information 
> in the Debug log window."
>
>  I am getting this error on only one of the board's which I have, the 
> other board works fine. JTAG was working perfectly on this board.
>
>  Hope some one can help me.

What debugger are you using?

Leon
--
Leon Heller, G1HSM
leon.heller@...
http://www.geocities.com/leon_heller

Re: [lpc2000] JTAG problem

2006-03-27 by jk jlkj

Hi,
   
  I am using IAR Ver 4.31A. 
  This board used to work fine on the IAR Ver 4.30A.
  I have checked the Flash programming through Serial port using LPC2000 Flash utility, and it seems to be working fine. Can it happen that just the JTAG of the LPC is not working, while everything else is functioning properly.
   
  Regards,
  Jerome
  

Leon Heller <leon.heller@...> wrote:
Show quoted textHide quoted text
  ----- Original Message ----- 
From: "jk jlkj" <njad2002@...>
To: "LPC 2000" <lpc2000@yahoogroups.com>
Sent: Saturday, March 25, 2006 12:03 PM
Subject: [lpc2000] JTAG problem


> Hi Friends,
>
>  Any one knows what this JTAG error means.
>
>  "The debug session could not be started. Either the debugger 
> intialization failed, or else the file "c:\...   \FlashPhilipsLPC256K.d79" 
> was corrupt or of an unsupported format. There might be more information 
> in the Debug log window."
>
>  I am getting this error on only one of the board's which I have, the 
> other board works fine. JTAG was working perfectly on this board.
>
>  Hope some one can help me.

What debugger are you using?

Leon
--
Leon Heller, G1HSM
leon.heller@...
http://www.geocities.com/leon_heller 



  SPONSORED LINKS 
        Microcontrollers   Microprocessor   Intel microprocessors     Pic microcontrollers 
    
---------------------------------
  YAHOO! GROUPS LINKS 

    
    Visit your group "lpc2000" on the web.
    
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
    
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

    
---------------------------------
  



				
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.
				
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

[Non-text portions of this message have been removed]

Re: [lpc2000] JTAG problem

2006-03-27 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "jk jlkj" <njad2002@...>
To: <lpc2000@yahoogroups.com>
Sent: Monday, March 27, 2006 5:38 AM
Subject: Re: [lpc2000] JTAG problem


> Hi,
>
>  I am using IAR Ver 4.31A.
>  This board used to work fine on the IAR Ver 4.30A.
>  I have checked the Flash programming through Serial port using LPC2000 
> Flash utility, and it seems to be working fine. Can it happen that just 
> the JTAG of the LPC is not working, while everything else is functioning 
> properly.

Could be. I repaired a board for someone who had a similar problem by 
replacing the LPC2106. The JTAG inputs could be damaged if the adapter is 
connected with the power on, I always try to remember to disconnect it from 
the power supply when connecting the JTAG.

Leon

Re: [lpc2000] JTAG problem

2006-03-27 by jk jlkj

Is there any method to identify whether the JTAG inputs of LPC have been damaged.

Leon Heller <leon.heller@...> wrote:  ----- Original Message ----- 
Show quoted textHide quoted text
From: "jk jlkj" <njad2002@...>
To: <lpc2000@yahoogroups.com>
Sent: Monday, March 27, 2006 5:38 AM
Subject: Re: [lpc2000] JTAG problem


> Hi,
>
>  I am using IAR Ver 4.31A.
>  This board used to work fine on the IAR Ver 4.30A.
>  I have checked the Flash programming through Serial port using LPC2000 
> Flash utility, and it seems to be working fine. Can it happen that just 
> the JTAG of the LPC is not working, while everything else is functioning 
> properly.

Could be. I repaired a board for someone who had a similar problem by 
replacing the LPC2106. The JTAG inputs could be damaged if the adapter is 
connected with the power on, I always try to remember to disconnect it from 
the power supply when connecting the JTAG.

Leon 


    
---------------------------------
  YAHOO! GROUPS LINKS 

    
    Visit your group "lpc2000" on the web.
    
    To unsubscribe from this group, send an email to:
 lpc2000-unsubscribe@yahoogroups.com
    
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

    
---------------------------------
  



				
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

[Non-text portions of this message have been removed]

Re: JTAG problem

2006-03-27 by Jerome

Hi Gus,

I am interested in writing some code for the JTAG, but i do not know 
the hardware configuration to use. Can i use the USB JLink IAR JTAG 
that i have, or i will have to use a JTAG on the parallel port. 

If possible then please tell me something about ur project hardware 
and some idea of how i can go about writing some code for the JTAG.

Regards,
Jerome

--- In lpc2000@yahoogroups.com, "Gus" <gus_is_working@...> wrote:
>
> Hello,
> 
> I am writing my own code to do JATG on LPC chips. In Shift-IR 
state, I 
> am able to select any one of the JTAG commands and I get back 0001 
as 
> the ARM manual says. IDCODE and BYPASS work just fine when I 
> read/write data in Shift-DR state.
> 
> Now, When I want to select a chain using SCAN_N command, I get 
0001 in 
> Shift-IR state as the manual says but in the Shift-DR state I do 
not 
Show quoted textHide quoted text
> get back 1000!
> 
> Is there anything I should do before SCAN_N?
> Is anyone able to write SCAN_N Shift-DR and got back 1000?
> 
> Thanks,
> 
> Gus
>

Re: [lpc2000] JTAG problem

2006-03-27 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "jk jlkj" <njad2002@...>
To: <lpc2000@yahoogroups.com>
Sent: Monday, March 27, 2006 7:20 AM
Subject: Re: [lpc2000] JTAG problem


> Is there any method to identify whether the JTAG inputs of LPC have been 
> damaged.

Please don't 'top-post'!

You could write a little program that configures them as inputs, and outputs 
them to another few bits. Load the program using the RS-232 boot facility 
and test the inputs by tying them high and low at the JTAG connector, whilst 
monitoring the outputs. That should work. I didn't bother and just removed 
the chip with some ChipQuik and replaced it - it took me about 30 minutes.

Leon
--
Leon Heller, G1HSM
leon.heller@...
http://www.geocities.com/leon_heller

Re: JTAG problem

2006-03-27 by Gerrit de Waard

Hello,
I suggest erasing the device with Philips Flash Utility..
Probably you've by exident disabled the JTAG...

Gerrit

--- In lpc2000@yahoogroups.com, "Leon Heller" <leon.heller@...> wrote:
>
> ----- Original Message ----- 
> From: "jk jlkj" <njad2002@...>
> To: <lpc2000@yahoogroups.com>
> Sent: Monday, March 27, 2006 7:20 AM
> Subject: Re: [lpc2000] JTAG problem
> 
> 
> > Is there any method to identify whether the JTAG inputs of LPC 
have been 
> > damaged.
> 
> Please don't 'top-post'!
> 
> You could write a little program that configures them as inputs, 
and outputs 
> them to another few bits. Load the program using the RS-232 boot 
facility 
> and test the inputs by tying them high and low at the JTAG 
connector, whilst 
> monitoring the outputs. That should work. I didn't bother and just 
removed 
> the chip with some ChipQuik and replaced it - it took me about 30 
minutes.
Show quoted textHide quoted text
> 
> Leon
> --
> Leon Heller, G1HSM
> leon.heller@...
> http://www.geocities.com/leon_heller
>

Re: [lpc2000] JTAG problem

2006-03-27 by jk jlkj

Leon Heller <leon.heller@...> wrote:    ----- Original Message ----- 
Show quoted textHide quoted text
From: "jk jlkj" <njad2002@...>
To: <lpc2000@yahoogroups.com>
Sent: Monday, March 27, 2006 7:20 AM
Subject: Re: [lpc2000] JTAG problem


> Is there any method to identify whether the JTAG inputs of LPC have been 
> damaged.

Please don't 'top-post'!

You could write a little program that configures them as inputs, and outputs 
them to another few bits. Load the program using the RS-232 boot facility 
and test the inputs by tying them high and low at the JTAG connector, whilst 
monitoring the outputs. That should work. I didn't bother and just removed 
the chip with some ChipQuik and replaced it - it took me about 30 minutes.
   
  Thanks Leon. What should i do exactly? I am using LPC2214, and here the GPIO and JTAG share the same pins. I would like to know whether it would be sufficient to test the GPIO functionality to ascertain whether JTAG is working.
   
  OR
   
  Should i configure the pins to be used as JTAG and then program the pins hign and low.
   
  Regards,
  Jerome
   
   
   
   
   
   
  


				
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

[Non-text portions of this message have been removed]

Re: [lpc2000] JTAG problem

2006-03-27 by Leon Heller

----- Original Message ----- 
Show quoted textHide quoted text
From: "jk jlkj" <njad2002@...>
To: <lpc2000@yahoogroups.com>
Sent: Monday, March 27, 2006 12:07 PM
Subject: Re: [lpc2000] JTAG problem


>
>
> Leon Heller <leon.heller@...> wrote:    ----- Original 
> Message ----- 
> From: "jk jlkj" <njad2002@...>
> To: <lpc2000@yahoogroups.com>
> Sent: Monday, March 27, 2006 7:20 AM
> Subject: Re: [lpc2000] JTAG problem
>
>
>> Is there any method to identify whether the JTAG inputs of LPC have been
>> damaged.
>
> Please don't 'top-post'!
>
> You could write a little program that configures them as inputs, and 
> outputs
> them to another few bits. Load the program using the RS-232 boot facility
> and test the inputs by tying them high and low at the JTAG connector, 
> whilst
> monitoring the outputs. That should work. I didn't bother and just removed
> the chip with some ChipQuik and replaced it - it took me about 30 minutes.
>
>  Thanks Leon. What should i do exactly? I am using LPC2214, and here the 
> GPIO and JTAG share the same pins. I would like to know whether it would 
> be sufficient to test the GPIO functionality to ascertain whether JTAG is 
> working.
>
>  OR
>
>  Should i configure the pins to be used as JTAG and then program the pins 
> hign and low.


The former, I'm not sure if the latter will work.

Leon
--
Leon Heller, G1HSM
leon.heller@...
http://www.geocities.com/leon_heller

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.