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

learn more… | top users | synonyms

3
votes
3answers
83 views

Using a microcontroller to program another microcontroller (on a wireless board)

I am working on a project in which I want to include the functionality of reprogramming the main microcontroller via wireless transmission. First, I have figured there needs to be a dedicated ...
-2
votes
0answers
18 views

bluetooth enabled devices [duplicate]

I am engineering a low-cost attraction and hope to use Bluetooth device identification for proximity detection -- i.e. is guest A within range of static location X. Each guest will be given a ...
1
vote
1answer
98 views

How to set all flags in 8085?

My Microprocessor teacher of 8085 gave an assignment to set all flags ! I have written this little program to set all except Sign, Please help me out ...
1
vote
2answers
99 views

If one has used PIC uC, how different is it to migrate to using a different uC like say Arduino or ARM?

There seem to be quite many vendors making uC and some uC are more popular than others say for example Arduino and PIC because of their low cost and abundant features and ARM because of its high ...
2
votes
2answers
125 views

How different is the Arduino language than Atmel Studio language? [closed]

I see that on the official Arduino website, the reference page contains the functions and vales you would use specified to the Arduino compiler. http://arduino.cc/en/Reference/HomePage What would ...
0
votes
1answer
76 views

Configuration Settings of 18F4550 in a header file

Recently I was wondering if is there any option to move my Configuration bits to a header file?. right now I'm using the 18f4550 microcontroller,with mplabx IDE,and my developed code entirely is in ...
1
vote
0answers
56 views

LTC2498 Temperature Sensor Chip Code via SPI

I would be very grateful for your tips for my present problem definition: I have a microcontroller ATmega128RFA1 with integrated Zigbee with UART-USB(TTL Converter) attached to the PC. From the ...
1
vote
2answers
72 views

Can I program a QUAD SPI Chip with a standard SPI microcontroller?

I have to program a MX25L12835 Quad SPI chip. This is a Quad SPI serial flash. Is it possible to program this using an arduino? Can this be used as a simple 1 channel SPI or can quad SPI interface ...
0
votes
0answers
52 views

How do I program a serial EEPROM IC using a raspberry Pi?

I am trying to program the 25L12835F Serial EEPROM with the firmware of the Pineapple WiFi router. I have the u-boot.bin file from Alfa. I have tried a programmer from eBay, but the software is unable ...
1
vote
0answers
77 views

Electronics Circuits Simulator Framework?

Is there a framework for circuits simulation that I can use through easy APIs? and return me an array of results for each component? I want to build an android based simulator, so a java framework ...
1
vote
2answers
117 views

High Voltage input and output microcontroller

I am new to this, but I am looking to regulate a few ballast controlled fluorescent lamps with a micro-controller. Everything I look at has a low operating voltage and below 10 volt input/output ...
1
vote
3answers
204 views

Delay function in ARM programming

I have just started programming on ARM, I had some experience on AVR but not that much. The question is probably too trivial but the material about ARM is too little on the net... sorry anyways. I ...
1
vote
0answers
44 views

How to debug error of “unknown type name __progmem__”?

I'm using atmel studio 6.1 with a code containing but on compilation conpiler gives error as mentioned above and after googling error,I found that this variable progmem has been depriciated,but no ...
0
votes
1answer
127 views

How do I determine what microcontroller is the right one for my project? [closed]

I have just started developing a tiny GPS trackingdevice that (eventually) will be able to log positioning-data on demand - via SMS commands and/or via a smartphone-application. The device should be ...
2
votes
1answer
54 views

_delay_ms not working with ATmega 16/32

I had purchased an ATMEGA 16 microcontroller and chaged its fuse bits settings and used internal caliberated RC clock with 1000000. Changes done in make file and F_CPU. But it do nothing. Programme ...
1
vote
1answer
56 views

Clocks setup when programming Atmel via ISP?

When programming an Atmel microchip over SPI (ISP), what external clocking do I have to provide to programee? Does it have to match programmer's internal clock frequency, or can be totally different ...
4
votes
2answers
162 views

