An embedded system is a computer system designed to perform one or a few dedicated functions often with real-time computing constraints. It is embedded as part of a complete device often including hardware and mechanical parts.

learn more… | top users | synonyms

1
vote
1answer
57 views

Why Linux doesn't get booted automatically only If I changed the BOOT.bin not the zImage, while in the first case it gets automatically booted

I have zynq board ( not the zedboard), it doesn't have all the peripherals of zedboard. I am facing some problem while booting the linux on zynq with my new BOOT.bin. When I used to put the sdcard in ...
0
votes
1answer
64 views

The difference between storage patterns in RAM or SD cards from EEPROM [closed]

I have used EEPROM to store data in embedded systems. I would like to know about the pattern of RAM and SD cards which were used to store data. Is it that complex in terms of using RAM or SD cards? I ...
2
votes
1answer
60 views

Firmware reliability for over temperature detection

I am speaking about an industrial equipment that is generating gas. It is under certification test (CE marking) IEC 61010 in a third party lab. In the device there is an over temperature detection ...
0
votes
1answer
81 views

Netduino Interrupts Affected By PWM - Diagnosis of Issue

I've got a funny problem with interrupts and PWM signals that's causing false interrupts to trigger. What exactly is happening is that I'm using a hardware debounced quadrature rotary encoder. The ...
3
votes
4answers
195 views

Available Guidelines for Interrupt Driven Processing

