Tag Info

New answers tagged

1

This question is too broad; there are too many factors that could contribute to the fluctuations in the time taken to execute some source code. The poorly-written question also doesn't help - it is unclear whether the asker is more interested in knowing the possible factors that affect nanoscopic performance (on the order of 1 - 10 CPU instructions) or ...


2

Modern CPUs don't do one instruction at a time. Instead, they might be decoding one group of instructions while an earlier group are waiting for dependencies and waiting to be sent to execution units, while even earlier instructions are being executed, while even earlier instructions are being retired (committed to state). It's (literally) a pipeline of ...


3

What formats of executables and libraries does Embox require, and how can I tell? Embox is a configurable OS and one can create separate kernel image and user application. But since MCU has rather small memory size, most embedded RTOSes including Embox link all software (kernel, apps etc.) to a single image by default. How does one compile a C ...


3

What is the deployable unit(s) of Embox? As most of RTOS for MCU Embox offers deployable unit as a single image. For Embox It has ELF format and is placed in "./build/base/bin/embox" file. How do you deploy these files to an MCU? It depends on MCU not RTOS. The most popular hardware interface for loading images is JTAG. Here is an example how load ...


3

I wrote my own co-operative multi-threading library for ARM Cortex-M0. It was barely a couple pages of code, and the first version of it didn't take longer than a day to write and debug. The big advantage of roll-your-own is you know the code and you can port it to chips that the RTOS might not support. Also, you spend less time thinking about questions ...


4

What formats of executables and libraries does Embox require, and how can I tell? By reading the documentation. Note that some (most?) kernels designed for embedded use might not even support loading executables from files. They may require applications to be compiled-in to the kernel image. [...] how do I develop on one platform/architecture ...


5

Microcontroller programs consist of a number of tasks. Let's say you wanted to make a computer-controlled telescope mount. The tasks would be: Retrieve a new byte of input from the USB serial buffer. Check if we've received a complete command. If so, execute that command. Read the sensors for the current telescope position. Set the proper output to ...


4

Is there a way I can prove\disprove this? No, because Different operating systems do things differently. Different kinds of renames/moves can be conceptually different acts: Renaming/moving a file within the same directory, Renaming/moving a file from one folder/directory to another on the same logical device, Renaming/moving a file from one logical ...


2

The extra options supported by Win32 MoveFileEx function provide a good overview and explanation of the similarities and differences between renaming and moving. When moving files across volumes, a copy (followed by delete) is performed. From the perspective of an ordinary computer user, when one wants to perform a rename, one would expect the computer to ...



Top 50 recent answers are included