Questions about programming parts (FPGAs, Flash, etc.) Many software programming questions should be asked instead on Stack Overflow.
4
votes
3answers
90 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 ...
1
vote
2answers
197 views
Using a computer, to turn on a light bulb on and off many times
I build my own pcs, like coding (a little bit) and into engineering.
What I want to do is basically take my computer, hook it up to a circuit with a light bulb and then run a program that will switch ...
0
votes
1answer
39 views
Value of FNOSC in the configuration of my code
I am using PIC24FJ64GA002 and I have configured my setting for PIC as following.
...
3
votes
1answer
691 views
How to offset program location in memory with MPLABX XC8?
I have a bootloader residing at locations 0x0000 to 0x0fff on an 8-bit PIC18F. How do I tell the XC8 compiler to output a hex file which starts at 0x1000?
With a CCS compiler my friend is using, he's ...
0
votes
1answer
166 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 ...
-2
votes
0answers
38 views
Digital Audio Filter: Delay, Echo, and Pitch Conversion [closed]
I'm using dsPIC Starter Kit (DM330011).
And I want to put those three stuff as a main functions.
Delay: when you speak on Microphone to record it and play it through speakers, hear your voice in 2 ...
0
votes
0answers
55 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 ...
-2
votes
0answers
66 views
Getting a programming job with an EE degree [closed]
Info: I am a junior at a university with a REALLY selective CS program, and because of a 3.2 in a math class, they didn't admit me. I will reapply, but this is my last shot. Being a programmer has ...
2
votes
2answers
116 views
How can we alter a single pin of ATxMEGA128?
this might be a basic question but I did try searching for the answer before posting the question.
So, I am trying to set one of the ports to output. I used
...
2
votes
1answer
165 views
Programming to read X-10 over USB or Serial
Does anyone here have experience writing a program that would receive signals from Visonic, or other X10 sensors such as door detectors or motion detectors?
Essentially, I would like to write a ...
3
votes
1answer
62 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
131 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 ...
0
votes
0answers
100 views
NetFPGA testbench
I'm aware of the normal way to build a new project for verilog and I'm aware that normally the projects are initiated with a script, however; can I ask if their are any standalone testbenchs that I ...
8
votes
2answers
27 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 ...
-5
votes
1answer
49 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
74 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 ...
5
votes
3answers
237 views
How do I program a PIC12?
I have a PIC12F675 that I need to program. I'm using a Pickit 2 and the Pickit 2 software. Supposedly I should be able to program it using this circuit, but the Pickit 2 software is not detecting the ...
5
votes
1answer
814 views
Why does my ATtiny13 report wrong device ID?
I am using an Arduino (with ATmega168) as an ISP programmer to program ATtiny13. When I try to do this, avrdude reports:
...
4
votes
3answers
174 views
MPLAB 8: Hotkey for “Program Target Device”
I am looking for a hotkey that will have the same effect as "Program Target Device" from the toolbar or menu.
...
0
votes
4answers
141 views
How do I get started with PIC programming? [closed]
So I opened up a big bucket o' worms asking this question. Two of the answers mentioned that instead of using a 555, a PIC10F200 or PIC12F675 may do the trick.
Now, I've been spoiled with Arduino's ...
6
votes
5answers
221 views
Programs resistant to hardware issues
I recall at one point reading about embedded development where the programmer took into account things like memory corruption and possibly other hardware issues. For example:
If an instruction in ...
1
vote
1answer
146 views
Pointer Size using eeprom.h with ATmega328p in AVR-GCC
I am working on a project that randomly reads and writes large blocks of data from EEPROM, based on user input. I have used the EEPROM before, but I never really thought about this. In the operations ...
2
votes
1answer
110 views
Control multiple LEDs using an IC and PC/Linux thru USB
I've already tried to search this topic but all Google results said that this isn't possible. Is there any chance of controlling multiple LEDs using a PC/Linux, through USB? The diagram might look ...
2
votes
2answers
93 views
Programming a PIC with a PIC
I'm building a device with two PICs, a PIC18F46K22 and a PIC16F88. I have a buffer on the 18F46K22 which contains a program that I want to write to the program memory of the 16F88. I can't do this ...
5
votes
2answers
678 views
Using multiple external interrupts in PIC
I've used PIC16F877 (datasheet) for several projects. For a single external pin change interrupts, you can use PORTB0 interrupt. ...
1
vote
1answer
60 views
How do I know what the right signal amplifier to use is in order to program a hall-effect sensor?
I am trying to look for a signal amplifier in order to program the sensitivity and offset of the A1362 Hall-Effect sensor.
Doing a simple google search reveals:
...
1
vote
1answer
210 views
Programming/Debugging with ICD3 and PIC16F819-I/P
ICD3 passes internal test with MPLAB IDE using the Test Interface Module
PIC16F819-I/P supports ICSP and In-Circuit debugging source.
ICD3 pinout is as follows (source):
...
0
votes
1answer
102 views
Maximum clock frequency for multi-cycle vs pipeline
Suppose you have latencies:
IF: 10 ns
ID: 11 ns
EX: 12 ns
MEM: 13 ns
WB: 14 ns
What is the maximum possible clock frequency for a pipeline with this design? I ...
1
vote
0answers
74 views
zigbee Range protection
I have a problem with zigbee project. Two things have to work :
1) zigbee range should be minimized to 10m from 100m
2) If a zigbee node moves out of zigbee network, then it should be sensed by ...
4
votes
3answers
143 views
ICD3err0045 - PIC16F819 Programming
After posting: Programming/Debugging with ICD3 and PIC16F819-I/P
I'm still getting the MPLAB error:
ICD3Err0045 - You must connect a target device to use MPLAB ICD 3
My Setup (pinout and wireup):
...
1
vote
2answers
123 views
How do I know if my hall-effect sensor is working correctly?
On pg. 18 Figure 5 of this data sheet you will see a pulse train required to program the sensitivity of the A1362 Hall-Effect sensor.
I am using the following circuit:
Using Figure 5 from the ...
0
votes
1answer
56 views
How do we OR two bits in ATxmega128?
I am working with ATxMega128 and programming it in C.
I have two inputs coming from a sensor and I want to turn on an LED when I get output from either of the sensor.
I can blink my LED if i get ...
2
votes
1answer
217 views
Is it possible to program a hall-effect sensor with an Arduino?
On pg. 18 Figure 5 of this data sheet you will see a pulse train that allows for programming the sensitivity of the A1362 Hall-Effect sensor. So far I have tried to manually apply required voltage ...
4
votes
1answer
182 views
How to properly open and close files “inside” a member function? [closed]
I am using Arduino Uno and the Ethernet Shield with a 2GB SD Card. I have the following working code intended to be used to write data on the SD Card (note: the SD Library is properly initialized and ...
3
votes
1answer
207 views
Implementing a continuous time transfer function in PC code
I have a transfer function like this:
\$ H(s) = \frac{1}{Ts + 1} \$
I converted it into a difference equation to solve it iteratively:
\$
H(s) = \frac{Y(s)}{X(s)} = \frac{1}{Ts + 1} \\
TsY(s) + ...
2
votes
1answer
45 views
Large range delay at medium frequency for MC
I have a program that varies the step time and duty cycle for a 6 step commutation sequence. It takes an 8-bit ADC result and stores it as the TMR0 value, when TMR0 overflows, the ISR selects the ...
2
votes
5answers
132 views
Micro-Controller Programmable Selection
I have searched a lot and I can't seem to find a micro-controller that I can program in C++. Can someone please help me find a micro-controller (besides Arduino) that I can program C++?
1
vote
2answers
135 views
Problem on printing “Ethernet.localIP()” to Serial Monitor
I am using Arduino Uno and the Ethernet Shield. I have the following code:
...
3
votes
1answer
123 views
Can I use ICSP if components share MOSI/SCK pins?
I'm designing a circuit with an ATmega32U4 where I will need to burn a boot loader once installed on the PCB. I currently have 4x 74HC595 Shift registers, sharing the MOSI & SCK pins.
Will I ...
-2
votes
1answer
149 views
Design of a system to measure the speed of a falling simulated raindrop
I would like to know if using an IR emitter and a photo-transistor would do the job. Here are the specs of the photo-transistor.
Also I'm using the Arduino Uno board; any tips on how to program it ...
5
votes
4answers
273 views
How to think while working with VHDL or Verilog
All of my experience belong to general purpose programming languages e.g; c/c++ etc where each instructions are executed one after the other but it seems in VHDL/Verilog, all the instructions are ...
-1
votes
1answer
82 views
How to ANDed bitwise in assembler?
Say I have a variable set to 30. In binary, 30 = 11110. I'd like to test some bits and then perform an action. For example, if bit 4 is set AND bit 3 is set AND bit 2 is set AND bit 1 is set THEN ...
13
votes
10answers
3k views
Programming languages for electronics engineers
I am an Electronics and Communications Engineering student, before I got to college, I have been interested in programming and computer applications. I had focused on designing Windows applications ...
8
votes
3answers
4k views
13
votes
11answers
1k views
Why is Embedded Strictly C/C++ [closed]
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 ...
-2
votes
1answer
104 views
How Can I Program a Universal Application Keyboard? [closed]
IMPORTANT NOTE: This is a question from who has no experience and knowledge on this area. So before giving negative rep, please provide constructive suggestion.
I want to program a universal ...
1
vote
1answer
165 views
Accelerometer and Transistor
Here is my program, I want to:
The microcontroller, Arduino UNO R3 sends 3.3V to the sensor, Accelerometer, MMA7361
The sensor turns on and send signal to the microcontroller.
When I move the sensor ...
3
votes
6answers
1k views
How do I write to SPI flash memory?
I'm working on an audio application where instead of storing audio data on an SD card (Waveshield on Arduino) I'm storing it on an SPI flash memory IC and rolling my own board with MCU, DAC, and amp.
...
6
votes
8answers
2k views
Embedded C programming material
I am looking for some material (books/sites) related to embedded system programming in C language.
Here in the lab we have available three plataforms: one Microchip PIC18f4550, one Freescale HC12 and ...
5
votes
1answer
174 views
Multi-Device JTAG
I am designing a circuit. it will include ARM LPC1769 and AVR ATmega2560. I want to program these chips with JTAG. Now, the question is:
Is that possible to do it with a single JTAG programmer ...




