Discussion group dedicated to the Philips LPC2000 family of ARM MCUs
CrossStudio and OpenOCD JTAG - tomi - Aug 14 9:46:35 2008
I'm trying to use OpenOCD JTAG under CrossStudio but without efects.
This is OpenOCD JTAG project:
http://www.joernonline.de/dw/doku.php?id=projects:oocdlink:2_oocdlinks
Schematic: http://tinyurl.com/68qkag
ADBUS0 -> TCK;
ADBUS1 -> TDI;
ADBUS2 -> TDO;
ADBUS3 -> TMS;
ADBUS6 -> 1 if target present
ADBUS7 -> SRST in;
ACBUS0 -> TRST buffer enable;
ACBUS1 -> TRST;
ACBUS2 -> SRST buffer enable;
ACBUS3 -> SRST;
BCBUS2 -> LED
BCBUS3 -> LED
In CrossStudio "Generic FT2232 Device" I have
nSRST Inversion Mask 0x0200
nSRST Mask = 0x0200
nTRST Inversion Mask = 0x0000
nTRST Mask - 0x0400
Output Pins = 0x0F1B
Output Value = 0x0408
PID: 0xBAF8
VID: 0x15BA
Is this correct values ?
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: CrossStudio and OpenOCD JTAG - Leon - Aug 14 10:23:41 2008
----- Original Message -----
From: "tomi"
To:
Sent: Thursday, August 14, 2008 2:45 PM
Subject: [lpc2000] CrossStudio and OpenOCD JTAG
> I'm trying to use OpenOCD JTAG under CrossStudio but without efects.
Is it actually supported by CrossWorks? It isn't in the list of targets.
Leon
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: CrossStudio and OpenOCD JTAG - tomi - Aug 14 11:17:40 2008
> I'm trying to use OpenOCD JTAG under CrossStudio but without efects.
Is it actually supported by CrossWorks? It isn't in the list of targets.
>
It should work, you can add "Generic FTD2232" target interface in
CrossStudio, but I can't configure it.
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: CrossStudio and OpenOCD JTAG - Leon - Aug 14 11:44:35 2008
----- Original Message -----
From: "tomi"
To:
Sent: Thursday, August 14, 2008 4:17 PM
Subject: Re: [lpc2000] CrossStudio and OpenOCD JTAG
> Is it actually supported by CrossWorks? It isn't in the list of targets.
> It should work, you can add "Generic FTD2232" target interface in
> CrossStudio, but I can't configure it.
Does it work with OpenOCD?
Leon
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: CrossStudio and OpenOCD JTAG - tomi - Aug 14 12:02:24 2008
2008/8/14 Leon
> ----- Original Message -----
> From: "tomi" >
> To: >
> Sent: Thursday, August 14, 2008 4:17 PM
> Subject: Re: [lpc2000] CrossStudio and OpenOCD JTAG
>
> > Is it actually supported by CrossWorks? It isn't in the list of targets.
> > It should work, you can add "Generic FTD2232" target interface in
> > CrossStudio, but I can't configure it.
>
> Does it work with OpenOCD?
>
> .
>
"The Generic FT2232 device target interface provides access to ARM targets
via target interfaces based on the FTDI Chip FT2232 dual USB UART/FIFO IC"
http://www.rowley.co.uk/documentation/arm_1_7/index.htm?http://www.rowley.co.uk/documentation/arm_1_7/arm_ft2232_target_interface.htm
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: CrossStudio and OpenOCD JTAG - Leon - Aug 14 12:35:10 2008
----- Original Message -----
From: "tomi"
To:
Sent: Thursday, August 14, 2008 5:02 PM
Subject: Re: [lpc2000] CrossStudio and OpenOCD JTAG
> 2008/8/14 Leon > ----- Original Message -----
>> From: "tomi" >
>> To: >
>> Sent: Thursday, August 14, 2008 4:17 PM
>> Subject: Re: [lpc2000] CrossStudio and OpenOCD JTAG
>>
>> > Is it actually supported by CrossWorks? It isn't in the list of
>> > targets.
>> > It should work, you can add "Generic FTD2232" target interface in
>> > CrossStudio, but I can't configure it.
>>
>> Does it work with OpenOCD?
>>
>> .
>>
> "The Generic FT2232 device target interface provides access to ARM targets
> via target interfaces based on the FTDI Chip FT2232 dual USB UART/FIFO IC"
>
>
http://www.rowley.co.uk/documentation/arm_1_7/index.htm?http://www.rowley.co.uk/documentation/arm_1_7/arm_ft2232_target_interface.htm
Do you know that the interface actually works? That's why I asked if it
works with OpenOCD.
Leon
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: CrossStudio and OpenOCD JTAG - tomi - Aug 31 16:33:22 2008
>> Subject: Re: [lpc2000] CrossStudio and OpenOCD JTAG
>>
>> > Is it actually supported by CrossWorks? It isn't in the list of
>> > targets.
>> > It should work, you can add "Generic FTD2232" target interface in
>> > CrossStudio, but I can't configure it.
>>
>> Does it work with OpenOCD?
>>
>> .
>>
> "The Generic FT2232 device target interface provides access to ARM targets
> via target interfaces based on the FTDI Chip FT2232 dual USB UART/FIFO IC"
http://www.rowley.co.uk/documentation/arm_1_7/index.htm?http://www.rowley.co.uk/documentation/arm_1_7/arm_ft2232_target_interface.htm
Do you know that the interface actually works? That's why I asked if it
> works with OpenOCD.
>
I have still problem with this JTAG. JTAG works corecly, but with
CrossStudio can't connect. I see "Cannot identify target".
Channel A
ADBUS0 -> TCK;
ADBUS1 -> TDI;
ADBUS2 -> TDO;
ADBUS3 -> TMS;
ADBUS4 ->
ADBUS5 ->
ADBUS6 -> 1 if target present
ADBUS7 -> SRST in;
ACBUS0 -> TRST buffer enable;
ACBUS1 -> TRST;
ACBUS2 -> SRST buffer enable;
ACBUS3 -> SRST;
Channel B
BCBUS2 -> LED
BCBUS3 -> LED
My configuration is:
Output Pins 0x0F0F
Output Value 0x0000
nSRST Mask 0x0800 = ACBUS1 ?
nTRST Mask 0x0200 = ACBUS3 ?
All other are set to 0x0000.
What is wrong ?
How to set mask for led pins on channel B ?
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )