Tagged Questions

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

learn more… | top users | synonyms

1
vote
5answers
62 views

Editing/Hacking 8031 Eprom code

Not sure if this is the correct place to ask such a question, but here goes. Ok so I mess around with an old 80's drum machine a lot. It's based around an old 8031 Processor Program code is stored on ...
0
votes
0answers
21 views

How to open recent schmatic on Tanner Eda Tools v13.0

This is my first time working with Tanner Eda Tools. I designed the circuit and then I saved the T-spice and S-edit and exported the PDFs successfully. My first problem is that I couldn't open my ...
-4
votes
1answer
70 views

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 ...
-2
votes
0answers
54 views

Currency Converter [closed]

so I would like to ask you guys to help me creating a program of a Currency Converter using mcu 8051 ide software.. using c++ is easier but unfortunately, the task needed us to do it in 8051.. ...
-3
votes
0answers
56 views

Example for currency converter program using mcu 8051 ide software [closed]

I want to ask if anyone have an idea on how to write a program for currency converter using mcu8051ide software. The program is for the connection between the keypad and the lcd of the circuit using ...
-2
votes
0answers
62 views

Currency converter program using mcu8051ide [closed]

i want to ask if anyone have an idea on how to write a program for currency converter using mcu8051ide software. Any country currency also dont mind because I just want to see the basic idea of ...
0
votes
2answers
65 views

Choice of the appopriate conditional statement

I'm measuring the width of a PWM puls with the external interrupt: ...
-4
votes
0answers
12 views

To find object motion by optical flow [migrated]

Compare Lukas & Kanade with Horn & Shunk method , need to know the pro and cons of these in finding the optical flow thanks
0
votes
1answer
53 views

PIN selecting problem over arduino

My schematic as below. I have connected 8 hall sensor as shown in picture. Problem i am facing here is SO, s1, s2 The Led light are not glowing .Even the forard voltage across is 3.9v. i have tested ...
-1
votes
0answers
47 views

how does the soloshot camera tripod work [duplicate]

First off this is a old "ask question" but there was no real answer in the first post so I will ask again... how does it work?? I would like to make one or something very similar. basically a ...
0
votes
1answer
86 views

Temperature stabilization with PWM , PID controller with delay system

I am doing a project to control the temperature with PWM. I use peltier, thermistor,mcu and h-bridge mosfet. I want to reach a temperature with an error less than 0.05 and stay at that temperature ...
0
votes
3answers
107 views

I'm trying to implement interrupt from RB pins. But it doesn't work

I'm new to PIC programming. I made a program to get interrupt from RB pins. but it doesn't work. My code is as follows: ...
0
votes
0answers
37 views

Reading of data from USB2LPT cable IEEE 1284 controller

From PIC controller, I want to read parallel port data using this USB2LPT converter cable. At every print from PC, I just receive 0x1B, and then printing stops. I am using ...
0
votes
2answers
112 views

What would be a good language interpreter to implement into a Microcontroller [closed]

For beginners it is always a problem getting started with microcontrollers. The biggest problem is getting the whole system running and then programming it with C. C is a great language but it has its ...
1
vote
1answer
49 views

How does the PIC's PMCON1.WRERR bit actually work?

I know from the datasheet that it gets set automatically on a rising edge of the WR bit and cleared automatically on a successful completion. Thus, if it's still on, then something went wrong. So ...
-1
votes
2answers
103 views

Can I use math functions in PIC16F877A code?

Can I use exponential (exp) math function in PIC16F877A code? For example like this: double a,ans; a=5.7; ans=exp(0.5);
0
votes
3answers
65 views

Globlal Variable Problem: Pic18f4550 and Pickit3 Debugging

I'm working on a project which includes the usage of the A/D converter module in the micro-controller (pic18f4550). I haven't had any problems in the past with the micro-controller using a pickit3 ...
7
votes
5answers
939 views

How to start reverse engineering a circuit?

