[En-Nut-Discussion] Debugging and ports

Harald Kipp harald.kipp at egnite.de
Mon Mar 31 20:53:29 CEST 2008


Wiegelmann wrote:

> 1. I got the egnite turtelizer but I can't install it because the original ftdi driver "CDM 2.04.06 WHQL Certified.zip" says: "Hardwareinstallation not possible" German: "Hardwareinstallation nicht möglich" 

The driver for Turtelizer 2 is included in the OpenOCD package.
http://www.yagarto.de/index.html

Did you read
http://www.ethernut.de/en/hardware/enut3/openocd.html
?

> arm-elf-gcc -c -mcpu=arm7tdmi -Os -gdwarf-2 

Use -O0 for debugging. Not sure if that solves all your problems, but 
probably some.

> But there is no JP9 in the manual, only JP1, JP4, JP5. I think, that it is probably an error and JP9 is JP5. It is right?

You are right and the website is wrong.


> 4. Is it possible to compile the NutOs with size optimization, without getting runtime errors or special behaviour? 

Yes, this is the default here. However, for debugging you need to switch 
to -O0 (as far as I can say).

> Many thanks for answering the questions.

You're welcome.

Harald




More information about the En-Nut-Discussion mailing list