Questions tagged [embedded]

Embedded refers to embedded systems, which involves areas such as microcontroller/DSP firmware programming, real-time systems, electronic interfaces, hardware drivers, serial bus communication etc.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

A cross-vendor, cross-platform and cross-RTOS open-source Embedded MCU HAL exist? ChibiOS, NuttX, Zypher, mbedOS, PlatformIO are cool but not quite it

I am trying to find an existing open source platform that abstracts hardware and boards-specifics, and allows jumping right in to application development on embedded mcu's. Ideally, I'd be able to use ...
cwx's user avatar
  • 11
0 votes
0 answers
24 views

IR emitter and can i design my own or not [closed]

I am new here. I want to know where can I find this IR emitter and its specs because I can not find it anywhere. another question can I design my own IR emitter or not and how. thank you. IR emitter ...
Mohamed Ahmed's user avatar
0 votes
1 answer
30 views

How can I transfer data from HTML to embedded system without internet?

I need to do this from the light control button on the HTML page and give the light adjustment data to my friend, who is an embedded system engineer, without internet. How can I transfer the light ...
Erkut Aydın's user avatar
-1 votes
0 answers
15 views

How to login in openbmc [closed]

I have created a openbmc core-image-full-cmdline image when I tried running it on qemu-system-arm and tried to login as root/0penBmc but showing login incorrect Even I tried with adding ...
G Baba Sikandar's user avatar
0 votes
0 answers
51 views

Under what condition I can "write" but cannot "read" from a location?

The purpose is to do DMA transfer betwee PS and PL for a ZYNQ 7000 board. I am trying to use UIO framework. I have a UIO device in my ZYNQ board. I am using mmap to access the UIO device. From my ...
Creator's user avatar
  • 21
0 votes
0 answers
5 views

Difference between static partitioning hypervisors and separation kernel / microkernel?

I am trying to get an understanding of virtualization approaches. This paper describes static partitioning hypervisors. In this survey paper the category separation kernels and microkernels is ...
Finn 2808's user avatar
0 votes
0 answers
41 views

Microchip Atmel Studio cannot open file .rom and .hex code and building compiling problem

I copied some project code to my desktop. When I want to compile and build code the program gives me an error: I tried to compile it but I didn't solve this problem. How can I solve this problem?
Haydar5988's user avatar
0 votes
0 answers
21 views

GStreamer Error While Streaming to AWS Kinesis on Raspberry Pi

I'm diving into the world of streaming with GStreamer on a Raspberry Pi to AWS Kinesis, and I've hit a roadblock. I'm encountering the following error: (kvsWebrtcClientMasterGstSample:246): GStreamer-...
Ambroseeverhart's user avatar
0 votes
1 answer
23 views

On TM4C123GH6PM Launch Pad, is my ADC process conflicting with main? Changing LED

The code should do as follows, initialize adc so it can communicate with the external temp sensor, wired to breadboard. It is doing so, and I am getting accurate temperatures. Based on that ...
aasantiago's user avatar
-1 votes
0 answers
29 views

HowCaniSolvethiserrorinCANDriver? [closed]

I Make Can Driver on STM32F303RTE (Nucleo Board) when i put the CAN_Transmitter and The CAN_Receiver in The Normal Mode i get error in the Transmitter which is Acknowledgment Error and i get error in ...
Mohamed's user avatar
0 votes
0 answers
43 views

Failed to launch GDB: Load failed (from target-download) : because specific sections

I'm trying to debug with an STM32H753BI using openocd and gdb. However, I'm facing a problem where gdb is unable to load specific sections from an external flash address. here is gdb output: gk@gk-...
gokul's user avatar
  • 1
0 votes
0 answers
29 views

Failed to launch GDB: Load failed (from target-download) in STM32H753BI

I am attempting to debug an STM32H753BI microcontroller using OpenOCD and an STLink v2 to read RTT (Real-Time Transfer). However, I am encountering difficulties loading the firmware onto the H7 board. ...
occr_name's user avatar
1 vote
0 answers
66 views

