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
36
votes
5answers
13k views

What's the simplest Linux capable board I could make at home?

I'd like to make a single board computer capable of booting Linux, with my low-tech garage tools (2 sided PCBs, reflow skillet, no plating through holes). What's the simplest hardware design I could ...
31
votes
7answers
31k views

Linux on ARM Cortex-M3 series

I'm new to ARM and a bit confused with all the diferent series. I need to build a low power gateway (ethernet, wifi...), so I guess a cortex-M or cortex-R will be the good starting point. But it didn'...
30
votes
8answers
34k 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?
27
votes
6answers
29k 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 ...
23
votes
3answers
31k views

AVR - How to program an AVR chip in Linux

I recently got an AVRISmkII AVR programmer, and I have an ATtiny85 and ATmega328. I was wondering how I could program these chips (with the programmer) but when I try getting Atmel Studio 6 it is only ...
23
votes
5answers
11k views

Cheapest ARM with an MMU [closed]

What is the cheapest ARM processor with an MMU so I don't have to use uCLinux? Bonus for non-bga and integrated RAM/Flash
22
votes
5answers
4k views

Cortex-m3 toolchain

I am looking for a free (as in freedom) tool chain for Linux (Ubuntu) that allows me to develop for an ARM cortex-m3 (lpc1343) microcontroller. Where do I find such a toolchain? Are there any ...
19
votes
4answers
61k 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?
19
votes
6answers
12k views

Smallest embedded linux distro?

I like to ask to the experts out there.. What is the best embedded linux distro for: Flash memory ~ 700Kb Ram ~ 256Kb Processor: High end arm cortex M3 (something from STM32 family for eg) Required ...
14
votes
6answers
18k views

How to plot current in ngspice?

I wish to plot out the current and power in ngspice. In the case of voltage, for example, if I wanted to plot the voltage at node 1 I would use: plot v(1) ...
13
votes
7answers
9k views

Program for simulating circuits on linux [closed]

Do you know any program that works on linux and can simulate complex circuits?
11
votes
10answers
9k views

Linux / Mac AVR Programming Suite?

I have been coding and using Arduinos for quite some time now. However I am ready to move up to using straight AVR chips without the arduino bootloader. My question is what are resources to do this? ...
11
votes
3answers
14k views

How do I debug a Arduino Uno with gdb on a Linux pc?

How do I debug (source code single step) a Arduino Uno with gdb on a Linux pc? Please note that I do not like to use AVR Studio in wine or VirtualBox. Question 1: Physical connection How and what do ...
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....
10
votes
5answers
8k views

Embedded linux on FPGA

I have very limited experience with FPGAs (Altera - used only the visual design tools). I am planning for a new project in which I need FPGA and I could benefit a lot from an actual linux running ...
9
votes
8answers
11k views

Best way to install arm-elf-gcc onto a Linux machine

Hey folks, I'm working on a device using arm-elf-gcc to compile code for a MakingThings prototype board. My development machine is a Linux box running Ubuntu 9.10. On a different linux box using ...
9
votes
2answers
10k views

Move embedded programming from Keil to Linux

I'm currently using Keil to develop for an STM32 discovery board. My project is close to finished, and I'd like to move to a Linux based building environment. I've been using the preconfigured ...
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 ...
8
votes
3answers
1k views

Olimex Arm USB JTAG Programmer Problems

I've recently bought an Olimx ARM-USB-OCD JTAG programmer but I've had difficulty getting it to work. My primary system is linux, but I've tested it in window with no luck there either. I'm using ...
8
votes
3answers
6k views

Which microcontroller has good linux supported simulator?

I am looking for a good microcontroller to learn electronics. EDIT I want develop on linux, and I wish there is a good linux supported simulator. I want use C language.
8
votes
5answers
4k views

Firsthand experience with Linux AVR IDE

I am looking for some input into getting a good integrated development environment set up for AVR programming under Linux (Assembly and C). My studies gave me some limited practical experience with ...
8
votes
2answers
11k views

Best Linux filesystem to use on MMC memory chip?

