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
16 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
79 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
29 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
2answers
64 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 ...
0
votes
1answer
57 views

PCIe - EqualizationPhase

In linux, do lscpi command: we can see LnkSta2: EqualizationComplete-, EqualizationPhase1- Sometimes the EqualizationPhase1 is EqualizationPhase1+. Can you ...
0
votes
1answer
35 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
37 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 ...
2
votes
3answers
115 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 ...
1
vote
1answer
75 views

Linux (OS) on Custom Hardware (Custom Motherboard)

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 ...
0
votes
0answers
41 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
40 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 ...
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?
3
votes
1answer
151 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
1answer
78 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 ...
1
vote
1answer
89 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 ...
0
votes
0answers
53 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 ...
3
votes
1answer
92 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
76 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
151 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 ...
0
votes
1answer
134 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 ...
0
votes
1answer
176 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 ...
1
vote
1answer
210 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
85 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 ...
-3
votes
1answer
242 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
170 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 ...
3
votes
0answers
213 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
586 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 ...
1
vote
0answers
46 views

Controlling GL646USB GPIO pins

I have this USB scanner from my dad that was made back in 2002, that apparently uses an old all-in-one GL646USB chip from Genesys to control the stepper motor, CCD sensor and provide some GPIO pins. ...
8
votes
1answer
366 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 ...
-3
votes
3answers
69 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
145 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 ...
2
votes
2answers
290 views

socketCAN vs OEM drivers

I have a Kvaser mPCIE card on my embedded Linux machine. Most standard Unix distributions come with a socketCAN driver module which takes care of any CAN devices present in the system, hence I can ...
0
votes
1answer
248 views

Set of Gerber layer files (*.GBO, *.GBP, …) and how to merge them into a single file in Ubuntu

I'm new to electronics and PCB projects, but I would like to be able to print a board for the following (so-called) power board: Here's the project: https://github.com/mlab-upenn/f1tenthpublic/tree/...
0
votes
2answers
91 views

How do you develop with CAN bus? [closed]

I'm pretty new to CAN bus stuff and I'm a bit confused about how should I start the development. There are a lot of different USB-CAN interfaces, but are there "easy" ways to generate test traffic ...
1
vote
3answers
888 views

SPI interface returns only ones (0xFF)

I'm trying to register an SPI device to my Angstrom Linux (kernel version 3.10) in order to use an ADC chip (LTC2258) for my custom board. Processor that I2m using is Cyclone V, and FPGA handoffs ...
0
votes
2answers
297 views
0
votes
2answers
63 views

Change memory content of FPGA SoC (DE1-SoC) using software while .sof (EPCQ) is running on FPGA

I am new to FPGA and FPGA-SoC world. I have a DE1-SoC board. I am doing a project. Hardware design of the project contains a memory block which is initialized using .mif file. I know that we can use ...
-3
votes
1answer
749 views

Uclinux vs Linux [closed]

Searching Internet, I found an operating system called uclinux which can run on ARM Cortex-M7. How is it different from the orginal Linux which runs on PC?? What about librarys such as QT GUI? Is it ...
0
votes
1answer
291 views

How can I get GPIO working on the Orange Pi Zero Plus (v1)?

When running the pyA20 library in python I get the error: AttributeError: module 'pyA20.gpio.port' has no attribute 'PA0' Or when running gpio readall I get the ...
0
votes
1answer
106 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
103 views

What is the Microcode in the Intel's Linux Microcode update?

I am a bit confused as to the use of the word microcode in the following links: https://downloadcenter.intel.com/download/27591/Linux-Processor-Microcode-Data-File?product=873 https://newsroom.intel....
1
vote
1answer
4k views

Connecting to WiFi at boot on an Orange Pi Zero

I'm using an Orange Pi Zero as a base for a WiFi radio. The basic operation should be Boot Connect to Wifi Load bash script using MPD/MPC to connect to wifi stream Set volume Check potentiometer ...
0
votes
3answers
130 views

using an ADC under Linux for automated current monitoring setup

I'm a slightly overchallenged undergrad ee student. I'm working on a project where I'm supposed to build an automated setup to measure hard disk currents over time. I want to use a Current Shunt ...
0
votes
1answer
58 views

i2c probe happens only alternatively

I have connected a NXP NFC Module (pn7120) over I2C to i.MX6 Board. I tried to check whether the device is detected in the i2c probe command. It didn't detect in the first call, but got detected in ...
1
vote
1answer
300 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,...
0
votes
1answer
51 views

Raspberry Pi CM does not start [closed]

I designed a motherboard for RPi Compute Module (v1). The compute module is flashed with Raspbian and I confirm that I can see the root console on its pins (GPIO14 and GPIO15) when plugged into its ...
0
votes
2answers
388 views

Video compression using low power processor

I'm trying to build a hand held camera with video recording feature. Basic features of camera are Resolution: 640x480 Frame rate: 25/30Hz Video format from sensor: 8-bit grey scale BT.656 (Sensor ...
0
votes
1answer
712 views

i2c read error but probe succeeds

Can you please tell me a scenario where i2c probe gives the slave address but i2c read command fails..
0
votes
0answers
192 views

MIPI DSI Screen Misaligned

I'm currently trying to integrate a 4 Lanes MIPI DSI screen to an iMX6 custom board. As the iMX6 doesn't provide any 4 lanes MIPI output, I am outputting via HDMI and converting the signal through a ...
0
votes
4answers
138 views

Linux on board without 3rd party modules. Where to start? [closed]

I would like to be able to design my own Linux board the way I design my own micro-controller boards. The complexity is obviously going to be higher from PCB design and assembly point of view, but I ...