Skip to main content

Questions tagged [linux]

Linux is an UNIX like open source operating system written by Linus Torvalds. There is a spin-off of Linux OS for EE called "Fedora Electronics Lab". If your Linux question isn't electronics-related, ask on one of the other Stack Exchange sites. Stack Overflow, Unix & Linux or Super User are likely what you're looking for.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
27 views

Problem adding onnxruntime python package to a yocto build [closed]

I'm trying to add the meta-st-x-linux-ai to my yocto build setup so that I can have the onnxruntime python package available on my linux, but I get the following errors : Notice that all my layers ...
SADALI Mohand's user avatar
-2 votes
0 answers
15 views

My python application doesn't want to cross-compile using Yocto [migrated]

I'm currently trying to set up a Linux OS for one of our embedded projects, I've successfully cross-compiled many packages from pypi using the PiP2Bitbake package but when I tried to do it with a ...
SADALI Mohand's user avatar
0 votes
0 answers
17 views

STM32MP157D-DK1 OS building

I am trying to flash binaries that I have generated with Yocto, intended for an STM32MP157D-DK1 board. However, during the process, I am encountering the following error: 'Partition 0xBB not found in ...
SADALI Mohand's user avatar
0 votes
0 answers
79 views

SPI communication, clock abnormal later than CS?

I use A40i and STM32 for SPI communication. A40i is an ARMv7 architecture processor, running on a Linux system in my environment. A40i is the SPI host and STM32 is the SPI slave. For the sake of ...
just a student's user avatar
0 votes
1 answer
97 views

Why is MOSI pulled low during communication?

I am using Allwinner A40i (ARM V7) as SPI master and STM32 as SPI slave. When not communicating with STM32 for SPI, it is correct to use an oscilloscope to capture ...
just a student's user avatar
0 votes
0 answers
20 views

Dual Linux Images on a single partitioned eMMC for OTA updates on SAMA5D27 ARM based MPU

To be able to support OTA updates I want to load the new update image to one partition and have the current running image on the other partition. Then switch partition to run from the new image at ...
CaptainMJ's user avatar
1 vote
0 answers
130 views

OpenOCD: unable to find a matching CMSIS-DAP device in WSL

I am trying to connect GDB in WSL to an Atmel SAMV71 Xplained Ultra board. I am getting stuck trying to get OpenOCD to connect to the board. I am using the following OpenOCD config file: ...
embedded.kyle's user avatar
0 votes
2 answers
96 views

Connect to embedded device through serial, possible and how?

I have a device with embedded linux. I need to access the CLI of this device, and found a RS232 port in the motherboard. Can I access CLI with putty, using this RS232 port?
Linux Dev's user avatar
-1 votes
1 answer
578 views

USB serial connection between Raspberry-pi and Android-phone

I have a Raspberry-pi-3-model-B and an Android phone device. The connections are as follows: My raspberry pi is connected to my laptop through USB (this is not the important part). Also, from the ...
AlphaParticle's user avatar
1 vote
0 answers
316 views

Orange Pi 5 CAN-bus issues

The bus-topology is like this. The CAN-bus has termination resistor at the inverter and in the Waveshare USB/CAN dongle. ...
Kenneth Jonsson's user avatar
0 votes
0 answers
69 views

How to enable boot mode?

I am currently working with the Allwinner T113-I EVB SoC, and I'm encountering an issue related to the BOOT-SEL0 and BOOT-SEL1 pins. In the user manual for this SoC, it's mentioned that to boot from ...
savin poster's user avatar
1 vote
1 answer
75 views

CANL and CANH are always active

I have a Linux Ubuntu based Machine and a esp32 which both contain a CAN interface. I am also using two CJMCU-230 transreciver. The Problem is that everytime when I connect the rx and tx of the Linux ...
CheerThe2nd's user avatar
0 votes
0 answers
150 views

Run Wifi (Intel AX210) with Single Antenna

NOTE - this was originally asked at Superuser, but they suggested I ask it here. Is it possible to run an Intel AX210 chip using a single antenna? I've got an embedded project where a single antenna ...
johnnyb's user avatar
  • 147
0 votes
0 answers
20 views

An rcu_preempt detected stall on Embedded Linux bootup due to USB device tree?

I have a custom board with a Xilinx ZynqMP Ultrascale+. The board is similar to a ZCU106 but it has two USB ports. The ZCU106 has one. When first attempting to get USB1 to work - which is the second ...
Terence D's user avatar
6 votes
0 answers
142 views

Vivante video memory size?

I'm using an NXP i.MX 8MP, with Vivante GC7000UL and GC520L GPUs. Using the Etnaviv open source drivers. For the life of me, I can't figure out how much video memory is made available to the GPUs, nor ...
jaskij's user avatar
  • 1,233
0 votes
1 answer
85 views

Data collector: how much power will my system use (Linux vs. RTOS)?

This is about a data collection device. It mainly contains a Linux operating system, various data interfaces such as RS232/RS485/CAN/SDI-12/RJ45, etc., and a communication module for 4G and satellite ...
zilong li's user avatar
0 votes
0 answers
310 views

