EmbeddedRelated.com
The 2024 Embedded Online Conference

Has this wheel already been invented?

Started by Jack Klein in comp.arch.embedded16 years ago 58 replies

There are all sorts of preemptive kernels, RTOS's, frameworks, out there, open source and commercial. There are priority-driven preemptive...

There are all sorts of preemptive kernels, RTOS's, frameworks, out there, open source and commercial. There are priority-driven preemptive systems, time-sliced preemptive systems, and others. But preemptive systems have their costs, namely context switching time, and context storing RAM. Even cooperative coroutines have context switch and space overhead. On the other end of the scale i...


Position independent code with position dependent data ?

Started by nono240 in comp.arch.embedded14 years ago 23 replies

Hi there ! My CPU has no MMU, very little RAM (8KB), and is running a modified FreeRTOS. I'd like to have the ability to "load" and run some...

Hi there ! My CPU has no MMU, very little RAM (8KB), and is running a modified FreeRTOS. I'd like to have the ability to "load" and run some code from USART/DATAFLASH to FLASH as a RTOS task. Of course, for convenience, the compiled code must be fully position independent. Using the -fPIC or -fpic option, looking at the assembler, the code seems OK : a dynamically computed offset is applie...


Help Please!: makefile to use with gcc

Started by seran in comp.arch.embedded20 years ago 1 reply

Hi, This is Seran. Now I am working the uCOS-II RTOS. I have to port uCOS-II to the AT91R40008 microcontroller(ARM7TDMI). I am using GNU...

Hi, This is Seran. Now I am working the uCOS-II RTOS. I have to port uCOS-II to the AT91R40008 microcontroller(ARM7TDMI). I am using GNU Tools to compile my C programs under Cygwin. I wrote a makefile to compile all the C and Assembly files to produce the .bin file. But the C compiler arm-elf-gcc is producing lot of errors. Can anyone provide me a makefile which to compile my C programs. D...


Comments on RTOSes

Started by Josias R. P. Langoni in comp.arch.embedded19 years ago 20 replies

Hello all. I am starting a research to identify a RTOS to be deployed in several medical products. The product line includes some low to...

Hello all. I am starting a research to identify a RTOS to be deployed in several medical products. The product line includes some low to medium end products based on Xscale (PXA255) and some medium to high end products based on x86 compatible processors (Geode at the moment, some Intel offspring in a near future). Some of the main requirements I have to guide my research are: 1- Reputab...


FreeRTOS memory footprint reduction at build time

Started by John Speth in comp.arch.embedded6 years ago 5 replies

Hi Folks- FreeRTOS has a build config file (FreeRTOSConfig.h) that users can apply at build time to customize the RTOS. The FreeRTOS web...

