The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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

STM32F429 Discovery ucLinux [on hold]

I'm new to Linux. I Have to Design a custom board and Ported Linux on it. for a few days, I'm searching for this. I have some question and I need your help. 1- Emcraft sells BSP for the stm32f429 ...
0
votes
1answer
124 views

ARM SoC UART interaction with peripheral UART

I am sorry that I couldn't find this answer in this site or web. I have an ARM SoC(Host) which needs to communicate with the peripheral having ARM Micro controller using UART. Linux runs on top of ARM ...
0
votes
1answer
43 views

Safe shutdown Embedded Linux on Power-Down

I am not very experienced with Embedded Linux, just some projects with the Raspberry Pi. I would like to know if there are any recommended ways to shutdown the Embedded Linux if the device's power ...
1
vote
0answers
41 views

What is the role of the ROOT COMPLEX in a microprocessor system (PCI Express)

I have been learning about the Linux kernel and the most common bus type i always encounter is the PCI bus. As an electronics Engineer, i decided to look at how this bus works as it seems to be the ...
0
votes
0answers
19 views

USB 3.0 VS MIPI CSI-2 camera interface on Embedded Linux system. Which one is better from both hardware and software perspective?

I have a Sony FCB series camera (1920x1080) and looking for a better interface protocol to connect it with processors like NXP, TI or any similar embedded processor. The camera has a LVDS out port ...
0
votes
1answer
230 views

HSPICE -mp -mt options for Ubuntu

I was reading part of the hspice tutorial, I found that, there is a multiprocessing option: "hspice -mp [process_count] -mt [thread_count] -i input.sp -o output_file" "Note: Running both MP and MT ...
0
votes
1answer
42 views

How do I connect a bno055 chip to a Linux pc via an FTDI UART breakout sensor?

I want to create a C++ (or C) program that reads in a stream of Quaternion data from the bno055 Adafruit chip. My set-up at the moment has an Ubuntu PC as the controller. Plugged into the PC is a ...
2
votes
2answers
75 views

how to determine architecture core detail of ARM11 processor

I'm cross-compiling for an embedded Linux board, based in BCM5892 ARM11 processor. I need to know about architecture detail of this processor(‘armv6’, ‘armv6j’, ‘armv6k’, ‘armv6kz’, ‘armv6t2’, ‘...
1
vote
1answer
49 views

Why can't the bootloader save and log messages for us to view later [closed]

I have a problem whereby a remote BeagleBone device is taking hours to boot up. When it does, I don't see any problems in the kernel boot logs such as journalctl -b or journalctl -b -1 Without having ...
1
vote
2answers
111 views

Linux (OS) on Custom Hardware (Custom Motherboard) [closed]

We are designing and producing our custom high-speed boards consisting of FPGA and gigabit ethernet signals. Hence, we are not professional for high-speed motherboard design but know some issues like ...
1
vote
1answer
314 views

alternative to NAND chips

The company I work for is manufacturing a device with ARM processor and embedded Linux. At the time of the project (a few years ago) our consultants relied on NAND flash chips with UBIFS as filesystem,...
3
votes
1answer
120 views

Debugging dual LVDS display panel color issue

I'm on TI's AM5708 platform (custom board) trying to drive this Full HD panel via TI's DS90C387 Dual-Pixel Display Interface. The SoC outputs 24bit RGB into ...
0
votes
1answer
207 views

LVDS display troubleshooting

I am currently working on a prototype connecting a SOC-board (Samsung ARTIK530) to a LVDS LCD display (DT070BTFT-PTS1). The display shows a very (!) distorted picture. I have tried fixing it using ...
0
votes
2answers
67 views

Building NXP QN9020 firmware on GNU/Linux?

I just inherited a project that is based on the NXP SDK samples, (not quite sure which one). It is currently being built with µVision 4; but I would like to convert the build system to use ...
1
vote
0answers
50 views

How are MBIM transaction ID's supposed to be used?

Situation I am developing a product that will use this Sierra Wireless HL7618RD Cat 1 LTE modem. I am interfacing to the modem over USB using a small SoM running a Debian flavor of Linux. The modem ...
0
votes
1answer
135 views

ST-LINK Version 2 on Arch Linux not working

IMAGE LINK: https://ibb.co/yfFvwQP I am using Arch Linux as my main os. I have just started embedded dev and am setting up my env. I am having an error connecting to my St Link V2 debugger as shown ...
0
votes
0answers
31 views