How can I improve real-time response on an ARM processor?

Why do my attempts to run a 1ms timer with low jitter fail? How can I improve it? I am working on an STM32MP1, but it should be similar on a more common Raspberry Pi board. The goal is to have some ...
Adrian Maire's user avatar
0 votes
0 answers
58 views

LIS2DE12 accelerometer data reading through UMFT201XB

I am trying to read the acceleration data in the X, Y and Z axes from the LIS2DE12 accelerometer which is connected to an I2C-to-USB adapter, it is UMFT201XB. I am using a virtual machine in ...
Escris's user avatar
  • 1
2 votes
1 answer
730 views

What is pull up and pull down on a pin?

I am not getting clarity on how pull up, pull down, and GPIO values work. If a pin is input and pull up, does it make the value 1? If a pin is input and pull down, does it make the value 0? If the ...
confused_guy's user avatar
4 votes
2 answers
721 views

Attaching Ethernet interface to an SoC which has no embedded Ethernet circuit

We are developing an ARMv8 processor based SoC which doesn't have ethernet IP inside. Now it's in FPGA form. Currently I'm using SD card interface to load Linux and file system. But during the ...
Chan Kim's user avatar
  • 173
0 votes
0 answers
54 views

How to find Vendor ID and Product ID of Sim900a

I have been trying to get my Sim900a detected on my Ubuntu. In order to follow the instructions of SIMCom here and here, I need its vendor ID and product ID to be put into ...
Thermal_insulator's user avatar
0 votes
1 answer
79 views

ESP32 and Linux module integration [closed]

I'm an IT Engineer, I code, but I have a little skills with electronics. I'm making my first project and I need your help to not mess my departure :) I would like to start my prototype and I think ...
KiMaN's user avatar
  • 111
0 votes
0 answers
151 views

Health check for Lichee Pi Nano with UART

I have a Lichee Pi Nano SBC, TTL Adapter (UART) and 8 GB SD-Card. Following pins connected together: ...
alirezaarzehgar's user avatar
1 vote
1 answer
202 views

Modbus gateway and VCOM configuration using Linux

I am connecting a Modbus Gateway (USER-TCP232) to a Linux PC. The thing is that it does not use MODBUS TCP, it just packs the RTU data frame over TCP, so I cannot use MODBUS TCP in the PC, I must use ...
Developing Electronics's user avatar
0 votes
1 answer
210 views

Esp32 Dev Board fails to communicate with external power source

I'm using a 38pin wroom dev board. It works fine when it is powered by USB, however, if I cut VCC line from usb, and directly supply the board at the 5V (as it is supposed to have an internal vreg to ...
Marcelo Silva's user avatar
0 votes
0 answers
1k views

Assert and de-assert in reset

I'm reading linux reset controller driver codes and found assert and deassert: ...
Chen Li's user avatar
  • 125
0 votes
0 answers
1k views

Why can't I connect to the STM32F103C8 with j-link using swd?

I am learning to work with stm32. I have a stm32 "bluepill" for that. I have done a couple of simple projects with it. But now I have a problem, I can't figure out what I'm doing wrong. I ...
Kaper Di's user avatar
1 vote
1 answer
150 views

What is the easiest way to replace a design inside an Intel Cyclone SoC? [closed]

I would like to integrate my VHDL submodule to the FPGA fabric of an Intel Cyclone SoC and make it communicating with an App on its Linux. There is lot of documentation on the internet but I am not ...
dsp_curious's user avatar
0 votes
1 answer
608 views

NVIDIA Jetson custom carrier board does not booting when PCIE device is attached. How can I track the problem?

I have designed an custom NVIDIA Jetson carrier board based on P3449-B01 Jetson Nano Carrier Board reference design by NVIDIA. The carrier board is working fine, the linux is booting up, however when ...
D_Dog's user avatar
  • 453
1 vote
1 answer
376 views

Shared storage between microcontroller and Embedded Linux system

I'm working on a project in which I have to solve this problem. I'm not sure if it's unique, but it's certainly not one I've seen before so I thought it'd be interested to get some input from people ...
Sensors's user avatar
  • 1,315
0 votes
1 answer
386 views

CAN bus - voltage drop with new component

I am trying to connect a new board to my CAN bus and I have an issue with the voltage. The new board is a Raspi 4 and has a "RS485 CAN HAT" connected to it. To debug, I use can-utils. When I ...
MKH's user avatar
  • 1
9 votes
8 answers
6k views

Kicad 6 can't find default library components - new install

New to Kicad, have just installed via the new 6.0 release. When I try and add a symbol, I get a "load error" pop-up with the following (heavily truncated): ...
Ben Bird's user avatar
  • 434
0 votes
0 answers
121 views

Get zeros when read flash STM32F405

