Sorry, you need to enable JavaScript to visit this website.

Zedboard and ARM DS-5

Unsolved
5 posts / 0 new
jan.holfeld's picture
jan.holfeld
Junior(0)
Zedboard and ARM DS-5

Hi everybody,

I program bare-metal applications on the Zedboard with the Xilinx SDK. But now, I wanted to program the ARM processor on the Zedboard out of the ARM Development Suite 5.
But I don't find any information, how I can program the processor on the Zedboard out of ARM DS-5 over the Onboard USB-JTAG adapter.

If anyone of you has any experience with that, it would be glad if he could help me, or give me a hint, how I can do this.

Best regards
Jan

zedhed's picture
zedhed
Moderator(22)
RE: Zedboard and ARM DS-5

Hi jan.holfeld,

Currently, the ARM DS-5 tools do not support the ZedBoard USB-JTAG adapter as a cable option to connect to the ARM DAP.

We do currently have a means to connect a 3rd party debugger cable to ZedBoard through the use of the Avnet ZedBoard Debug Adapter.

http://www.em.avnet.com/zeddebugadapter

Using this debug adapter, you can attach the 20-pin ARM DSTREAM cable to the ZedBoard 14-pin PC4 header at J15. This provides the electrical connection for the DSTREAM to connect to the ARM DAP on the ZedBoard Z7020 device.

Although this adapter accessory should be compatible with other 3rd party ARM debug adapters which provide the traditional 20-pin ARM cable, there is currently only support for the DSTREAM option.

Regards,

-Kevin

jan.holfeld's picture
jan.holfeld
Junior(0)
RE: Connection of external Debugger

Hi Kevin,

thank you for your reply.
I have borrowed a Lauterbach ARM Debugger from a colleague, but when I connect the 4 JTAG-Connections (TMS,TCK,TDO,TDI) and Ground and Vcc, the Debugger tells me, that the Board is still powered off.

Do you know, which connection I have forgotten?

Or can you give me the connections of this adapter?

I would buy it, but I should not by to much hardware without any results, so I would like to test it first.

Regards
Jan

zedhed's picture
zedhed
Moderator(22)
RE: Connection of external Debugger

Hi Jan,

Just to follow up on this, for those of you trying to create your own adapter, some ARM debugger tools require the ability to 'see' the processor come out of reset.

To do this, tools will monitor the state of processor reset and so a connection is required between pin 15 (nRST) of the 20-pin ARM cable and pin 14 (PROG-RST) of ZedBoard J15 is required. Also, be sure to place a jumper at JP13 so that PROG-RST is connected to the Zynq PS-RST input.

Having the reset connected also allows the debugger tools to reset the processor via PS-RST instead of doing this through the JTAG chain.

As for the remainder of the connections, one thing to keep in mind to check is the TDI to TDI and TDO to TDO as some 3rd party tools tend to cross these signals for some reason. One sure fire method is to simply map the pin numbers from the ARM 20-pin cable format to the Xilinx 14-pin PC4 cable format. Here is the map from 20-pin connector to 14-pin connector that we use which works with the ARM DSTREAM.

1) ARM pin 1 tied directly to 3.3V which is available as ZedBoard J15 pin 2.
2) ARM 4,6,8,10,12,14,16,18,20 tied directly to GND which is available on ZedBoard J15 pins 1,3,5,7,9,11,13.
3) ARM pin 5 is connected to the same ZedBoard signal as J15 pin 10.
4) ARM pin 7 is connected to the same ZedBoard signal as J15 pin 4.
5) ARM pin 9 is connected to the same ZedBoard signal as J15 pin 6.
6) ARM pin 13 is connected to the same ZedBoard signal as J15 pin 8.

You should be able to get the same information from the adapter schematic but I just noticed that the schematic has not been posted to our DRC yet. I will look into this, it should get posted in just a few more days.

Regards,

-Kevin

zedhed's picture
zedhed
Moderator(22)
RE: Connection of external Debugger

As an update to this, it looks like the schematics, PCB artwork, and BOM documents are now posted on our Design Resource Center under the "Support Files & Downloads" link of the ZedBoard Processor Debug Adapter product page found here:

http://www.em.avnet.com/zeddebugadapter

We are working on some tutorial material that will be posted in the near future so stay tuned...

Regards,

-Kevin