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
-3 votes
0 answers
63 views

Where custom LINUX firmware is stored on this PCB? [closed]

Can someone tell where on this custom PCB linux firmware is stored and how to copy it?
0 votes
1 answer
45 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 ...
0 votes
0 answers
6 views

How to Access Terminal Over Serial Port in Raspberry pi 4 [migrated]

I'm trying to Read and Write over Serial Port to Terminal in Headless Linux That I Installed on my Rpi4. is That even Possible? is so, how?
0 votes
0 answers
80 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 ...
0 votes
0 answers
24 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 ...
  • 1
2 votes
1 answer
148 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 ...
4 votes
2 answers
537 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 ...
  • 143
0 votes
0 answers
101 views

How to identify Winbond W25Q64.V spi-flash chip replacement

I am trying to flash coreboot on to a Thinkpad T440p. It has two BIOS chips - "upper" 4MB and "bottom" 8MB. I use a Raspberry Pi 2 B+ and the skulls project to program in-situ (...
  • 101
0 votes
0 answers
41 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 ...
0 votes
1 answer
63 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 ...
  • 111
0 votes
0 answers
59 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: ...
1 vote
1 answer
73 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 ...
0 votes
0 answers
56 views

HDMI Debug Help

I have a custom PCB that contains an iMX8 module and a HDMI connector. The iMX8 module when connected in the manufacturers dev board can drive the HDMI display. From my custom PCB it cannot drive the ...
  • 11
0 votes
1 answer
106 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 ...
0 votes
0 answers
373 views

Assert and de-assert in reset

I'm reading linux reset controller driver codes and found assert and deassert: ...
  • 115
0 votes
0 answers
831 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 ...
1 vote
1 answer
134 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 ...
0 votes
1 answer
391 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 ...
  • 433
1 vote
0 answers
104 views

Is it possible to create a Linux for SoC FPGA design that directly links with hardware peripherals? [closed]

An FPGA SoC device may have many hard IP like USB, SPI, I2C e.t.c. Linux is an operating system where it creates a layer between the user and the hardware so we do not have to write low level VHDL ...
  • 10.1k
1 vote
1 answer
156 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 ...
  • 1,275
0 votes
1 answer
192 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 ...
  • 1
9 votes
8 answers
4k 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): ...
  • 394
0 votes
0 answers
70 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 ...
0 votes
2 answers
131 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, ...
  • 305
-6 votes
2 answers
98 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 ...
  • 1,557
1 vote
0 answers
202 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 ...
0 votes
0 answers
77 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, ...
1 vote
4 answers
153 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 ...
  • 198
0 votes
0 answers
396 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 ...
0 votes
1 answer
169 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 ...
  • 81
1 vote
1 answer
50 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 ...
  • 305
3 votes
1 answer
291 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 ...
  • 83
0 votes
0 answers
725 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/...
  • 29
1 vote
0 answers
733 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 ...
0 votes
1 answer
142 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 ...
2 votes
1 answer
739 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 ...
0 votes
0 answers
43 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-...
0 votes
2 answers
200 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 ...
  • 1
0 votes
3 answers
367 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 ...
  • 223
1 vote
1 answer
174 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 ...
2 votes
1 answer
333 views

STM32MP157c SPI clock will not idle high

I am trying to run crystalfonts lcd cfaf240320a0024sc (https://www.crystalfontz.com/product/cfaf240320a0024sc-240x320-full-color-touchscreen-tft-2-4) with stm32mpu over SPI. The LCD controller is ...
0 votes
1 answer
118 views

openocd using linux [-Werror=implicit-fallthrough=] error - hoverboard - AT32f403 chip

I'm trying to reprogram my hoverboard which has the AT32f403 and using st link with openocd and ubuntu. I started to do the steps presented in the video: https://www.youtube.com/watch?v=l0KIMjl1BoU&...
0 votes
0 answers
504 views

Is uCLinux support ARM Cortex M0?

I just do some Google Search about this and it just shows me something like uCLinux on Cortex M3,4. Is it possible to run uCLinux on ARM Cortex M0? (And how? Please give me some reference for that.) ...
0 votes
0 answers
55 views

What is it called when a WiFi chip advertises its own SSID so users can connect

I am not sure which stack should I post this, but here is my question: when you buys these WiFi-enabled gadgets, when they turn on they advertise a SSID where you can connect to it and enter your ...
  • 641
1 vote
1 answer
108 views

Image processing on alinx board

I'm trying to use the Alinx board to get images from industrial cameras, process those images, and determine the size of the object showing in the image. I'll read the image using USB (from the PS ...
3 votes
1 answer
2k views

USB to RS485 converter on Linux [closed]

I have a USB to RS485 converter: It has a CH341 chip, that is all I know about it. When I plug it in, I can see that it is bound to port ttyUSB0. I want to be able to send and receive bytes from PC (...
0 votes
1 answer
110 views

What are the display parameters for a TFT LCD?

I want to use this display with a system on module running Linux. I need to configure the device tree below with the parameters for the display so it will work properly. A description of these ...
1 vote
0 answers
785 views

Moving from LTspice to Ngspice

I wrote a python script that automatically generates and runs LTspice netlists. It runs perfectly on both Windows and Mac. Few ...
2 votes
2 answers
860 views

PCI express devices are required to support MSI: what does that mean?

I am a bit confused concerning an issue I had with a PCI Express (PCIe) card used to interface serial device on a Linux computer. The card is based on the XR17V354 chip from MaxLinear. From the ...
  • 129
0 votes
0 answers
108 views

Embedded Linux Project on Qualcomm Snapdragon S2 (MSM8655)

I have my old blackberry 9900 device, I am interested to start a project of modifying and installing linux inside. To do so I need user manual of the processor (which is turning out hard to find) even ...

1
2 3 4 5
7