What concepts in programming are useful in Electronics Engineering? [closed]

I am studying Electronics Engineering. I only took two 3 programming courses. The first 2 are in c++ and I learnt up till pointers, classes and the basics of data structures. The third is mips ...
6
votes
5answers
189 views

How to know usb connection is lost

I am working with AT90USB1287 controller with USB communication to PC. I am sending some commands from PC to controller using USB communication to activate some controlled switch. I am able to change ...
1
vote
1answer
121 views

High-voltage programming of ATTiny13 with AVRISPmkII and avrdude?

I am in the process of learning on how to program ATTiny13-20pu, and am reading this post: http://www.vk2zay.net/article/211 (archived: http://www.webcitation.org/6Imwjmidx ), which explains how to do ...
1
vote
3answers
86 views

What's The fundamental difference between interrupts and delay in embedded programming?

I'm new in embedded programming in C, just getting to understand coding. Is there a fundamental difference between an interrupt function and a delay function? I would greatly appreciate answers with ...
2
votes
1answer
174 views

How to erase PIC microcontroller?

Sorry for such "noobish" question but I've tried to help my son with learning PIC programming. I load some simple asm source into MPLAB and pressed "make and program device main project". IDE build ...
0
votes
3answers
194 views

What do I need to program an ATmega 168?

I use AVR Studio for my compilation and c/c++ code (not arduino).So far I have used a Atmega 2560 development board provided by Nex robotix. I have ISP programmers of the following sorts... AVRISP ...
3
votes
4answers
182 views

Arduino Vs DIY board

The arduino website goes into some of these questions, but not in great detail. So, what is the difference if one were to purchase an Arduino board or make one yourself? What benefits does buying ...
3
votes
3answers
243 views

Logic design for FPGAs using C

I am well aware about programming processors and microcontrollers in C. But can C code (not SystemC) be used for logic design for FPGAs? Are there any specific software tools for this purpose?
3
votes
2answers
170 views

Why are some IC's programmable in circuit, but others aren't?

Why are some IC's programmable while still connected in a system/circuit, but others aren't? What's the determining factor(s) for whether a chip can or cannot? This question stems from my research on ...
1
vote
1answer
119 views

Is programming Arduino a subject of CSE(computer science) at university?

If get admitted in "computer science and Engineering" department of any university, would there be any subject for programming Arduino? This Arduino also looks like a subject of "Mechanical ...
1
vote
1answer
162 views

Xilinx DSP48 Single Slice 18x18 Complex multiplier

I am writing a verilog code for 18x18 complex multiplier using DSP48 single slice implementation in Vertex 4. Here is my code ...
0
votes
1answer
195 views

Programming the 8051 serial

As you see in the figure, programming the 8051 through serial port DB9 connector should be a fairly easy task Connect the two pins of 8051 to max 232 and then to DB9 So the programming circuit of ...
-3
votes
3answers
72 views

Why Hex code not Uploading in Proteus?

I am unable to upload hex code in proteus and get a pop up saying I did this :- Picked up a PIC16 MCU added up a HEX file of the code i created (It is a simple blink code, code is working fine) ...
2
votes
1answer
105 views

What exactly is a Flash emulator, and how does it work?

I read about a flash emulator. Can someone tell me what exactly a flash emulator is, and explain how it works? Is it synonymous with an in-circuit emulator?
2
votes
3answers
185 views

Better workflow in Atmel Studio 6 for building and transferring program