Compiling Linux for an H8/532 microcontroller?

Can I compile and run Linux on an H8/532 microcontroller? From what I've read, it is possible for some of the models. Family: H8 Specific Model: HD6475328CP10 Research http://lkml.iu.edu/hypermail/...
0
votes
1answer
67 views

PCIe - EqualizationPhase

In linux, do lscpi command: we can see LnkSta2: EqualizationComplete-, EqualizationPhase1- Sometimes the EqualizationPhase1 is EqualizationPhase1+. Can you ...
0
votes
1answer
38 views

Set alternative editor for ModelSim

I want to set an alternative editor in ModelSim. I tried How to configure my favorite editor in ModelSim? and after I set the altEditor I get "unknown command external_editor". Unfortunately my ...
-3
votes
1answer
41 views

How to convert a netlist to circuit diagram? [closed]

I was working on both verilog and ngspice. I found out a verilog can be converted into VLSI CSD design with microwind or qflow. My question is, Is it possible to convert an ngspice netlist to ...
3
votes
1answer
163 views

How to use the BeagleBone's PRU with a modern kernel?

I am trying to implement a basic LED blinking program on the PRU. Up till now what I found are guidelines for old kernel versions (old in the sense 3.8 to 4.4 kernel version). Details of my ...
2
votes
3answers
116 views

Why system energy is equal to 1/f?

I am studying Intel speed shift. I see a slide: Reference I don't understand, why the green line 1/f means system energy, I think more performance should need more energy as the red line (compute ...
3
votes
1answer
3k views

Picotux alternatives available? [closed]

I wanted to use a tiny Linux computer to read data from I²C bus. I knew there was Picotux, and I was thingking about buying one. But the website is down, so I guess there's no Picotux anymore. :( ...
0
votes
0answers
42 views

Linux Digital I/O Sparkfun IOIO-OTG

I would like to control two RF switches using 2 or 3 digital I/O lines accessible as a USB device in Linux. This is similar to 0x378 parallel ports in ancient i386/i486 hardware. I was hoping to use ...
0
votes
0answers
649 views

Dual MIPI cameras on Firefly RK3399

I am trying to set up dual MIPI cameras with a Firefly RK3399 development board running Android as 'demonstrated' here. The RK3399 has dual MIPI-CSI camera ports which can be used with an OV13850 ...
0
votes
0answers
41 views

Custom PCIe DMA on Cyclone 10GX FPGA burst read stucks

I'm writing a custom DMA machine to read and write data to the host system from FPGA memory. I use the Altera PCIe IP core as end point device in Avalon-MM mode. BAR0 is set as 64bit bar, Avalon-MM ...
8
votes
4answers
1k views

What is needed to go from single Ethernet to many?

I have an embedded Linux system with a single Ethernet port, but I need to go to many ports. It is obvious I need to add magnetics and ports. The trickier parts follow. My processor has an on-board ...
0
votes
1answer
41 views

Changing the Linux SDK in the embedded platform [closed]

I am using an embedded platform that has Linux SDK version 2. It supports only gcc 4.9.2. Is it possible to configure the system to run gcc 8?
2
votes
1answer
82 views

[Last Update]Simulating an RLC circuit with the 1N3880 in ngpice did not show any results or graph

Im trying to do a transient response analysis with ngspice/gnucap and gspice UI of the next RLC circuit (corrected the source polarity), to find the damping effect in the system. That with the next ...
16
votes
4answers
53k views

SPICE Simulator at Linux

What is the better choice to get opensource SPICE simulator on Linux? I am fan of Proteus (Windows) is there any alternative like it?
1
vote
1answer
98 views

How to send multiple command without using delay to serial port?

I am writing a serial communication program on LINUX to send command to PIC32 MCU. When I am sending two command one after another as given in program MCU will perform action on first one only and if ...
3
votes
0answers
222 views

SPI comunication - Only receive 0xFF (Linux)

I've been stuck in setting up the SPI communication in Linux and can't figure out any solution. I working with a beagle bone black, which runs Linux. I have a piece of code that send data through the ...
0
votes
0answers
69 views

How to set minicom to a baudrate of 6M?

I am using minicom to test the USART from my STM32. Now i want to test my USART at a baudrate of 6 MBaud, but if i type in minicom -b 6000000 it opens minicom ...
0
votes
1answer
79 views

