Hi folks,
>
> I'm debugging a board I designed. The features are:
>
> Micro: M32C/83 Renesas (512 kByte internal flash)
> RAM: 512 kByte (external)
>
>I modified the startup file in order to have the compiler
>allocate C variables into the external RAM.
>I tested the external RAM and it works fine.
>
>The problem I got is the following:
>
> 1. I pass a function a pointer to linear buffer
> containing some chars to be transimitted over
> the UART1.
>
> 2. If I print out the content of the linear buffer
> from within the function I just called I got
> junk chars.
>
> 3. If I print out the content of the linear buffer
> before calling the function I go no problems.
>
>
>It seems like the pointer points to a wrong address.
>
>Am I missing something?
Sounds like you are messing with near / far declarations? How about turning on mixed mode in debugger and check what the compiler generates?
Markus