Inconsistent Execution in Bootloader-Only vs. Bootloader and Firmware Scenario

I'm working with an embedded system where I have two separate ELF files: bootloader.elf and firmware.elf. I've set up my debugger to first flash bootloader.elf and then firmware.elf. When this ...
Ojav's user avatar
  • 758
0 votes
1 answer
30 views

What is the MSB of each seven segment in ARMv7 DE1-SoC in cpulator?

In the cpulator website, when i want to show a number on the seven segment displays, it tells me to change an specific memory location which i assume is connected to the displays. i can understand the ...
Emad Kheyroddin's user avatar
0 votes
0 answers
23 views

WIFI Module can't get the data from the server

I am trying to connect the esp 8266 wifi module with the online server when I press a button on the site I expect to see the data in the file.txt that I upload to the site but I receive something like ...
abdallah mohamed sedik's user avatar
0 votes
0 answers
37 views

Unable to get messages from dmesg from platform.c/bus.c compiling linux kernel with loglevel=8 [closed]

I am trying to make an LCD panel work with linux kernel Arm 5.10(TI platform sdk). From panel-simple.c, after platform_driver_register function(macro which refers to __platform_driver_register), ...
jchandren's user avatar
2 votes
3 answers
129 views

Clarification of C Code containing nested structs, pointers, pointer type casting and C MACROS

I am trying to understand the following code below. It belongs to stm32f407xx microcontroller & i am trying to make sense by expanding the macros. #define GPIOA_BASE_ADDR 0x12345678U #define ...
Zzz's user avatar
  • 21
0 votes
0 answers
44 views

Virtual mouse as joystick on esp-32 communicating over WiFi

Theres this app, remotemouse, that displays a trackpad and keyboard, sends data from those over WiFi and moves the mouse or writes text on a pc. I want to implement something similar, but with an esp-...
Noah Van Vaerenbergh's user avatar
0 votes
0 answers
22 views

FlexNVM Data Corruption When Power Cuts Off During Data Write

I am using the NXP S32K148 Microcontroller. Imagine in the middle of writing data to the EEPROM (FlexNVM module), power suddenly cuts off exactly in the middle of data transmission. Is there any way ...
Arian's user avatar
  • 97
0 votes
0 answers
23 views

Small data relocation error when linking, trying to read from stack

I am currently trying to implement a functionality for which I need to read values from stack memory locations. I am doing this by getting the address "__CPU_STACK" as an external, it is ...
haru's user avatar
  • 1
1 vote
0 answers
19 views

How to change GPS output mode to NMEA 0183 on SIMCom 508 module?

I have the SIMCom SIM508 module and evaluation board from stone age. I can communicate with the GSM side with AT commands by using the GSM_MAIN RS-232 interface. The GPS side outputs an SiRF protocol ...
Licensed Slacker's user avatar
0 votes
0 answers
10 views

How to run QEMU simulation with randomized memory content?

Is there a way to run a binary on QEMU (system mode) starting with randomized memory contents? My use case is a binary that contains some sort of first-stage bootloader and a user application. I want ...
noureddine-as's user avatar
1 vote
1 answer
35 views

Embedded: How replace the interrupt vector call with a lambda (poiner to member) in C++17