USB Power Only - Detect Device Plugged In [closed]

I have a project that I need to complete for work. We have been working on this project for a while, however I have come to a bit of a road block. I'll first lay out the important points. We have a ...
0
votes
2answers
168 views

Software needed for ATMEL ATMEGA8A-PU microcontroller in Ubuntu 18.04? [duplicate]

A few days ago I discovered a ATMEL ATMEGA8A-PU microcontroller and I wanted to write code on it . But I don't know what software to use in Ubuntu 18.04 for the microcontroller. Can I use the Arduino ...
4
votes
2answers
2k views

Composite HID gamepad descriptor works on Windows but not on Linux

I am building an USB adapter for an old game controller. So far everything is working fine. My HID descriptor looks like this: ...
0
votes
1answer
169 views

What does it mean when i2c_smbus_read_byte() returns 0

i2c_smbus_read_byte() returns a negative value when there is an error in reading data. But what if it returns 0? Following is the code from adt7316-i2c driver ...
1
vote
1answer
236 views

Avalon-ST PCIe root port in an FPGA

A buddy of mine and I have a project in which we have to implement a PCI Express rootport. I haven't read the entire specification, nor do I have the Mindshare book that everyone recommends, but I ...
0
votes
1answer
88 views

AVR programmer necessary? [closed]

I have an atmega168pb and I've noticed that there is a difference in how the board can be programmed between Windows and Linux. On Windows using Atmel Studio you can select an ISP interface and it ...
4
votes
3answers
3k views

ARM Linux and UBoot - Can I make a read-only MTD writable?

I have several embedded Linux devices installed at customer sites. We have an updated Linux kernel we are prepared to deploy to these devices. The problem is that on these devices, the U-Boot ...
1
vote
2answers
545 views

HDMI (ADV7511) Output Design on Zynq zc702

I am relatively new to embedded systems, so please forgive my ignorance. I am attempting to build a hardware design in Vivado which supports console output on HDMI, using the Zynq ZC702 running ...
-3
votes
1answer
263 views

which IDEs are available for Freertos with Stm32 IDE for Linux? [closed]

Is there any IDE available for Freertos or Stm32 for specifically only for Linux other than Keil uvision. because I found out that Keil uvision is the most stable IDEs available out there for embedded ...
0
votes
2answers
186 views

Booting from SD card in SPI mode

I want to boot an ARM Linux board (Allwinner H3 for example) from a generic (micro) SD card through an SPI interface. Can an SD card accept SPI communication right away or is there any "SPI mode ...
26
votes
8answers
31k views

How do I develop for STM32 discovery on Linux? [closed]

I have an STM32 discovery board and would like to be able to program it on Linux. What is the easiest way to do this?
1
vote
2answers
116 views

Design decision for dynamic firmware loading?

I've noted that some device drivers in Linux have a dependency on the device firmware. The firmware is usually a binary that the driver loads on the device (like a USB wifi dongle). This question is ...
8
votes
1answer
435 views

Command line interface for KiCAD

Is there a way to produce Gerber files from command line in KiCAD (Linux/Unix) or a tool which can do it for me? The same question for SPICE netlist and BOM xml? I need it to automate this process ...
11
votes
1answer
1k views

SPI transaction timeout linux device driver

I am stuck for last 3 days at a point. I am working on eink device driver with msm8960 qualcomm chipset. Scenario: In file: kernel/arch/arm/mach-msm/devices-8960....
-3
votes
3answers
70 views

Use existing WiFi hardware as an RF receiver? [closed]

I have seen mine & many others' (Android) devices nowadays have WiFi hardware capable of connecting with 2.4Ghz & 5Ghz APs. Wanted to know if I could tweak the WiFi driver in the kernel source ...
2
votes
2answers
165 views

How to open up serial terminal for my USB device converter (or, how to enable VCP in linux)?

I am using a new Cyclone V SoC board by Enclustra (Mercury+ SA2) mounted on their PE-1 BaseBoard. To connect to the board serially on Windows platform, I have to connect the board which is detected ...
24
votes
6answers
23k views

Comparison Between SPICE Simulators

I've recently realized that I can't do everything easily in ngspice, mainly because analysis has to be performed through the interpreter. I'm considering switching to a new SPICE simulator. I'd like ...