[En-Nut-Discussion] Test if Turtelizer2 is working properly...

Harald Kipp harald.kipp at egnite.de
Thu Mar 17 13:53:32 CET 2011


Hi Paul,

On 3/16/2011 1:42 PM, Paul Govers wrote:

> I tried to program the CPLD on my ethernut3.1 board but now my board
> don't do anything anymore.

You are lucky. Recently I created a new tool. :-)


> I have tried to connect the Turtelizer2 to my ethernut board and connect
> a RS232 cable from my Turtelizer2 to my PC com1 and execute the command
> "jtagomat -v HALT"

The RS232 interface provides a virtual COM port for the PC, it is not 
intended to control Turtelizer 2. This is done via USB.

JTAG-O-MAT is quite special. I'd recommend using OpenOCD.

This page is up-to-date:
http://www.ethernut.de/en/hardware/enut3/openocd.html

Now the new tool: Go to

http://www.ethernut.de/arc/?C=M;O=D

and download ethernut31d-cpld.zip. This contains ftdixsvf.exe 
(unfortunately Win32 only). This allows to directly transfer an XSVF via 
Turtelizer into the CPLD, e.g.

ftdixsvf npl31d-expmem.xsvf

It requires, that you at least installed ftdi-turtelizer2.zip from

http://www.ethernut.de/en/download/

and that you set jumper JP5 to CPLD JTAG mode. See

http://www.ethernut.de/pdf/ethwm31d.pdf

on page 12, second picture.

The program ftdixsvf talks directly to the Turtelizer's USB interface, 
OpenOCD is not required and shall not run.

Hope this helps,

Harald

P.S.: Beside that, it should still work to upload the XSVF-Executor into 
Ethernut's RAM, but you should use OpenOCD, not JTAG-O-MAT. (Yeah, I 
know, there are several outdated pages claiming the opposite. Sorry for 
the confusion.)



More information about the En-Nut-Discussion mailing list