I have an old controller card from a pc which had to control some stepper engines. But there are several problems with it: The pc isn't working anymore, and I have no access to the program which ...
-1
votes
1answer
51 views

Is it possible to connect FT2232D's 3V3OUT pin to VCCIO for USB-JTAG programming?

I want to design a USB-JTAG Programmer with FT2232D. And I want to program Xilinx spartan3 FPGA with it, so I need 3.3 volt logic for VCCIO. Datasheet indicates that FT2232D has an internal regulator ...
0
votes
0answers
46 views

Elan microcontroller program not working

I am writing a program for an ELAN EM78P156NP using the WisePlus C Compiler, but my program is not responding when written on microcontroller. Below is the code written, please let me know any ...
0
votes
0answers
96 views

Programming pic24fv32ka301 only works after resetting by turn off

I am only able to program my pic24fv32ka301 after I turn the power off and on. When I try to program the pic without resetting the device, one of the two errors is displayed: ...
0
votes
1answer
65 views

ELAN EM78P156NP microcntroller programming

I am writing program for ELAN EM78P156NP using WisePlus C Compiler ,but my program is not responding when written on micro controller.I am putting the code below please let me know what is wrong with ...
0
votes
0answers
83 views

AtmelStudio 6.2 changes the ISP clock when I try to run a program

I'm having a strange problem with AtmelStudio. I took a few screenshots: Here, atmel studio is open and I check the project settings. ISP Clock is set to 125kHz. This is good. I also check the ...
0
votes
0answers
65 views

Using the UHD (USRP Hardware driver)

I've compiled and built an USRP Hardware Driver (UHD) and want to understand how this driver works. I need to understand the form in which it sends data to a USRP-device, but without using an actual ...
0
votes
2answers
94 views

No response from AVR microprocessor while programming

I've been attempting to program a few different micro-controllers using nothing but an FTDI 5V TTL cable and self-written software to bitbang the needed pins on the chips. Until now I had success only ...
14
votes
10answers
3k views

Do Electrical Engineers use microcontrollers? [closed]

I've always loved to program, and I just recently became interested in electronics and programming microcontrollers. It is very fun, but I am wondering if I am learning something useful that can get a ...
0
votes
3answers
102 views

Reprogram / modify existing products containing microcontrollers

Is it possible to reprogram a device containing a microcontroller if I know the name of the microcontroller and have the necessary equipment to program a clean microcontroller of the same type? To be ...
0
votes
0answers
58 views

ELAN microcontroller programming

I am new to ELAN microcontrollers , I am trying to program EM78P156N using UWTR from ELAN. I am facing problems as I do not know the correct procedure to program ELAN controllers. Can anybody please ...
2
votes
1answer
37 views

Optimum aspect ratio for storing data in Block RAMs

I am working on Xilinx virtex 4 FPGA. I want to store some filter coefficients in Block RAMs. Specifically, I have many sets of filter, each set having 64 coefficient, each coefficient is of 18 bits. ...
3
votes
5answers
1k views

Can an operational amplifier circuit be made entirely out of diode Nand and Nor gates?

