This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

putchar uses LPC21xx address for ADUC7026

Hello to all.
I have this EVAL-ADUC7026 Board from Analog Devices. Now i have a problem with the "hello world" Example:
The ADUC7026 enters the Abort-Mode.
I debuged it: The printf-function seems to use a putchar-function. There is a wrong address in C:\keil\arm\lib\putchar.c
The Adress is 0xE0010014 (a LPC21xx address)
So the ADUC7026 is in abort-mode.
How can i work around.
SOS HELP SOS
Thanks in advice

Parents
  • I have no idea how to find it in the IDE, I do not use it,but I can tell you how to do it.

    Background:
    When the linker has linked all "directly addressed" .obj files, it will start hunting through the libraries "it is told about" for any unresolved external. The moment if finds it it will link that part of the library in.


    Solution:
    If you get the linker to find your putchar routine before the standard putchar, your routine will "win".

    Erik

Reply
  • I have no idea how to find it in the IDE, I do not use it,but I can tell you how to do it.

    Background:
    When the linker has linked all "directly addressed" .obj files, it will start hunting through the libraries "it is told about" for any unresolved external. The moment if finds it it will link that part of the library in.


    Solution:
    If you get the linker to find your putchar routine before the standard putchar, your routine will "win".

    Erik

Children
No data