[En-Nut-Discussion] anyone using SAM7S32?

Bernd Walter enut at cicely.de
Wed Jul 29 01:13:38 CEST 2009


On Wed, Jul 29, 2009 at 12:39:30AM +0200, Adam Dybkowski wrote:
> Bernd Walter wrote:
> 
> >>>> Just tried to run ethernut the first time on a SAM7S controller.
> >>>> My main function doesn't get excecuted it seems, so it looks to be
> >>>> something in Ethernut startup.
> >>>> I'd used the included st91sam7s32_rom.ld.
> >>> [...]
> 
> > It hangs somewhere in crtat91sam7sex_rom.S.
> > I have 3 active high LED available.

Forget it - this one was my fault.
I overwrote r1 with my LED code, which is the PMC_BASE.
It is passing PLL setup just fine.

> Have you tried to link and load program into RAM? Then debug it
> step-by-step by JTAG. Atmel has complicated JTAG debugging of software
> written in AT91SAM7Sxx Flash memory (only one hardware breakpoint usable
> in gcc) - that's why it's easier to load it in RAM.

I can't load 18k programm code into 8k RAM.
The board has no JTAG anyway.

-- 
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



More information about the En-Nut-Discussion mailing list