I have a new embedded Linux project coming up. The hardware team has chosen an MMC Flash chip (part # MTFC64GJVDN-4M) for the system's non volatile memory; data sheet at http://www.micron.com/parts/...
8
votes
2answers
778 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 ...
8
votes
1answer
5k views

Can an ATmega or ATtiny device signature be read while running?

While programming an ATtiny or ATmega, avrdude prints the device signature, in this example it is an ATtiny. avrdude: Device signature = 0x1e910a Can I read this ...
7
votes
4answers
4k views

What's the best bootloader for an embedded Linux board?

I'm designing an embedded Linux board for use as a web-based controller. It will be based around an Atmel AT91SAM9G20, which uses an ARM926EJ-S core. Anyone have particularly good or bad experiences ...
7
votes
1answer
4k views

Most reliable Flash memory for an embedded Linux system?

What would be the most reliable Flash memory hardware to use for an embedded Linux system? I.e. one that has the least chance of losing data or getting corrupt when the power goes down? The Flash ...
7
votes
4answers
2k views

Strategies for mapping an area perimeter with a mobile robot

I'd like to build a bot that when placed in an area would have the ability to find the perimeter of the area and map the obstacles present. Later it should be able to navigate to different parts of ...
7
votes
8answers
2k views

eZ430-Chronos Development on *nix?

So I just got my TI eZ430-Chronos Dev kit (a runners watch & eZ430 micro dev combined), and I am chomping at the bit to start playing around with my new toy. I have just a few issues the ...
7
votes
1answer
3k views

How to develop for .NET Micro Framework on Linux?

Is there an IDE which will allow me to develop for the .net Micro Framework on Linux? Maybe MonoDevelop?
7
votes
2answers
1k views

Problems programming LPC1343 microcontroller in Ubuntu

When I copy a binary that works on a lpc1343 to the mounted usb-device representing the lpc1343 flash, the binary file is changed and does not work. Doing the same with the flash mounted via usb on ...
7
votes
3answers
6k views

What development boards have good RTOS support?

I'm looking for a relatively low-cost (<$50 would be ideal) development board with real support for an RTOS. It doesn't matter if the RTOS is manufacturer-supported or a separate project, but I'd ...
7
votes
2answers
3k views

AVR debugwire in Linux

So, I have hooked up a ATtiny88, and am programming it with the Dragon AVR using ISP. I have also set up the build toolchain, using avrdude, and the gnu avr tools. Everything is working great. Now I ...
7
votes
2answers
7k views

What is the difference between context switching and interrupt handling?

I'm an embedded developer. I haven't worked with RTOS/linux. I was going through RTOS concepts when I stumbled upon 'context switching'. I understand that when context switch occurs, all the registers ...
6
votes
3answers
3k views

Is it normal to have SPI Clock with varying duty cycle?

I am working to get an SPI interfacing radio module on embedded Linux system. This particular module (RFM12B) is already ported onto Raspberry Pi. Now I am working on OMAP4 based systems. I noticed ...
6
votes
5answers
1k views

Cheap PIC programmer, must be Linux compatible

I'm comfortable with working on Arduino based projects, but I'm looking to start experimenting with PIC programming. How would I go about building my own pic programmer? I thought there must be a ...
6
votes
1answer
4k views

Driving a 12V door strike from 3V3 BeagleBone?

I'm trying to control a 12V electronic door strike lock from my 3V3 BeagleBone. Here's a diagram of my circuit: My circuit probably needs a NPN transisor of some sort, but I'm not sure which one ...
6
votes
1answer
5k views

TI Launchpad MSP430 on Serial in Linux

The MSP-EXP430G2 LaunchPad Experimenter Board User's Guide (Rev. C) in chapter 3.2 states: The LaunchPad includes a pre-programmed MSP430G2553 device [...] Press button P1.3 to switch the ...
6
votes
2answers
2k views

How do I get started with uCLinux?

Right now I have ported an application from LPC2478 to Cortex M3 (LPC1788) and things are working fine at 120MHz. I am thinking of porting uCLinux to my LPC1788 custom board. The board consists ...
6
votes
1answer
252 views

Memory mapped peripheral on NAND bus

I have an embedded system that is not cost effective to roll a custom PCB therefore my access to certain buses are limited. I had the idea of hooking my FPGA up to the unused NAND port of the system ...
5
votes
8answers
9k views

Recommendations for microcontroller programming under Linux [closed]

Can somebody make me a recommendation of some stable development environment (platform + programmer device + sw/ide) for beginning programming microcontrollers under linux (not arduino)? I find it ...
5
votes
4answers
4k views

UART, minicom and ASCII

I am trying to send my name (Ziga) through my micro-controller UART periphery to my PC. GND, Tx, Rx lines from micro-controller are directly connected to the UART-USB converter CP2102 which is pluged ...
5
votes
1answer
148 views

Storage in embedded linux

I am basically from a background of small microcontrollers(arm7,cortex-m series). As I started working with a cortex a8 board(beagleboard xm), I always wonder how to store applications in flash/ram ...
5
votes
1answer
158 views

How JTAG affects system load?

Although the question is general, for discussion purpose let us assume TI's OMAP platform and Linux. If I connect a JTAG device to debug it (or a JTAG tool runs on OMAP platform) , how the system ...
5
votes
1answer
607 views

An overhead of running program on Linux vs embedded bare-metal

Let's say I have some multi-core ARM Cortex-A. Now I have there a Linux, with RT_PREEMPT patch (so called real-time Linux). I run a processes with affinity set to one core and high priority (above 50)...
5
votes
1answer
1k views

Altera Cyclone V - Linux & FPGA interrupt handling

I need to propagate an interrupt from my custom FPGA IP core to the HPS system of a DE0_nano_SoC (Cyclone V HPS-FPGA architecture) and handle in Linux. I have googled quite a lot to confidently say ...
5
votes
1answer
691 views

How can I access the MCP3008 ADC chip with linux spidev?

There is quite a bit of bit-banging sources to work with this 10-bit resolution chip, but I'd like to know if this kind of chips are natively supported by Linux. Primarily I'd like this to be in C, ...
4
votes
5answers
1k views

Embedded Linux start, Help

If i had a good knowledge in Java programming and know some information about Microcontroller, Can i begin to learn embedded linux? if not, how can i start in this field?
4
votes
2answers
1k views

In what cases would one need to use embedded linux or a kernel on a microcontroller?

I have already written bare metal software and used FreeRTOS on embedded devices. But I would like to understand why some people choose to use embedded linux or a kernel on an embedded device? In what ...
4
votes
2answers
3k 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: ...
4
votes
3answers
4k 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
2 3 4 5 6