public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] eCOS on MPC5567 - printf()
@ 2007-08-09  8:22 Alexander Bochem
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Bochem @ 2007-08-09  8:22 UTC (permalink / raw)
  To: ecos-discuss

Hi @all,

I have several problems using eCOS on a developmentboard with an
PPC5567. (Pre Qualification of MPC5567)
I am developing under WinXP using Cygwin and the eCOS Configuration
Tool 2. For flashing and debugging I have "TRACE32 ICE PPC Ethernet on
Host".
Till now I managed to compile a simple program and load it into ROM.
It can only send "Hello World" via serial port to my host using
cyg_io_write().

When I use the printf() method it causes the error "entry near offset"
during the flash procedure. Using Dump to get a picture of the memory
where it occurs I can only see lots of "?????".
If I remove printf() from my sample programm, it is running well.
I also tried to write my own printf() wich uses the method
cyg_io_write() but this can't be the true way to working with eCOS.
In my eCOS build I changed standard IO to /dev/ser1 but that also
seems not to work.

Maybe my compiler for the powerpc-eabispe architecture is to old? Or
my eCOS configuration is incorrect?

If someone had already worked with eCOS on MPC5567 he or she can send
me the eCOS configuration file?

Thanks for your time.
   Alex

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ECOS] eCOS on MPC5567 - printf()
@ 2007-08-09 13:22 Alexander Bochem
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Bochem @ 2007-08-09 13:22 UTC (permalink / raw)
  To: ecos-discuss

Hi @all,

the problem was that the version of the debugger that I am using was
to old. The debugger was not able to understand the debug-symbols
which were send during flashing-process.
A simple update to the current version of Trace32-debugger for ppc5500
architecture can fix it.

Now I can use printf but it is the same result as using sprintf
before. I don't get the output on serial port. It seems the MPC does
write the output to a unknown space in memory instead of sending it.

cu
  Alex

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-09 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-09  8:22 [ECOS] eCOS on MPC5567 - printf() Alexander Bochem
2007-08-09 13:22 Alexander Bochem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).