Micrium is a priority-based pre-emptive real-time multitasking operating system kernel for microprocessors.
Questions tagged [micrium]
22 questions
4
votes
2 answers
Micrium uC-OS/II on Dynamic C/Rabbit - might have task starvation
I'm trying to get 2 tasks to run in my Dynamic C under Micrium uC-OS/II. One task is the http handler, the other reads from the serial port. The serial port task seems to inhibit the http task from running. Any ideas why this is? I thought…

fred basset
- 9,774
- 28
- 88
- 138
3
votes
0 answers
Find out if an object on a specific address is a pointer
I Have a PC Program that is communicating over a TCP/IP Connection to an Embedded board (Infineon XE169 (C166 Family)).
This PC Program request what data is stored on a certain address.
The PC Program is uC/Probe, and I cannot change how this…

Roel Balink
- 417
- 1
- 4
- 19
3
votes
1 answer
FATFS on ST32 with device configured as USB drive
I'm currently developing an application for an ST32 (STM32F103xC) using Micrium OS-II. So far it's all gone smoothly, but I've hit a block now and can't proceed.
The board is configured to act as a USB storage device using the SD card so that the…

Julian Gold
- 1,246
- 2
- 19
- 40
2
votes
1 answer
read/write files from USB memory stick in uC-OS/II
I have a board with ARM processor and micrium RTOS on it. I need to read/write files from the USB memory stick. For example standard function, which renames file is next -
int FS_Rename (const char * sExistingName,
const char *…

drfred
- 21
- 1
2
votes
1 answer
micrium file system get amount of space left
I am wondering if there are any build in functions for the uC/FS to get the amount of memory left on my SD Card with FAT32 format.
Many thanks.
PS. I have looked around but don't seem to be able to find it on the manual.

Low Lifer
- 225
- 1
- 2
- 5
2
votes
1 answer
typecast to a not typedefined struct
Basicly I am getting data from another thread in the RTOS. This data is a pin on the board. All the IO ports are in structures / unions in an iodefine.h file. See this for example on how Micrium made it:
struct st_portd {
union {
unsigned char…

Davey
- 447
- 2
- 7
- 27
2
votes
1 answer
Allocation and Free in Micriμm μC/OS-III RTOS
We are using the μC/OS-III RTOS of Micrium with a RX62N of Renesas.
We built a system where we have to dynamicly alloc and free data. We found out the functions malloc() and free() are not working well with the RTOS.
However the RTOS has a custom…

Hendrik
- 87
- 10
2
votes
2 answers
Malloc in uC/OS-III RTOS of Micrium
We are using the uC/OS-III RTOS of Micrium.
We are trying to the return value of malloc on the RTOS.
When we do a malloc of 99999 (too much for the RAM) before the RTOS is started, we get a null pointer back, which is what we expect.
When we do…

Davey
- 447
- 2
- 7
- 27
1
vote
0 answers
What is source of IID 0x7ffffff error in CCES debugger, and how to fix it properly?
I have problems with MDMA transfer on ADSP-SC584.
I work in CCES IDE 2.8.3
I take MDMA CrossCore example project ,and do changes towards ARM direction of data flow. So initialisation is the same(MCAPI addresses and SID of interrupt).
I have complex…

Ilya
- 11
- 1
1
vote
1 answer
How to bind to a broadcast address in Micrium
I'm trying to find a way to bind an IPv4 UDP socket to a broadcast address in Micrium (µC/OS-Ⅲ).
Attempt to bind a socket to the actual broadcast address just returns NET_SOCK_ERR_INVALID_ADDR. The broadcast is not explicitly mentioned on the list…

Pawel Veselov
- 3,996
- 7
- 44
- 62
1
vote
1 answer
Micrium OS -III Timer callback function not getting called
I am using keil compiler for arm(stm32F4). In my code I have created a timer to call a function which calls a function from a *.lib file.
The function is getting called if I am using linker optimization level-0 (O-0) and the application works fine.…

kernel
- 326
- 1
- 3
- 18
0
votes
0 answers
Stack overflow after call to OSStartHighRdy (uC/OS-III)
I'm in the process of getting uC/OS-III working on an NXP MIMXRT1062 using the MCUXpresso ide with gcc compiler. When the OS starts multitasking it calls the OSStartHighRdy function:
.thumb_func
OSStartHighRdy:
CPSID I …

Lazaro
- 1
- 1
0
votes
0 answers
Finishing uC/OS-II
For future developers' sake and to seek a better code organization and structure, I need to finish micrium execution and go back to a bare-metal state.
So, how can I pass the OSStart() point?
Bellow, there's some minimal/pseudo code.
while…

Jonny Quest
- 23
- 5
0
votes
0 answers
Silicon Labs Micrium Os Network module build failed
I am trying to initialize the Network module of the Micrium Os and I get a build error when calling the "NetIF_Ether_Add" function. The actual error says that there is an undefined reference to "NetIf_Ether_Init" in the "net_if.c" file from the SDK.…

Csaba Birtalan
- 121
- 6
0
votes
1 answer
Micrium File system partition issue
I have partitioned the NOR Flash into two regions, and trying to mount these two regions into separate volumes. But im getting the error
FS_FAT_VolOpen(): Invalid boot sec sig: 0xFFFF != 0xAA55.
I have followed the steps
Opened the…

APT
- 1