At the moment I have a problem. I want to replace the interrupt vector target call for a peripheral driver. What works for now is this: namespace test { class PortDriver{ public: using ...
tunguskar's user avatar
0 votes
0 answers
31 views

How to find the interrupt numbers form a design?

Given a VIVADO design on ZYNQ 7000 board and asked to run an Linux application through UIO, one needs to find weather the Kernel is properly configured or not. One can use petalinux to generate the ...
Creator's user avatar
  • 21
0 votes
0 answers
32 views

Can connect and write hex files from MPLAB X IPE but can not debug from MPLAB X IDE

Currently using MPLAB X IDE and IPE v6.15 with PIC16F1503 and PICKIT 4 for debugging. I have connected the PICKIT 4 on the ICSP interface with PIC16F1503. I can connect the PICKIT4 and write HEX files ...
BeamString's user avatar
0 votes
0 answers
55 views

Defining an Interrupt without an ISR on Raspberry Pi Pico [duplicate]

I use the IRQ_WRAP interrupt of the PWM channels on my Raspberry Pi Pico. However, I want to keep the latency as low as possible and avoid ISR context switches (pushing stack frame, jumping to ISR, ...
TheGuy13's user avatar
-1 votes
1 answer
53 views

Is there an solution to stop looping this

Settings of the MCU: This is the circuit in Proteus: I wrote this code for the led to blink for one time only but it's blinking for infinite times. Could anyone tell how to stop automatically ...
BaumaRanjith's user avatar
0 votes
0 answers
23 views

Exception occurred after porting the code of the TOM module of the TC367 project to TC389

The dependency files in the project have been modified to TC389 related files. After running the register assignment code, some registers related to the TOM module cannot be assigned values, some can ...
Miracle556's user avatar
0 votes
1 answer
45 views

Modbus RTU slave is responding to 2 stop bit request even thought it is configured with 1 stop bit only

I have configured modbus rtu slave with no parity and 1 stop bit. It is responding to both 1 stop bit and 2 stop bit request. If I configured slave with 2 stop bit it responds only to 2 stop bit ...
adeshai's user avatar
0 votes
1 answer
59 views

Error on trying to launch a code for stm32L4 developement board

I have started to work with STM32L4 Kameleon development board and got a problem right away. I created project for my board and generated sample code for it When I run it a ST-Link USB connector diode ...
Kefest1's user avatar
  • 153
1 vote
0 answers
27 views

Audio Codec2 on STM32

I wanted to use Codec2 on STM32F4xx, so I took the existing libraries and ran them on the hardware - a Nucleo board. Then I started measuring the time it takes to encode and decode one frame - a block ...
WITC's user avatar
  • 155
0 votes
0 answers
40 views

Per subdirectory and/or file compiler args in meson for c

CONTEXT I have an embedded project that includes different target platforms (eg. ARM using Arm GNU Toolchain, Microchip using MPLAB XC32, Windows using MSVC). Each has it's own "port" ...
krnd's user avatar
  • 1
0 votes
0 answers
72 views

Modbus RTU Communication Issue with PIC18F66K22 and XC8

I'm currently working on a project using XC8, C, and a PIC18F66K22 as a master device for Modbus RTU communication (rs485). Despite a seemingly functional hardware setup with USART2 (TX=RG1, RX=RG2, R/...
yahav h's user avatar
0 votes
1 answer
62 views

Assertion error while trying to debug program STM32CubeIDE, using NUCLEO board: exit error 3

EDIT: Problem solved. The IDE didn't install properly - apparently some files got corrupted. Works fine after reinstallation. I just started learning how to program STM32 boards and my first project ...
Cinnamon's user avatar
0 votes
0 answers
23 views

Using Rpi pico and flex sensors to control a specific number of laptop inputs

I am using three flex sensors and a raspberry pi pico board. What I am trying to do is take the inputs of sensors and process it through raspberry pi pico and then use the pico to do a certain task on ...
Bhavesh Pendyala's user avatar
1 vote
1 answer
69 views

Do it on an int or uint type of data! What happens to the operation

I'm having an issue with the ESP32-IDF auto-generated code, where the following code is used to flip the pin level by default in an example code of a flashing light static uint8_t led_state = 0; ... ...
xiaopengyou's user avatar
0 votes
2 answers
84 views

breaking out of an infinite while loop by getting inputs from the user

I'm trying to have an infinite loop run forever and continuously send data. but when the user presses a button on his keyboard it will break out of it. I tried the code below, but it will send data ...
tranquilo's user avatar
0 votes
2 answers
106 views

Compiler allocates same memory for pointers to struct in embedded C

I have a structure for which I have created two instances of the structure using pointer to struct and I am expecting them to return two different values based on the input . If I execute this code in ...
rishb's user avatar
  • 3
0 votes
0 answers
78 views

Reading Serial Number from AT24CS32

I'm building an embedded system using a Microchip dsPIC33EP hooked up to an AT24CS32. I'm trying and failing to read the serial number from the AT24. My board has the SOT23 package part on it, so [...
thebeekeeper's user avatar
1 vote
1 answer
54 views

Read Flash Memory using PEmicro and CodeWarrior IDE (MC9S12XET256 MCU)

I am attempting to read the flash memory of the MC9S12XET256 MCU for inspection and exploration purposes, using the following tools: CodeWarrior IDE PEmicro Debugger Unfortunately, I have been ...
Arian's user avatar
  • 97
1 vote
1 answer
31 views

Implementing Plugin Functionality in Firmware using FreeRTOS, LittleFS, and gcc-arm-none-eabi

I am currently working on a project involving firmware development for Cortex-M microcontrollers (NXP RT1175). My development stack includes FreeRTOS, LittleFS, and the gcc-arm-none-eabi toolchain. I ...
mastupristi's user avatar
  • 1,260
2 votes
2 answers
108 views

Writing a uint8 variable on two bytes?

So a bit of a weird one because I am working with an interface in which I do not have access. But the gist of it is this: I have an array of 16-bytes, 16 uint8 elements. The first 12 elements are ...
Ciuboss's user avatar
  • 87
0 votes
1 answer
33 views

fault input ESP32 showing

I am using the capacitive sensor to detect an object. The sensor required 24V to operate but ESP32 runs on 2.2 to 3.6V.The input from sensor also gonna be 24V. so I can't directly connect sensor to ...
Muhammad Dawood Ahmed's user avatar
-1 votes
1 answer
31 views

OpenSSL on µITRON

I'm thinking about using OpenSSL for my embedded products which implements an ARM processor and µITRON kernel. I couldn't find the use-case that uses OpenSSL with µITRON. Is there any useful document ...
yonaguni's user avatar
0 votes
1 answer
92 views

Passing arrays through an interface as pointers and then populating another array with them

A bit of a weird one for me so I was hoping you peeps can help me out a little. I basically have an objective of populating an array which will consist of 16 bytes. Furthermore, I even have the ...
Ciuboss's user avatar
  • 87
0 votes
1 answer
35 views

Simultaneous Data Transmission Issue Between Two STM Boards

I am working on a project involving two STM boards, where the objective is to send and receive a single byte of random data simultaneously between the boards. Each board assigns itself the name 'A' or ...
Gospa 's user avatar
0 votes
0 answers
34 views

Undefined symbol: `stdout` with picolibc - despite the symbol being defined in my startup code (only with LTO)

I'm trying to convert an embedded project from CMake (via a brief detour to meson) to Bazel. We are using the llvm-embedded toolchain which uses picolibc. I manually setup the toolchain more or less ...
burnpanck's user avatar
  • 2,007
0 votes
1 answer
37 views

603 HTTP response while using at commands

I am using AT commands to get a response but when I run it I get 603 status message these are the at commands AT OK AT+SAPBR=3,1,"APN","internet" OK AT+SAPBR=1,1 OK AT+HTTPINIT OK ...
Gibson Oluka's user avatar
1 vote
0 answers
149 views

Two interrupts are defined in system-user.dtsi file but why only one interrupt in /proc/interrupts?

There is a design in VIVADO for DMA transfer. I want to use uio device and I have a /dev/uio0 directory along with information in /sys/class/uio/uio0/maps/map0 directory. In my pl.dtsi I have two ...
Creator's user avatar
  • 21
2 votes
2 answers
82 views

Store ordering for larger-than-native-size type - C spec

Suppose you have a pointer to a larger-than-native-type integer, what do recent C specs say regarding the store ordering? E.g.: volatile uint64_t *test = (volatile uint64_t *)(addr); *test = 0; On a ...
Sparky McAnderson's user avatar

1
2 3 4 5
214