G'evening! I'm working with a board on STM32F405RTG6 (unfortunately, I can't post a photo of the board). When I try st-flash read filename.bin 0x08000000 0x000FFFFF ...
ONamaeWa's user avatar
0 votes
2 answers
163 views

Transferring large amount of data between MCUs running Linux and FreeRTOS

I have two MCUs: one running embedded Linux and the other FreeRTOS and I want to be able to send variable-sized payloads between them and large amounts of data (probably upto 5K bytes or so). Ideally, ...
xyf's user avatar
  • 335
-6 votes
2 answers
182 views

Do all printers have Linux operating system in them so they can have colour LCD, network and USB support? [closed]

I have found that recently all printers have a complex GUI on small LCD. Also, for a long time now, they have had network and USB support. Now they can also connect via WiFi and print directly from ...
gyuunyuu's user avatar
  • 2,043
1 vote
0 answers
393 views

Implementing a USB hub with MITM (packet interception) capabilities

I'm working on a project in which I essentially need to implement a USB hub that also contains an embedded Linux SoC that would man-in-the-middle the connection between an upstream USB host and a ...
console.slog's user avatar
0 votes
0 answers
80 views

Embedded Android for custom device

I am using a SOC (System on a Chip) attached to some peripherals like camera and screen. Since this is not a very common hardware setup like a Raspberry Pi where there are adapted android builds for, ...
Chatdeschroedinger's user avatar
1 vote
4 answers
297 views

Understanding Raspberry Pi/SBC's at the same level as microcontrollers [closed]

I'm a fourth-year EE student and I have just recently started to dive a bit deeper into trying to understand how microcontrollers work at a low level when it comes to running code and performing its ...
cEEa's user avatar
  • 473
0 votes
0 answers
703 views

flash at32f403 with st-link using openocd

I'm trying to flash my hoverboard which has the at32f403 chip and the procedure to do that according to the github is describe in the link below: https://github.com/cloidnerux/hoverboard-firmware-hack ...
Bruno Pimenta's user avatar
0 votes
1 answer
204 views

Xilinx Zynq7k 020 linux, error when compiling u-boot

I get the following errors when compiling u-boot (SoC Zynq7k 020) What I did: git clone https://github.com/Xilinx/u-boot-xlnx.git ...
Chip115's user avatar
  • 111
1 vote
1 answer
97 views

The idea of instantiating posix timer for each command to send and there are multiple commands

I'm writing a linux-based app using posix timers, and the idea is to send certain commands over UART every specific intervals. For instance, <CMD-A> needs to ...
xyf's user avatar
  • 335
3 votes
1 answer
439 views

Beaglebone Black CAN bus overlay does not work

I'm trying to use the CAN1 bus on the Beaglebone Black board (the pins at P9.24 and P9.26). First I tried the config-pin commands to change the pinmux mode from its ...
morimn's user avatar
  • 93
0 votes
0 answers
2k views

Problem with USB to RS485 design (CH340B linux)

We designed USB to rs485 converter, which is working fine. We designed now software, which is transmitting really lot of data. Baud is 19200. We are now facing problems, that converter stops receiving/...
douce's user avatar
  • 71
1 vote
0 answers
1k views

How to run LTSpice from terminal in Linux?

I've installed LTspiceXVII on my linux machine and it is running fine, but I cannot get it to run a simulation using the terminal. This is a necessity for me since I want to automate a circuit via ...
Al-Baraa El-Hag's user avatar
0 votes
1 answer
196 views

buildroot, building linux kernel

I have a task to build buildroot with a new kernel for arm iMX287, buildroot version is 2018.02.4, used to build with kernel 4.14.67, now I'm trying to build with kernel 5.10.48, the kernel builds ...
Ivan Ivanovich's user avatar
2 votes
1 answer
1k views

VL805-Q6 USB 3.0 Host Controller - Windows Freezing Problem

I have designed a PCB that converts from PCIE to USB 3.0 using VL805 - Super Speed USB 3.0 Host Controller. here you can find my OrCad Design. My PCB works perfectly on Ubunto 20.10 and it has a ...
Firas Abd El Gani's user avatar
0 votes
0 answers
55 views

occasional EEPROM corruption in phyCARD

I am trying to find a root cause for corrupted EEPROM in phyCARD PCB. PhyCard is so called "System on Module". You can find some more info here: https://www.phytec.eu/product-eu/system-on-...
prideofisland's user avatar
0 votes
2 answers
335 views

How to load an executable program on an STM32F401 without using an online compiler?

I am a newbie to embedded system. I decided to buy an STM32 board to get started. The problem now is that I would like to know if there is a simple way to write some C++ code in a simple text file ...
RIXS's user avatar
  • 1
0 votes
3 answers
657 views

Linux command-line C compilers for PIC10F200

What I have a Raspberry Pi with Raspberry Pi OS Lite 32-bit (a port of Debian with no desktop) environment installed PIC10F200 microcontrollers a PICKit3-like programmer I want to compile C and ...
Foad's user avatar
  • 233
1 vote
1 answer
238 views

Using Msp430G2 UART for programming HM-10 & ZS-040 on linux

I want to pair Bluetooth with computer. I want to sent some data and plot them over Bluetooth. But following two not giving any response on serial connection. I need to connect Bluetooth module which ...
maxemilian's user avatar

1
2 3 4 5
8