Renesas Evaluation Boards User Forum
[ Post a Response | Renesas Evaluation Boards User Forum ]
Re: H8EVB2357F please help, typical stand alone settings
Posted by Ralph Eberle on October 23, 2002, 6:41:18
: Hi there,
: its my first H8S2357F project. It
: works well in debug mode, but I
: have problems in finding out the
: right segmentation/linker settings
: for stand-alone code.
: Can anybody send me his typical
: settings or is there any app note
: how to setup the linker? (mode 6,
: HEW & IAR toolchain)
: please help, thanks Ralph
I found it for myself:
If external RAM is used, CPU/IO init must be done BEFORE Segement init (startup.s37)
The best way is to do it in lowinit.c:
/* hardware init, done by IAR MakeApp */
/* shadow vector table for debug mode, dont use the area H'200000+92bytes in your stand-alone code */
for (c=0; c<92; c++)
(*(volatile unsigned char *)(0x200000L+(unsigned long)(c*4))) = (unsigned char)0x5a;
Evaluation Kit SupportHosted for FREE by Boardhost.
Renesas Evaluation Boards are intended for evaluation of Renesas microprocessors only, not as development tools.
Create your own free message board!