I'm not sure whether this question has been asked before, but in researching my question, I came across this user's post (at If-else decision structure using op amps or any other non-programmable ...
1
vote
1answer
225 views

How to intitalize data in Program Memory

Im using MPLAB IDE & C18 compiler to program Pic18f2550. I have to initialize a const string in program memory to save space in RAM how do I do it ?
3
votes
2answers
224 views

Changing to relocatable code for PIC microcontrollers

I've come back to PIC programming after 10 years and I've been relearning everything. I'm looking at the section in the MPASM manual where it discusses relocatable code. And I've come to the ...
2
votes
2answers
545 views

Do I have to use external clock for ATmega ISP programming after changing fuse bits?

After programming an ATmega microcontroller via ISP (SPI) interface and changing the clock-related fuse bits, I'd like to reprogram it again. Will I have to connect it to an external clock now to do ...
4
votes
1answer
293 views

Possible to re-program microcontroller over Bluetooth?

I am looking at making an embedded design featuring an ARM Cortex M3 MCU and bluetooth. I would like to be able to update its firmware over Bluetooth periodically. Is this possible with the following ...
1
vote
1answer
116 views

Is there a way to avoid an infinite loop and reduce CPU power consumption when using PIC and timer0 interrupt?

I have made a simple program that runs on a P12F629 microcontroller, using MikroC. I need ...
1
vote
3answers
178 views

Where do you find out how to program a specific microprocessor?

I have experience with AVRs, by programming them through the SPI port, but right now I'm looking at a Holtek HT46R22 and I can't find anything about how to program this Microprocessor. My question is ...
0
votes
1answer
81 views

using mbed with gps

I am trying to program an mbed micro controller to work with a GlobalSat EM 406 GPS receiver and have got it outputting long and lat to a host computer using the information on: ...
4
votes
2answers
556 views

ISR - to flag or not to flag?

From what I read on the internet we should respond to interrupts as quickly as possible, when programming microcontrollers; and that flags should be avoided because they tend to compound over time. ...
1
vote
2answers
196 views

Memory locations in AVR hex file

I am trying to understand the hex file generated by the AVR Studio. I wrote a code in assembly. The code is as follows: ...
1
vote
2answers
74 views

What are the implications of a ROMLESS device?

I was looking through the microcontrollers area of Digikey and I noticed a device that i'm interested in although there is the description of "ROMLESS" in the program memory type. ...
8
votes
4answers
6k views

How different are 8-bit microcontrollers from 32-bit microcontrollers when it comes to programming them

Right, so we have 8-bit, 16-bit and 32-bit microcontrollers in this world at the moment. All of them are often used. How different is it to program 8-bit and 16-bit micrcontrollers? I mean, does it ...
0
votes
2answers
3k views

Programming an ATMega328 with Arduino bootloader via a FTDI USB-serial adapter

I would like your advice relating to using the Arduino IDE and avrdude to program an ATmega328 which is preloaded with an Arduino bootloader. I am using a USB to TTL-serial breakout board based on an ...
0
votes
1answer
106 views

Programming an EPROM using 8085 kit

I need to program an EPROM/EEPROM with the code for an 8085. I do not have a programmer. I can't buy one. But I have access to an 8085 kit. Can I use it to program the EPROM/EEPROM via an interface? ...
0
votes
1answer
271 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 ...
1
vote
1answer
200 views

Program LPC1343 thru USB bootloader with the right FILE format

I'm having a real hardtime programming my LPC1343 with the method mentioned in this question (Can an LPC1343 accept its initial program over USB?). I am using a Linux machine and arm-none-eabi-gcc. I ...
4
votes
3answers
306 views

Why set PORTx before TRISx?

I was browsing through the example code that MikroE provides for PIC programming using MikroC, and they always set PORTx before setting TRISx. What is the reason for this? Since TRIS just selects ...
4
votes
3answers
2k views

How to Debouce Six Buttons on One Analog Pin With Arduino

I'm using analog pin 5 on Arduino to detect presses from 6 push-buttons. On the picture top-right button is number 1 and then from right to left they go as 2, 3, 4, 5, 6. Program should print 0 when ...
2
votes
1answer
277 views

Arduino Starter Kit, Color Mixing Lamp Project 4

I just started looking into electronics and circuits. I purchased the Arduino Starter Kit to help get me started. I have a question regarding one of the 15 projects it comes with. Specifically with ...
-1
votes
1answer
140 views

PIC 18F252 config settings help

I need to blink a simple LED with PIC18F 252 but I could not figure out the config settings for doing so. I read the datasheet looking for internal oscillator, but I could not find it. I don't want ...
-1
votes
2answers
393 views

How to program Atmel ATtiny88 (not 45 or 85)? [closed]

There are lots of tutorials for programming the ATtiny45 and 85 with a breadboard and Arduino, but how would I program the ATtiny88? It's an 8 bit AVR microcontroller, but it can not be mounted on a ...