Posted by Ralph Eberle --Previous Message-- /* hardware init, done by IAR MakeApp */ for (c=0; c<92; c++)
![]()
on October 23, 2002, 6:41:18
62.225.145.99
: 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:
MA_Init_CPU ();
MA_Init_WDT();
MA_Init_IO();
MA_Init_INT();
/* shadow vector table for debug mode, dont use the area H'200000+92bytes in your stand-alone code */
{
(*(volatile unsigned char *)(0x200000L+(unsigned long)(c*4))) = (unsigned char)0x5a;
}
Message Thread ![]()
« Back to index
Evaluation Kit Support
Renesas Evaluation Boards are intended for evaluation of Renesas microprocessors only, not as development tools.