Questions tagged [ecos]

A small-footprint real-time operating system intended for use in embedded systems across multiple architectures.

About eCos

eCos, the Embedded Configurable Operating System, is a small-footprint real-time OS which targets embedded devices. It has been designed to be straightforward to port to new boards, CPUs and architectures; many such ports exist.

eCos was originally developed by Cygnus Solutions, which was bought by Red Hat. In 2002, Red Hat abandoned the project and later transferred copyright to the FSF. However (as of 2011) the community is still very much alive and a number of the original developers still play an active part. There is also a commercial fork named eCosPro which is maintained and supported by eCosCentric Limited.

Questions for the eCos tag

Questions that might be suitable for this tag might involve the development of application software to run on eCos, the development and maintenance of eCos packages, and new ports. Many such questions will probably also be suitable for the C or C++ tag. Other questions might solicit comparisons between eCos and other RTOSes, or factors surrounding the choice of platform for a project where eCos is a prime contender.

Whilst many questions will be specific to a particular project, their general principles may be of wider interest and it is these that make good questions. As usual on StackOverflow, please help us to help you - ask smart questions, show us what you've already tried and how it went wrong.

Please note that there is not a great deal of eCos-specific knowledge on StackOverflow; if you have no luck here, you may wish to try the ecos-discuss mailing list on sourceware (linked from the project page). Alternatively, users who have a commercial support agreement in place should generally use the support facilities provided via that contract - particularly when the question relates to features not found in the public eCos tree.

Further reading

27 questions
14
votes
1 answer

GDB remote protocol: how to analyse packets?

I have: A proprietary prototype ARM board (Cortex-M3 based) with eCos OS The board has the programmed RedBoot bootloader Serial line (RS-232) GDB debugger for ARM (arm-eabi-gdb) Host OS is Windows/Cygwin and/or Linux (actually, doesn't…
krokoziabla
  • 695
  • 1
  • 6
  • 21
10
votes
3 answers

GCC MIPS-32 Calling Conventions / Stack Frame Definition

There appears to be no definitive standardized stack frame and C language calling conventions (register usage and such) for the MIPS-32 Processor Architecture. That is, it appears to be completely up to the assembler/compiler tool chain to define…
Tall Jeff
  • 9,834
  • 7
  • 44
  • 61
10
votes
3 answers

Embedded Linux or eCos?

One way to look at it - embedded Linux starts with desktop Linux & ditches the parts not needed for embedded systems (is this actually true?), whereas eCos is designed from the ground up for embedded systems. Now, assume an ARM processor, probably…
Mawg says reinstate Monica
  • 38,334
  • 103
  • 306
  • 551
6
votes
1 answer

Using gdb to inspect "non-current" thread on eCos mips target

I have a MIPS target running eCos, which uses several thread. For debugging I'm using gdb 7.5 and a JTAG probe. How can I from GDB inspect and back trace a non-current thread. I do have the base thread address, and the program counter from the…
Allan
  • 4,562
  • 8
  • 38
  • 59
5
votes
1 answer

Seeking (reasonably priced) eCos development board

I heard about eCos and it looks like it would be fun to play about with as a hobby project. Can anyone recommend a reasonably priced development board.If it doesn't add too much to the cost, I'd like to have a few buttons to press (and detect the…
Mawg says reinstate Monica
  • 38,334
  • 103
  • 306
  • 551
4
votes
1 answer

Does fgets() locks stdout preventing printf

I have a C program with two threads one of those threads is almost all the time blocked in a fgets() waiting for user input. The second thread may need to print to the terminal while the first one is blocked on fgets(). From my tests it seems that…
Sebastião
  • 160
  • 13
4
votes
0 answers

getaddrinfo and gethostbyname hangs the system

I am working on an eCos project and I have a big problem. For some reason getaddrinfo and gethostbyname seem to hang the whole system from time to time in the production environment. I have read that this is also an issue in linux if the DNS does…
www.jensolsson.se
  • 3,023
  • 2
  • 35
  • 65
3
votes
1 answer

pip install ecos errors with "Microsoft Visual C++ 14.0 is required."

I am trying to install the fancyimpute in my anaconda using pip install. but the error shows fail to install the ecos due to " Microsoft Visual C++ 14.0 is required." the link provided is expired. Does anyone know how to fix this? Thank you! (py36)…
Pumpkin C
  • 1,452
  • 6
  • 21
  • 27
3
votes
1 answer

Bad MAC after porting OpenSSL 1.0.2 to ECOS

We have a OpenSSL running on our embedded system, which is running ECOS OS. We are now upgrading our OpenSSL to 1.0.2 version. We have successfully ported and compiled the OpenSSL library. But when when we try to connect our device using SSL (via…
2
votes
2 answers

What kernel type does the RTOS eCos use?

From my research I cannot find what kernel type is being used in eCos, such as monolithic or micro-kernel. All I could find from my research is that the kernel is a real-time one or websites just describe it as the eCos kernel, does this mean it is…
Jordan
  • 119
  • 1
  • 1
  • 12
2
votes
0 answers

Why would this call to sscanf() match one argument too many?

We use the sscanf() function under the eCos operating system to parse a command-line command provided by the user. We have code that essentially does this: char[20] arg1 = ""; float arg2; char[20] arg3 = ""; int n = sscanf(buffer + offset, "%4s %f…
lindelof
  • 34,556
  • 31
  • 99
  • 140
2
votes
1 answer

Handle unaligned write in ecos when writed double precision floating point

I'm writing program in C language for mipsisa32 architecture that works with ECOS operating system. This is the first time I'm working with ecos and mips, and I get strange problem. I use dynamically allocated chunk of memory and I write some data…
Marko
  • 1,267
  • 1
  • 16
  • 25
1
vote
0 answers

Does CVXPY (with the ECOS solver) require to scale the decision variables?

I am new to CVXPY and I am not an optimization expert, so please be patient with me. I am trying to solve a very standard problem, i.e., the (ordinary) least squares problem, in CVXPY using the solver ECOS. I am aware that there are very specialized…
1
vote
1 answer

Problem building ECOS for "Linux Synthetic" target

I'm trying to building Synthetic Linux target with ECOS. My software environment: Ubuntu 11.4 GCC 4.5.2 ECOS 3.0 In the Config Tool I have set up "Linux Sythetic" target with "all" packages. Pressing F7 (build) the compilation starts, but later…
ern0
  • 3,074
  • 25
  • 40
1
vote
1 answer

Stop all threads in ecos and run main

I have the following problem: I use ecos for my micro controller and I start multiple threads with 'cyg_scheduler_start();'. Now I want to stop them, no problem with 'cyg_thread_exit()'. But if I stop the last Task, the micro controller doesn't…
chris
  • 125
  • 13
1
2