Questions tagged [mqx]

for questions about MQX RTOS, a real-time operating system generally used in embedded systems

MQX RTOS is a real-time operating system, generally used in embedded systems, developed by Precise Software Technologies Inc., and currently sold by ARC International, Embedded Access Inc, and Freescale/NXP. MQX is an abbreviation standing for Message Queue eXecutive.Wikipedia

MQX has a multitasking kernel with pre-emptive scheduling, round-robin for equal priorities and fast interrupt response. Optional inter-process communication and synchronization facilities, and a file system.

MQX is statically configurable via 'C' defines, which can be set through various IDE's or directly in the source. The main OS compiles as a library and a single application image creates an image. The MQX library comes in different versions. MQX-lite is a bare minimum version. Optional components include a TCP/IP stack (RTCS), an embedded MS-DOS file system (MFS), USB Host/Device Stack, a shell, and an inter-CPU communication layer on some platforms. As well the Task-Aware debugging (TAD) supports remote debugging and performance analysis tools.

Version 4.0.2 support builds via make and a Code Sourcery gcc. Various commercial compilers are also supported. The supported compiler, IDE, debuggers, etc often vary based on the target architecture.

MQX is layer by core, bsp (board support) and psp (processor support). Optional packages hook into the core through either conditional compilation or callbacks. Please try to specify which bsp, psp and MQX version you are targeting when asking questions.

18 questions
3
votes
1 answer

Traces for the function call in a single thread, does not appear to be in order that is expected

I have a thread, which does a function call, Thread 1() { while(1) { msg = msgreceive(); condn= msg->condn; switch(condn) { case 0: //do sonmething break; case 1: printf("case_1"); function2() break; } } } function…
buddy
  • 805
  • 1
  • 15
  • 30
3
votes
1 answer

Is possible to use ESP8266 as a network adapter?

I have a IoT solution based on Freescale/NXP FRDM-K64 board and the MQX operating system, communicating to the Internet with Ethernet. Now I would like to change from Ethernet to Wi-Fi. The ESP8266 (or another module under $10) can provide a…
Luís Rigoni
  • 374
  • 6
  • 21
3
votes
0 answers

python TCP window size

I am writing a python script to communicate with a embedded system that is running Freescale's MQX RTOS. I have to choose the RX window size in MQX and, for now, I have left it at its default value of 4380 bytes; three segments of 1460 bytes. The…
mccartyn
  • 61
  • 1
  • 4
2
votes
1 answer

Lighttpd on WinCE

Has anyone successfully cross-compiled Lighttpd to use on WinCE? On the Lighttpd wiki it says it supports Windows OS's but on the actual Lighttpd site it doesn't. If Lighttpd does not work on WinCE, can you recommend another web-server that…
Adam Johnson
  • 2,198
  • 1
  • 17
  • 23
2
votes
2 answers

MQX 4.0.1 program Not Compiled with GCC

I am using TWR-K20D72M and I opened a Sample program which is given in the MQX 4.0.1 Demo examples. When I choose Build tool option as Freescale the program compiles OK but When I choose Build tool option as GCC It gives me error.The Error is…
Yogesh patel
  • 1,351
  • 2
  • 15
  • 21
2
votes
2 answers

MQX RTCS configuration properties

Hi has anione worked with MQX ? I do not know how to set BSP_ENET_DEVICE_COUNT in order to test the enet demo ...
cataHHH
  • 223
  • 1
  • 4
  • 14
2
votes
2 answers

Use of ARM semihosting

I have configured a Freescale Kinetis MQX BSP to use the "iodebug:" semihosting device with an IAR IDE and J-Link debugger. The configuration "works" in that text appears in the IDE console window. The output is jerky and slow - Maybe 5 seconds to…
fcw
  • 249
  • 1
  • 3
  • 5
1
vote
0 answers

Multi-platform web service

I don't have much experience in the web-server/service world, so excuse my question if it is trivial. I have an embedded device that supports wifi. Currently the device runs WinCE, but in the future this device will be running a Real-Time OS…
Adam Johnson
  • 2,198
  • 1
  • 17
  • 23
1
vote
1 answer

MQX configure interrupts on an input pin example code/tutorial

I'm new to freescale MQX and I'm trying to set up interrupts on an input pin using MQX functions (just in case we'd like to change MPU). I couldn't find any good tutorials... Can somebody point me to a direction? Thanx
fakr00n
  • 103
  • 6
1
vote
0 answers

Configure interrupt handler for different GPIO pins of same port

I want to use 5 Gpios as user input buttons in mqx TWRK60D100. I followed configuration as #define LEFT_BUTTON (GPIO_PORT_E | GPIO_PIN26) #define LEFT_BUTTON_MUX_IRQ (LWGPIO_MUX_E26_GPIO) #define RIGHT_BUTTON …
Shihab
  • 531
  • 1
  • 12
  • 25
1
vote
1 answer

MQX Lite LED task not work

I am using FRDM-KL25Z arm board from freescale and I have successfully Written LED blink program using code warrior IDE. I am also able to run all the sample program from freescale start up kit. Now I am writing A MQX Lite program to blink LED's…
Yogesh patel
  • 1,351
  • 2
  • 15
  • 21
0
votes
0 answers

Is it possible to use other C++ standard library implemention, Libc++ on MQX

I am new to MQX. The MQX I am using has its own standard library implementation. It does not support std::shared_ptr nor std::unique_ptr. Is anyone successfully using another version (e.g the gnu version libc++) of STL instead of embedded warrior…
r0n9
  • 2,505
  • 1
  • 29
  • 43
0
votes
1 answer

Unable to find MQX 4.2.0.1 / 4.2.0.2

I am trying to download patches 4.2.0.1 or 4.2.0.2 for NXP MQX 4.2.0 operating system. However, it seems that all links have been removed by NXP and that now they make available only MQX 5 (upon payment). I am particularly interested in this bug…
BillyJoe
  • 878
  • 7
  • 25
0
votes
0 answers

what is the solution when compiler cannot find user defined datatypes from included .h file?

Hello Stack Overflow community, I have a very strange compiler error when I try to compile an example code for USB keyboard device application that I got from Freescale MQX. In usb_descriptor.c it has: `usb_language_t…
EmbeddedManiac
  • 189
  • 1
  • 12
0
votes
0 answers

RapidJSON cross compling fails on parsing JSON

I'm facing problems with RapidJSON using on my embedded target. Under Windows everything works like a charm. The following simple test does not work on my target: #include "rapidjson/document.h" #include "rapidjson/prettywriter.h" #include…
TR GT
  • 1
  • 1
1
2