Questions tagged [programming]

Questions about programming parts (FPGAs, Flash, etc.) Many software programming questions should be asked instead on Stack Overflow.

related tags:

804 questions
15
votes
11 answers

Why is Embedded Strictly C/C++

I didn't like this question since it can't be easily answered but perhaps I can rephrase: "What keeps Embedded from changing languages?" For instance, we pretty much see C/C++ for embedded (I think i've heard ADA mentioned before too? correct me if…
user3073
11
votes
3 answers

How do companies pre-program chips?

In particular I'm interested in SMD packages. A DIP package I would assume is simply put into a socket and programmed that way. Of course you could get around this by designing a programmer header into the final product so the code can be uploaded…
helloworld922
  • 16,770
  • 10
  • 56
  • 88
3
votes
1 answer

How reliable is it to write eMMC before soldering it?

I am working on a pet project that has both an SPI NOR flash (for bootloader) and eMMC (OS image). For SPI NOR I will provide a small connector to interface directly into it. Now, since I have never used eMMC in projects I do not know the…
Alexey Kamenskiy
  • 537
  • 3
  • 16
2
votes
2 answers

Why Ring Buffer is preffered for asynchronous communication?

Ring buffers are the go to choice by most veteran embedded programmers for asynchronous communications. Assume that data arrives over UART from only a single source and only when a msg is asked for(Master->Slave,Slave->Master), since codes are…
AlphaGoku
  • 1,013
  • 2
  • 11
  • 27
1
vote
2 answers

Photon flux and the power to 2 LEDS

I am trying to write a program where the user uses a dial to adjust the intesity of one LED at the frequency of Red light and another LED in the same circuit that is at the frequency of Far Red light is auto adjusted to keep the the overall photon…
1
vote
1 answer

Computer Science + Electrical Engineering Project, Angle Projection

I'm looking for some help in a project of my own that i can't get off the ground. I wanted to make some mechanism that can automatically shift to a certain angle based on computer input. Ex. On a computer i enter 48 degrees, the mechanism (which is…
0
votes
2 answers

Programming of Microcontrollers and other peripherals

This is a question based on the theory which I am reading and related to one design which I am trying to understand section by section We are having microcontrollers and some peripherals are connected to it. Microcontroller:…
Freshman
  • 1
  • 9
  • 22
0
votes
4 answers

How to write an EPROM program

We've got some products that use 27C256 EPROMS. The guy who wrote the original programs (many years ago) is gone and we'd like to make changes and write some new programs for some new products and keep it in-house. We've got the burner and all…
Russ
  • 11
  • 1
  • 1
0
votes
2 answers

STM32 production programming?

I made a little board using a STM32F205 micro. For the protos, I just plugged the board into Windows via USB and used STM's DFUSE software to flash the chip with the built in bootloader. That was fine for protos, but each one takes about a minute…
bcsteeve
  • 405
  • 1
  • 4
  • 11
-1
votes
1 answer

Which debugger should I use to flash: RTL8710AF wifi SDK by Keil or IAR IDE

I just bought a Realtek wifi module RTL8710AF and also found its TCP/IP stack Using IAR Workbench but I am confused in choosing the right debugger and its connection to flash my application program.
-1
votes
1 answer

How to write an efficient C code for a firmware

This question is about programming but as its about programming electronics so I thought of posting it here instead of stackoverflow . I have just started my electronics projects. I have designed two applications and have done their hardware and…
S Andrew
  • 621
  • 11
  • 29
-1
votes
3 answers

How can I get started with electronic engineering

How can I get started with electronic engineering i have no experience what so ever but i do know programming languages like java and c sharp. so how can I get started i have budget like $100
-5
votes
1 answer

LC-3 Programming

"Write a program in binary LC-3 machine language. Your program will compute the max of 10 numbers represented in 2's complement format and will store the result in register R5. Your program will begin at the memory location x3100. The ten 16-bit…
user56521
  • 17
  • 1
  • 3