Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] can't get printf() to print on UART0 with GNU

2005-02-28 by Anton Erasmus

On 26 Feb 2005 at 23:58, Robert Adsett wrote:

> 
> At 07:37 PM 2/25/05 +0200, Anton Erasmus wrote:
> >Murphy strikes again :-(  - I tried the same thing on my home machine
> >as I did at work, and of course now I do not get the same thing. I
> >have an older version of cygwin installed at work, but otherwise
> >everything is the same. I have only compiled the examples at home -
> >direct link as well as linking with the library. I haven't tried
> >executing the examples. Example  test10 executes correctly when
> >linking directly with the library object files, but when linked
> >agains the library (No errors reported), the example does not execute
> >correctly. (No serial output). I will try the hex files I compiled at
> >home  on monday to see if both version work.
> 
> 
> I appreciate the effort Anton.

I have tested the two versions of the test10 example on my board. The
version directly linked with the object files runs correctly while the version
linked with the generated library does not. Using the -t option on the linker, it
does not appear to be a problem with not linking in all the code. I currently do
not have a JTAG debugger, so it is a bit difficult to see why the version linked
with the library does not work. 
I can e-mail the hex files plus anything else you thing might help if you are interested.

Regards
   Anton Erasmus

-- 
A J Erasmus

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.