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.
354
questions
-1
votes
0
answers
19
views
Processor SDK Linux Default Image on BeagleY-Ai cannot Boot
I am trying to install TI Linux SDK and its SD Card image named tisdk-edgeai-image-j722s-evm.wic.xz for AM67A processor provided from TI on the BeagleY-Ai evaluation board. The board doesn't boot.
I ...
0
votes
0
answers
23
views
Bootloop on LillyGo T-Dongle-S3 [closed]
A week ago, I received a LillyGo T-Dongle-S3 from AliExpress, and I tried to flash it with Echo Stretch PS5 Redirect Host using the LilyGo S3 (16MB) PS5 2in1 etaHEN 1.8B file from the es7in1.site ...
2
votes
1
answer
283
views
FT232 stops being recognized after wiring ESP-01S on Ubuntu
I'm trying to use a FT232 (this specific one) to flash ESP-01S boards from an Ubuntu 22.04, plugging just the FT232 i can see it with lsusb, but after desconnecting,...
0
votes
1
answer
47
views
TTL232 read with a FT232BL USB converter
Gentlemen,
I'm trying to read a "TTL232" source from a Coulombmeter (TF03K, "Baiway TF03H v35" on the board) that has the following pin on the board: "RXD", "TXD&...
0
votes
0
answers
22
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 ...
0
votes
0
answers
81
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 ...
0
votes
1
answer
109
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 ...
0
votes
0
answers
23
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 ...
1
vote
0
answers
186
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:
...
0
votes
2
answers
118
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?
-1
votes
1
answer
850
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 ...
1
vote
0
answers
507
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.
...
0
votes
0
answers
104
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 ...
1
vote
1
answer
88
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 ...
0
votes
0
answers
191
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 ...
6
votes
0
answers
180
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 ...
0
votes
1
answer
93
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
373
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
61
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 ...
2
votes
1
answer
998
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
772
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 ...
0
votes
0
answers
58
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
84
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 ...
0
votes
0
answers
169
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
250
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
1
answer
225
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
1k
views
Assert and de-assert in reset
I'm reading linux reset controller driver codes and found assert and deassert:
...
0
votes
0
answers
2k
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
154
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
664
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 ...
1
vote
1
answer
436
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
1
answer
422
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 ...
9
votes
8
answers
7k
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
0
answers
131
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
3
answers
204
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
2
answers
220
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
0
answers
465
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
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, ...
1
vote
4
answers
380
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
0
answers
780
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
214
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
1
answer
110
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
1
answer
460
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
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/...
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 ...
-1
votes
1
answer
231
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
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 ...
0
votes
0
answers
57
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
369
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
3
answers
743
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 ...