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

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

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 ...
1
vote
1answer
59 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 ...
0
votes
1answer
66 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 ...
3
votes
4answers
284 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): ...
0
votes
0answers
32 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
2answers
81 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, ...
-6
votes
2answers
84 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
vote
0answers
71 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
0answers
59 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
4answers
88 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 ...
0
votes
0answers
50 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
1answer
49 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 ...
1
vote
1answer
30 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 ...
3
votes
1answer
136 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 ...
0
votes
0answers
141 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/...
0
votes
0answers
174 views

Shownig RTNETLINK answers: Operation not supported while setting CAN bus modes

I'm new to CAN bus and I'm trying to write some data frame on CAN bus from a CAN node to another CAN node. I have enabled CAN device driver through my build source. But whenever I try to select mode ...
0
votes
0answers
110 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
0answers
17 views

How to identify which region of the mother plate belongs to a temperature zone identified as ACPI Temp 1 or ACPI Temp 2

I'm having problems with a notebook, which reboots when a certain temperature zone exceeds 40 degrees, but with the board's temperature sensor and the operating system and linux tools, I can get ...
0
votes
1answer
73 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 ...
1
vote
1answer
420 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
0answers
30 views

BOE LVDS Display Troubleshooting

I am trying to bring a LVDS display up. Display: BOE EV121WXM-N10-1850. Datasheet: Link Driving MPU : STM32MP1. I am using VisionSoM STM32MP1 based evaluation Kit. Link The firmware changes required ...
0
votes
0answers
37 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
2answers
87 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 ...
0
votes
3answers
173 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 ...
1
vote
0answers
54 views

Connecting bluetooth module to pc via UART on linux

I want to pair Bluetooth with computer(T440P). 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 ...
1
vote
1answer
118 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
1answer
36 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
0answers
82 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
0answers
53 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 ...
1
vote
1answer
69 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 ...
0
votes
0answers
35 views

How to connect IO-Link sensor to a Linux running machine?

Some sensors I need to use have IO-link interface. Our infrastructure in Linux based (RPi, Jetson and servers with Intel CPU), and we could integrate device that communicates via Ethernet, RS232, I2C, ...
2
votes
1answer
535 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
0answers
52 views

bias-disable vs bias-high-impedance GPIO in Devicetree

What is the difference between bias-high-impedance and bias-disable? I would like to completely deactivate some GPIOs that are causing conflicts on my board. I have two pins acting as default as I2C. ...
0
votes
1answer
67 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 ...
0
votes
0answers
19 views

pyupdi 1s timeout in readline

I just installed pyupdi and it works, but is very slow. I googled this and AVRfreaks says something about delay settings which seems irrelevant in my case (while ...
0
votes
0answers
21 views

pymcuprog AvrCommandError: AVR response DAP command failed

I am trying to use pymcuprog with Atmel-ICE and a trivial ATtiny406 board. The Atmel-ICE and ATtiny406 board are working fine together in Atmel Studio. For Linux, I ...
1
vote
0answers
276 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
2answers
353 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 ...
0
votes
0answers
60 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 ...
0
votes
1answer
89 views

Why don't I need device drivers for a UART to communicate with a Linux box but need device drivers if USB is to be used for communication? [closed]

I have a Linux box. I want to troubleshoot certain things and I was told that I need to custom solder pins to communicate using UART as perhaps it doesnt have device drivers to communicate using a ...
0
votes
1answer
113 views

USB device detection problem on a Raspberry Pi

I have a device constructed from a Raspberry Pi 3 B and an AVR based USB device. The interconnection of these components is depicted in this picture. When RPI is on, data lines of keyboard will be ...
0
votes
1answer
108 views

STM32F769I display not showing framebuffer content

I am trying to get video to work on STM32F769I device. What I have done already is that I have changed the device tree so it has the required support and enabled the kernel features required for it to ...
2
votes
0answers
71 views

Configuring UART pins on Beaglebone Black for CAN Interface

I have been using a CAN/RS485 Cape for prototyping CAN control of a motor. I am now in the process of bringing up some custom hardware. I have a CAN Transceiver SN65HVD230D on this custom cape that is ...
2
votes
0answers
634 views

FT232H/FT2232H mount as /dev/i2c-x

SBC like Raspberry have the 40 pin header which contains a I2C master. This is a accessible via /dev/i2c-0. I would like to achieve the same thing on my linux laptop (ubuntu) using the FT232H chip. I ...
0
votes
3answers
178 views

Electronics before Linux [closed]

I have been learning about the basics of electronics, and reverse engineering hardware using UART connected to my computer. I find it interesting how I can access the busybox which is Linux and then ...
0
votes
1answer
101 views

Can not launch u-boot spl

I bought some SOM modules with AM335x on board (PH8700). The SOM is completely blunk (both eMMC and EEPROM). So I have to build u-boot spl first and load it via XMODEM. The problem is that u-boot spl ...
0
votes
1answer
352 views

How to flash binary code to the NUCLEO-F207ZG device?

When I want to upload a binary file executable.bin to the STM32F407G device, I connect it to the PC using the mini-USB cable and execute the command ...
-1
votes
1answer
217 views

How to flash a large binary file to the 512-Mbit Quad-SPI memory of the STM32F7308-DK board?

I have a STM32F7308-DK board: I want to upload my custom binary code.bin for the board to execute it and display output on the screen. For that, I downloaded and ...
0
votes
1answer
92 views

What does it mean to send CAN messages at 10Hz or 100Hz? Is this configurable on Linux SocketCAN

I understand the meaning of message transfer speed, i.e. a theoretical maximum of 1Mbit/second, and the 8Mbit/second in the CAN FD. That's essentially the rate at which bits are travelling on the ...
0
votes
1answer
307 views

USB2244 enumeration failure

I have a PCB with a USB2244 USB to SDIO bridge IC connected to a Raspberry Pi Compute Module 3+. I (think I) designed based on the schematic circuit for the USB224x evaluation kit EVB-USB2240-IND. ...

1
2 3 4 5
7