This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
entry point main()
- From: "Ali Rodgo" <alirodgo at web dot de>
- To: "eCosDiscussion" <ecos-discuss at ecos dot sourceware dot org>
- Cc: "GaryThomas" <gary at mlbassoc dot com>
- Date: Tue, 17 Feb 2004 17:45:27 +0100
- Subject: [ECOS] entry point main()
- Organization: http://freemail.web.de/
Hello,
I have made an eCos llibrary with the posix package option as default and after that I have added the serial device driver since i need to open and read for the /dev/ser1 of the AT91EB40A board. The problem is that the program doesn't entry in the function main() sometimes, sometimes yes but hangs up later.
But if i make an Ecos library with the default package option and run the examples, these work good.
For example:
include.....
int main(void)
{
int fd;
fd=open("dev/ser1"..........)
...
return 0;
}
I compile the program and no error.
something wrong?I am using Redboot on flash and insight for debugging
I appreciate any kind of help.
______________________________________________________________________________
Ein Grund zum Feiern: Die PC Praxis ermittelt zwischen 10 grossen
Mailprovidern WEB.DE FreeMail als Testsieger http://f.web.de/?mc=021190
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss