[ECOS] printf does not work in user mode on Arm E7T
Wed Mar 26 16:43:00 GMT 2003
Thomas BINDER wrote:
> My guess is that you have thread safety (option CYGSEM_LIBC_STDIO_THREAD_SAFE_STREAMS) enabled, in which case printf, sprintf, fprintf use a Cyg_Mutex object for synchronization (via Cyg_StdioStream, c.f. http://sources.redhat.com/ml/ecos-discuss/2003-03/msg00194.html). Have you set up your MMU such that access to kernel objects is not allowed in user mode?
He said he was using newlib libc, not eCos libc. This isn't an eCos
application - the relevant bit is the use of RedBoot only.
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
More information about the Newlib