Hi Folks- FreeRTOS has a build config file (FreeRTOSConfig.h) that users can apply at build time to customize the RTOS. The FreeRTOS web site has a page to describe the options (https://www.freertos.org/a00110.html). What it doesn't have is any hints about how much RAM it might save me. Does anybody have any first hand advice about how much RAM each option might contribute to the R...


"Shell" or Commandline interpreter for microcontrollers

Started by Anonymous in comp.arch.embedded18 years ago 10 replies

Hi, We are currently using an interpretive environment on 68hc12 series of microcontrollers. We are now moving towards ARM7TDMI and...

Hi, We are currently using an interpretive environment on 68hc12 series of microcontrollers. We are now moving towards ARM7TDMI and 68hcs12 series. The interpretive environment is very convenient for manufacturing and support staff to do some tweaking in the environment. Are there any C/C++ based RTOS or any other way to have a shell interpreter/command line interpreter on the serial port...


Should I really increase OS_MUTEXCNT to exit forever loop?

Started by janii in comp.arch.embedded11 years ago 1 reply

Our embedded target board is ARM7 based Microcontroller. We used Keil tools, which include Keil RTX-RTOS. /* Filename: RTX_lib.c */ static...

Our embedded target board is ARM7 based Microcontroller. We used Keil tools, which include Keil RTX-RTOS. /* Filename: RTX_lib.c */ static U32 nr_mutex; int _mutex_initialize (OS_ID *mutex) { /* Allocate and initialize a system mutex. */ if (nr_mutex > = OS_MUTEXCNT) { /* If you are here, you need to increase the number OS_MUTEXCNT. */ for (;;); } *mutex = &std_libmutex[nr


Should I really increase OS_MUTEXCNT to exit forever loop?

Started by janii in comp.arch.embedded11 years ago 7 replies

Our embedded target board is ARM7 based Microcontroller. We used Keil tools, which include Keil RTX-RTOS. /* Filename: RTX_lib.c */ static...

Our embedded target board is ARM7 based Microcontroller. We used Keil tools, which include Keil RTX-RTOS. /* Filename: RTX_lib.c */ static U32 nr_mutex; int _mutex_initialize (OS_ID *mutex) { /* Allocate and initialize a system mutex. */ if (nr_mutex > = OS_MUTEXCNT) { /* If you are here, you need to increase the number OS_MUTEXCNT. */ for (;;); } *mutex = &std_libmutex[nr


Should I really increase OS_MUTEXCNT to exit forever loop?

Started by janii in comp.arch.embedded11 years ago 1 reply

Our embedded target board is ARM7 based Microcontroller. We used Keil tools, which include Keil RTX-RTOS. /* Filename: RTX_lib.c */ static...

Our embedded target board is ARM7 based Microcontroller. We used Keil tools, which include Keil RTX-RTOS. /* Filename: RTX_lib.c */ static U32 nr_mutex; int _mutex_initialize (OS_ID *mutex) { /* Allocate and initialize a system mutex. */ if (nr_mutex > = OS_MUTEXCNT) { /* If you are here, you need to increase the number OS_MUTEXCNT. */ for (;;); } *mutex = &std_libmutex[nr


Should I really increase OS_MUTEXCNT to exit forever loop?

Started by janii in comp.arch.embedded11 years ago 1 reply

Our embedded target board is ARM7 based Microcontroller. We used Keil tools, which include Keil RTX-RTOS. /* Filename: RTX_lib.c */ static...

Our embedded target board is ARM7 based Microcontroller. We used Keil tools, which include Keil RTX-RTOS. /* Filename: RTX_lib.c */ static U32 nr_mutex; int _mutex_initialize (OS_ID *mutex) { /* Allocate and initialize a system mutex. */ if (nr_mutex > = OS_MUTEXCNT) { /* If you are here, you need to increase the number OS_MUTEXCNT. */ for (;;); } *mutex = &std_libmutex[nr


Processors who's stack grows up

Started by Adam Messer in comp.arch.embedded19 years ago 52 replies

Hello, I am the lead engineer on the Nucleus Plus RTOS. One of my coworkers asked me if I knew any processors that had a stack that grows...

Hello, I am the lead engineer on the Nucleus Plus RTOS. One of my coworkers asked me if I knew any processors that had a stack that grows up. The only one I knew of, for sure, was the Intel i960. We have a fair amount of code in our system that accommodates stacks that grow up. If we can't find a reasonable number of processors who's stack does grow up we will remove that code. TIA,...


Looking for USB stack with permissive licence (mass storage)

Started by Noob in comp.arch.embedded12 years ago 26 replies

Hello everyone, I work for a small set-top box manufacturer. Our boxes have a 450-MHz SH-4 CPU and typically 128/256 MB of RAM, running a...

Hello everyone, I work for a small set-top box manufacturer. Our boxes have a 450-MHz SH-4 CPU and typically 128/256 MB of RAM, running a proprietary RTOS. At the moment, we are using a proprietary third-party USB stack, which is mostly a binary release. The source code I do have is of fairly low quality... :-( I'm looking for an open source USB stack which would be easily ported to ...


Secure Webserver in realtime /embedded environment QNX - OS

Started by subra in comp.arch.embedded15 years ago 1 reply

Hello Does any one know of a secure webserver which can run on QNX RTOS . The most important thing is this webserver should run at a lower...

Hello Does any one know of a secure webserver which can run on QNX RTOS . The most important thing is this webserver should run at a lower prio ,not interfere with the higher priority control processes and it should in know case hang the system , consume high CPU or memory etc . We are in a regular intel desk top kind of HW and resources but we have real time tasks which take higher pri...


RTX51 for CAN based applications

Started by roth in comp.arch.embedded19 years ago 2 replies

hi, Im using KEIL PK51 for developing CAN based applications. Im using philips P87C591 model with in-built CAN controller.I have written...

hi, Im using KEIL PK51 for developing CAN based applications. Im using philips P87C591 model with in-built CAN controller.I have written a sample code for CAnopen and now want to include Multitasking feature to it. The RTOS provided by KEIL called RTX51TINY,doesnt seem to support CAN based functions.Iam intending to purchase RTX51 full,which has some CAN based functions.I searched the KEIL...


Quick SBC with 16-bit AD and Ethernet ?

Started by Dave Nadler in comp.arch.embedded12 years ago 2 replies

Hi Folks - I'm looking at a quick project that needs: - 16-bit AD data acquisition, - Ethernet connectivity - modest processing requirements...

Hi Folks - I'm looking at a quick project that needs: - 16-bit AD data acquisition, - Ethernet connectivity - modest processing requirements (32-bits best) - ideally contemporary ARM supported by lots of toolchains RTOS etc. I'd love to use Actual Fusion (but only 12 bits) or Cypress PSoC (but no Ethernet). Quick look around shows lots of 12-bit solutions. Tern has high res AD but old x...


Howto measure system load

Started by Christian Walter in comp.arch.embedded18 years ago 14 replies

Hello, I am currently looking for a solution to measure the application load on my embedded system. An approach I though about was hacking...

Hello, I am currently looking for a solution to measure the application load on my embedded system. An approach I though about was hacking the RTOS I am using and every time the idle task is scheduled I count up the time in this task for a given time frame (e.g. 1 second). Having finished that I could use the accumulated time to calculate something like a system load with: load...


How to define task in RTOS

Started by ckto in comp.arch.embedded19 years ago 7 replies

Hi all, I am going to use freeRTOS to do project, which has the following hardwar module. - 128x64 dot mono LCD graphic module - 4 key...

Hi all, I am going to use freeRTOS to do project, which has the following hardwar module. - 128x64 dot mono LCD graphic module - 4 key (direct key configure) - IrDA for printing - doing ADC via I2C interfaced ADC every 500ms The function of the device is; - User can use the key and display to read the DAC value - PC can request the ADC value / Key status / LCD status via RS485 / USB...


[Q] avr-gcc and calling convention

Started by 42Bastian Schick in comp.arch.embedded19 years ago 3 replies

Hi I am starting to port our RTOS to AVR using avr-gcc ( later surely IAR, ImageCraft). Currently I am confused about the calling...

Hi I am starting to port our RTOS to AVR using avr-gcc ( later surely IAR, ImageCraft). Currently I am confused about the calling convention. The AVR-lib document says: r2-r17 are callee saved r18-27 are caller saved r25-r8 are the parameters left to right Does this mean, I must preserve the parameter values in r17-r8 ? TIA -- 42Bastian Do not email to bastian42@yahoo.com, i...


Any project for embedded system design (entry level)?

Started by Lee in comp.arch.embedded20 years ago 3 replies

Dear all, Can anybody suggest me a project (open source or part-time job or intern)?I need a project to develop my skills. I am targeting...

Dear all, Can anybody suggest me a project (open source or part-time job or intern)?I need a project to develop my skills. I am targeting at embedded system sofware or firmware for wireless multimedia application, such as device driver, assembly programming, DSP programming, RTOS porting and so on. My skills: 1. I am excellent in C++ programming and have working experiences in compil...


Puzzling power results STM32F4 FPU test

Started by Mark Borgerson in comp.arch.embedded11 years ago 17 replies

In a recent thread Jon Kirwan and I were discussing FPUs and power consumption. I decided to try some real world tests on an STM32F4...

In a recent thread Jon Kirwan and I were discussing FPUs and power consumption. I decided to try some real world tests on an STM32F4 Discovery board. After a few tests in the ChiBios RTOS, where I discovered that you can save a lot of power by doing floating point math with the FPU and shutting off the CPU clock in the idle process, I decided to try to measure the power using software a...



The 2024 Embedded Online Conference