embedded
What is the fastest way to transpose the bits in an 8x8 block on bits?
I\'m not sure the exact term for what I\'m trying to do. I have an 8x8 block of bits stored in 8 bytes, each byte stores one row. When I\'m finished, I\'d like each byte to store one column.[详细]
2023-03-24 19:51 分类:问答Source code in embedded C for unsigned integer to string
Without resorting to standard 开发者_Go百科library utoa, I\'m looking for source code of utoa so I may customise it for specific project. I have unsigned integer (32 bits) with output such as 0xFFFF_F[详细]
2023-03-24 14:37 分类:问答How to know if HW/SW codesign will be useful for a specific application?
I will be in my final year (Electrical and Computer Engineering )the next semester and I am searching for a graduation project in embedded systems or hardware design . My professor advised me to searc[详细]
2023-03-24 07:50 分类:问答printing float/double using printf crashes the program
I am working on a syscall implementation for a PowerPc. I have tested some gcc functions and they all seem to work (e.g. sqrt sin cos pow printf malloc...)[详细]
2023-03-24 07:13 分类:问答Beagleboard bare metal programming
I just got my BeagleBoard-Xm and I\'m wondering if there is any detailed step by step tutorials on how to get a very simple bare metal software running on the hardware?[详细]
2023-03-23 22:57 分类:问答Faking register reads in C
I have an existing code base for an embedded system with no operating system. I\'m trying to get it to build with the x86 gcc instead of just the cross compiler, as a first step toward being able to u[详细]
2023-03-23 11:45 分类:问答Simple authentication and encryption methods over TCP for microcontroller embedded device
I have designed a simple communications protocol, over raw TCP sockets, to enable simple messaging between some embedded devices. To put things in context, my embedded device is a box of electronics c[详细]
2023-03-23 11:08 分类:问答Why are structures copied via memcpy in embedded system code?
In embedded software domain for copying structure of same type people don\'t use direct assignment and do that by memcpy() function or each element copying.[详细]
2023-03-22 23:59 分类:问答Set ALSA master volume from C code
I\'ve been looking for a simple C code example to set the master volume of the ALSA mixer but could not find anything simple for this supposedly common operation.[详细]
2023-03-22 08:59 分类:问答expected duration between kill and the ability to reap with waitpid
I have a Linux app which must spawn a child process on request with one of the exec() functions. If the child process has not finished before it\'s time to spawn it again, the app must kill the prev[详细]
2023-03-22 00:36 分类:问答