
As long as thecomplete Nut/OS code, which uses a lot of indirect calls and jumps.is in the lower half and your application doesn't use indirectjumps, it may work. Nevertheless, several limits apply.It is unknown, if code sizes above 128 kBytes are supported.Īt thetime of this writing, the ImageCraft Compiler doesn't supportindirect jumps to the upper half of Flash Memory. We succeeded to compile and run severalsamples on an Ethernut 2.1 Board, where the ATmega128 had been replacedby an ATmega2561.

Please check the chapter 'Solving Problems' below.ATmega2561 ConsiderationsThis part is still experimental. In thefollowing text we will use x.y.z, which should be replaced by theNut/OS Version you installed.AVR Studio 4.12 RC3 or later, available from.We tested Nut/OS release 4.6 and 4.8 with ImageCraft V7.19 and experiencedseveral problems.

The demoversion may not work, because the sample server presented here maynot fit into 64k Flash.Nut/OS Version 4.2.1 or any later version, available. If you want to compilefor the ATmega2561, then get the ICCAVR 7.05BETA2 or later.

Note, that the SP-Duoprogrammer, which comes with the Ethernut 2.1 Starter Kit, is no JTAG ICEand thus can't be used for debugging.Anyway, even without the costly JTAG ICE you can still run TCP/IP applicationsand simply use the serial port to print debug messages.Software PrerequisitesYou need to download the following software tools.ImageCraft ICCV7 AVR Version 7.03C or later. This is explained in detail in theEthernut boards version 2.1 support JTAG only. Instructions about how to connectthis adapter are available.Ethernut boards version 2.0 offer a jumper to switch the programmingconnector between JTAG and ISP. If you own an Ethernut 1.3 Rev-F or similar board withan ATmega128, you can use the adapter cable, that is included in Atmel'sAVR JTAG ICE package.

This part can be purchased fromyou local Atmel distributor.With these tools you can debug an applications directly on the target hardware.The JTAG ICE can't be used with old ATmega103 based boards, because this CPUhas no JTAG interface. Using ImageCraft AVRThis page will show you step by step, how to use the ImageCraftDevelopment Environment to build and debug a webserver sample.An overview of all samples included in the Nut/OS distribution isavailable.Hardware PrerequisitesYou need the following hardware tools for ICE Debugging.A PC running Windows.An Ethernut Board with an ATmega128 or ATmega2561 CPU and a JTAG connector, eitheror.AnIn-Circuit Emulator.