After having modified my code in Atmel Studio 6, I write the program to my MCU in the following steps: Click Build or F7 Click Device Programming or Ctrl+Shift+P Click Apply (to choose ...
0
votes
1answer
85 views

Beginner resources device design/assembly [closed]

During the summer I would love to get into electrical engineering. As background, I'm a computer scientist and as such, I have a fairly decent grasp of basic circuit design and electricity, which ...
3
votes
2answers
639 views

Parallel port output in C++ on Win7 x64

First of all, I have searched the internet all day long, including here on stackexchange, and couldn't find a clear solution. Only ambiguous answers and dead links. Let's start with what I have: my ...
1
vote
2answers
239 views

Sending command using USART

I am new to this kind of communication. I am able to send command from PC to AT90USB1287 microcontroller as well as able to get response using USB communication. Now i have connected another ...
0
votes
1answer
111 views

Saving user input as an array and recalling it later

I am currently working with an Arduino Mega and a SainSmart LCD and I have gotten most of my project to work except for a problem I am currently having. On my LCD screen, I have various buttons, and ...
0
votes
0answers
84 views

API vs Register based programming in ARM based controller

I am working with Stellaris LM4F232H5QD. Should I use Stellaris API or Register based programming, for example, to work with UART. I found - using APIs to program simplifies the work, but poor ...
1
vote
2answers
120 views

ARM Power/Exponential Function

I'm trying to code an exponential function for use on a PWM signal. My question is, does anyone know how to do a power function on an ARM cortex-M (STM32F4 in this case, which has an FPU) ...
0
votes
1answer
496 views

How to program a BeagleBone board?

Until now I used Microchip PIC, to program this microprocessor there is MPLAB. I would like to make a step forward and learn about other microcontrollers. I found the BeagleBone Black quiet promising ...
0
votes
0answers
59 views

Programming an MCU with lpc21isp

I am attempting to move a precompiled binary file (with C code in it) from my mac to my LPC1313FBD48. What steps would I take in order to move the file, and load it onto my MCU so that when I apply ...
0
votes
2answers
96 views

Can this RAM bypass be prevented by making the particular memory controller “not idle”?

AbsoluteƵERØ showed me that memory can be bypassed at the memory controller. Can linux (be made to) detect foreign connections to the ram bus? by showing me this patent: ...
1
vote
0answers
91 views

Coupled LC Resonator in MATLAB

I am designing a dual-mode resonator with the following Circuit Model and Frequency Response! ADS Circuit Model: Frequency Response: I need help with the modelling of my circuit model in ...
3
votes
1answer
78 views

Figuring out the functions of PIC numbers in a data file

I'm using Bumblebee software to interface my Wisp648 PIC programmer. According to the list of supported files for the Wisp, I should be able to program a PIC16F1829. However, that chip isn't supported ...
0
votes
1answer
202 views

Store data in built-in Flash of PIC at runtime using C code

I am designing PIC16F877a based project that counts the number of people in a room and turn ON the relays in accordance with that number like if 5 persons in a room then One relay would be ON. I want ...
5
votes
3answers
867 views

Failed to get Device ID - PICkit 3 & PIC16F684-ICD & AC16205

Like it is already mentioned in the title I have question regarding this dev stack: MPLAB X IDE v1.80 PICkit 3 PIC16F684-ICD (datasheet) AC16205 There is image of how things are connected (I don't ...
3
votes
1answer
71 views

Storing info bytes in ATmega169PA that remain after reprogramming

Does anyone know if there is a way that I can store 2 bytes of data into an ATmega169PA that will survive re-programming of the device? I would like to store a unique ID into an ATmega169PA that will ...
-1
votes
1answer
178 views

Best FPGA to work with [closed]

I want to work on DSP and artificial intelligence for my freshman project, I was thinking on make an FPGA based system, the problem is that I have little experience working with FPGA's; I already know ...
1
vote
1answer
259 views

STM32 program not executing

I am currently trying to make my own stm32 development board. i have stm32f100c4t6 microcontroller mounted on pcb. I am using Atollic True studio free edition. i had made small blink led program ...
9
votes
2answers
144 views

Is it possible to program an Arduino in other languages?

Is it possible to program an Arduino with other languages that aren't C/C++ based? What would be required to do so? I know that other IDE's are available, I'm curious about actual programming ...
-6
votes
1answer
72 views

how we can get original data from S-record format file [closed]

I have a S-Record file how i can get original program from this file plz tell me EXAMPLE ...
-1
votes
2answers
86 views

How to get data from S-record file [closed]

Please tell me something about the S-record file format and how we can get data from it. The first S1 record is comprised as follows: • S1 S-record type S1, indicating it is a data record to be ...