Are there any available guidelines for the amount of code to have in a critical section of interrupt driven processing? My personal rule of thumb is that the critical portion, (i.e. that between ...
0
votes
1answer
52 views

Tutorials on embedded programing using Zynq 7020 with ARM processor

Just as the question states. I have been having trouble being able to just test out the programming side of the ARM processor on the TE0720 board. I have been searching online for how to setup the ...
2
votes
1answer
62 views

bitbanging i2c problem with ACK from slave

I am trying to implement bit-banging i2c to communicate between an atmega128A's GPIO and an SHT21 (I2C bus was used for some other devices). The first task is to send a write sequence to the SHT21. ...
16
votes
2answers
804 views

Firmware protection on AVR and PIC controllers

Can someone extract the HEX file that I burn in a microcontroller I provide them? If that is possible, how can someone ensure that their code is secured in embedded systems? In the case of PIC and ...
2
votes
1answer
50 views

difference between POR and other resets

everyone. I would like to ask you about the difference between Power On Reset[POR] and other Resets because in PIC18 controller datasheet i have seen a statement like: ...
1
vote
2answers
87 views

Persisting circular buffer throughout C code

So I have a circular buffer on an embedded device that I need to persist throughout the code. Specifically, I need to have it be able to be used in the main and also in an interrupt handler (these are ...
0
votes
1answer
85 views

STM32F207 I2C errors

I am learning embedded development on the STM3220G-EVAL board with the STM32F207 microcontroller. I am testing the I2C interface by interfacing the two I2C2 and I2C3 modules on the same chip and ...
3
votes
0answers
118 views

Using C++ in resource constrained environments [closed]

In the past I've been using C (or ASM) to develop microcontroller firmware. It's what I learned during my EE studies. It seems though, that the job market here has a high demand for C++ developers in ...
1
vote
0answers
78 views

What software/frameworks should I use for a production-ready embedded design? [closed]

I am a university student starting an embedded system capstone design project. We are trying to build something along the lines of a wireless datalogger, basically: wifi for sending data to a ...
0
votes
1answer
192 views

How can I power Beagle Bone Black with 3.7V LiPo?

I want to power this board with a 3.7V LiPo battery (due to small form factor) such as this. Would I need a step-up DC converter or something? And where on the BBB would I connect it?
0
votes
2answers
209 views

PIC program LED on off with same push button

I have written a small PIC program in mikroC for turning on and off an led with same push button. That is pressing the switch will turn on the led and if the same switch is pressed again the led will ...
13
votes
6answers
1k views

Use of global variables in Embedded Systems

I started writing firmware for my product and I'm a rookie here. I went through many articles about not using global variables or functions. Is there any limit for using global variables in an 8 bit ...
8
votes
5answers
382 views

What tools or standards can be used to improve embedded C code reliability?

I typically program PICs in C, usually for switched-mode converters. I've heard of various static analysis tools and standards like MISRA C that can be used to help improve the reliability of code. ...
2
votes
2answers
135 views

Basic Embedded Firmware testing essentials and Software Test plan [closed]

I am trying to make an embedded product, but I'm new to firmware testing and want to make sure I don't miss anything. What are the things that need to be checked for its firmware performance? Proper ...
0
votes
1answer
86 views

Deferred callback manager / software timer library for PIC32

I'm looking for a software timer library for embedded systems, especially PIC32, free or commercial. I'm NOT looking for a full-blown RTOS with threads, I/O, etc. - just for the software timer ...
1
vote
2answers
289 views

Professor said my embedded system design is incorrect, what did I get wrong?

The problem: Your embedded system has an 8-bit microprocessor, which has a 16-bit address bus. In addition, you have a 32-Kbyte FLASH chip, and a 8 KByte RAM chip. You want to locate the FLASH chip ...
1
vote
2answers
622 views

Best practice to keep main() in embedded systems

I would like to know one thing about keeping the main() in embedded coding practice. I have a stand-alone system that have n ...
1
vote
2answers
152 views

How to make Arduino Duemilanove Atmega 168 store instructions and act acording to them [closed]

I'm trying to make a small car with Arduino for kids. I have connected 2 DC motors at the end of chassis and one spinning wheel which is able to rotate for 360 degrees and L293NE IC with my Arduino ...
13
votes
3answers
350 views

When do we need an Operating System in Embedded System Design?

I have written plenty of bare metal code for PIC and x86 processors. Can someone tell me how and when should I need an operating system? Conversely, what application or situation can be dealt with ...
0
votes
2answers
122 views

How to add security to your Product

I've been trying to build up certain Embedded systems and i wonder how people make them secure. Or else it would have been reproduced well. I know there is an extent to provide security if you are ...
0
votes
0answers
33 views

What is the good start to get on embebbed system? [duplicate]

I'm sophomore of EE. I have interests in embedded system but doesn't know which is the good start on this field. Please recommend everything that you guys was/are experienced to a fresh engineer Thank ...
1
vote
1answer
123 views

How to reduce noise in audio playback

I am doing a project using a PIC18F25K80 to stream live audio through ZigBee. I used the PIC audio development board (Microchip) as my reference circuit. In this circuit the in-built ADC of the PIC is ...
4
votes
1answer
181 views

Measuring a smartphone's power consumption

Scenario: A smartphone (Nexus S) battery is charged via USB connection, connected with a laptop. A measuring device (USB Tester) is running between laptop and smartphone. Observation: The measured ...
3
votes
1answer
257 views

Problem Reading PIC18F4550 Input

Hi I am facing some problem with Reading the input from a PIC18f4550 , for a simple arrangement where when a switch on (switch = 1), few led should glow., and on releasing the switch the led should go ...
0
votes
1answer
70 views

Which chip to use for automation using Wifi? [closed]

I am working on a project where I will be controlling a device using android mobile phone (WiFi as medium). Which is the chip at present in the market which is low cost and effective for my ...
2
votes
1answer
99 views

Working with a BQ4285 RTC from Texas Instruments

I recently acquired a BQ4285 Real-Time Clock manufactured by Texas Instruments... And I have one major problem! I have little idea how to use it. I am trying to connect it to an Arduino Mega 2560, ...
2
votes
1answer
148 views

how to keep mutual exclusive between interrupt and task in ucos-III

I am running ucos-III on a board which has stm32 cpu and a gyroscope sensor. now I make a interrupt in response to receiving data from gyroscope, and than save data into one buffer. on the other side ...
1
vote
0answers
72 views

PIC 24F output port not clearable

I am working on a VGA driver for a PIC 24F microcontroller. I have set all B and C ports for OUTPUT with TRISB = 0 and TRISC = 0. After scoping I noticed that one of my pins always stays high after it ...
1
vote
3answers
224 views

What is SOC in embedded System

I am new to Embedded domain and wanted to know what exactly is SOC(system on chip) means? Is it like we different hardware component on CPU chip(like RAM on CPU chip) or on the same embedded board we ...
0
votes
0answers
53 views

Enable SNTP in PIC32MX795F512L

How to do to enable SNTP in PIC32MX795F512L? Here i am using TCP/IP Stack Version 5.36. I have just defined #define STACK_USE_SNTP_CLIENT any more things to do ...
1
vote
1answer
67 views

How to display characters on LCD with FreeRTOS

I ported FreeRTOS on EFM32 based kit by EnergyMicro. After porting I want to develop a simple application that will display Hello World on the LCD. When we talk about windows OS, we have a function ...
1
vote
1answer
48 views

Using a Logic Analyzer for Device Drivers (low level)

Sort of a follow up to this question: http://stackoverflow.com/questions/19760764/learning-to-write-low-level-drivers-linux/19761953?noredirect=1#comment29386523_19761953 For example I want to take a ...
1
vote
2answers
2k views

STM32F4 (Discovery board) universal delay (milisecs) function

On the net, I have found following function for delay in miliseconds for STM32F4 (Discovery board MCU): ...
1
vote
2answers
118 views

What book or website should i refer for stm32f0 development from scratch (Ihave worked on AVR microcontrollers ) [closed]

What book or website should I refer to for STM32F0 development from scratch (I have worked on AVR microcontrollers)? I am searching on net for good resources but unable to do either they are very ...
3
votes
2answers
84 views

If a clock edge matches with data output edge what should SPI read?

I have an analog to digital converter that reads in and sends data out on falling edges. I also have two MCU's the FEZ Hydra and the FEZ Cobra. I've noticed using the oscilloscope that the data into ...
5
votes
3answers
419 views

Why do embedded systems need to be programmable?

According to my understanding, certain types of embedded systems are dedicated to a particular task. Why, then, do engineers not transfer all the burden of processing onto the hardware in the form of ...
2
votes
1answer
183 views

Why is hardware multithreading not more common in embedded systems? [closed]

Hardware multithreading is common in personal computers (most Intel x86 systems support two threads per core), servers (POWER7, 4 threads per core; SPARC T5, 8 threads per core; SPARC64 VII+, 2 ...
-4
votes
1answer
105 views

Some questions before starting with the PIC32 [closed]

I am not completely new to embedded systems, but need to brush up/learn several topics like OS, C, C++, Networking, microprocessors, etc for an exam that I have to take. I have some interest in ...
1
vote
3answers
540 views

Driving a high power (200mA) LED with a GPIO and NPN transistor

I'm trying to get my head around how to properly use NPN transistors to limit the needed current from my Raspberry PI GPIO. I want to drive a Luxeon Rebel LED from Phillips ...
0
votes
1answer
84 views

Embedded software app testing

The software app being developed runs on the embedded hardware and spits the debug output through a serial port during various functionality of the app. Following are the questions. Can I use the ...
6
votes
1answer
172 views

Fixed point trigonometry for embedded aplications

I need to do rotational (and other) transformations in an embedded application, requiring the sin() cos() and tan() functions. I know you can use look-up tables, and that's the only solution I could ...
3
votes
3answers
164 views

PIC warning 364 related to initialization of const

There are no answers to this on the internet that I could find, and I've looked twice over the last 4 months. In MPLab v8.88 using the Hi-Tech ANSI C Compiler, I have this line of code: ...
3
votes
1answer
139 views

Reasonable CPU power usage for solar panel powered system with battery

I am building a system using an embedded board that appears to use about 1/4 to 1/3 AMP according to my bench power supply. Is this low enough power consumption for this system to be run off of some ...
0
votes
0answers
187 views

Calculating true power/energy usage from battery on smartphone?

I am having some problem to calculate power consumption from android smartphone... First my setup: Android smartphone is connected to PC with USB. Both smartphone and USB do not provide their own ...
1
vote
1answer
80 views

DDR2 CAS Latency - is it fixed to clock-cycles or time?

We have a (new, prototype) board that is, at best, temperamental. It's using a Micron MT47H64M16HR-25:H DDR RAM, the design reference board uses a Micron MT47H64M16HR-25E:H. Only one letter different, ...
1
vote
0answers
91 views

When a smartphone is connected to a charger (USB), does it use battery or charger as it's main power supply? [closed]

When a smartphone (fully charged) is connected via USB to PC (or to charger) does it uses charger or it's own battery as main power supply? Battery is supplying about 3.8-4.1 V and USB ~5V.