Skip to main content

Questions tagged [programming]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
74 views

I am using a bluepill, and the final case statement is looping constantly from GO_TO_TOP -> COME_TO BOTTOM -> ROTATE_ACTION, the 'top' variable is being latched to '1' at the GO_TO_TOP case ...
Samartha Rao HP's user avatar
0 votes
1 answer
104 views

As demonstrated by the image above, blocks are displayed on the LCD1, even though I've configured and programmed the Blue Pill STM32F103C8T6 board and connected it ...
Reza Jaferi's user avatar
3 votes
1 answer
406 views

I have two identical PCBs that include the same MCU MC68705R3CP. Unfortunately, one of them has an output pin PB4 configured as Darlington drive output that has a high output regardless of the normal ...
Bavly's user avatar
  • 457
0 votes
1 answer
123 views

NEC D78F9177 (8-Bit Single-Chip Microcontroller) Can someone specify, does this MCU support reading the device? It's not clear, does this particular MCU have built-in functions to disable flash memory ...
fxgreen's user avatar
  • 209
3 votes
2 answers
344 views

I was designing my fist STM32 board using the F411RE chip. To program it, I wanted to use SWD and the Nucleo STlinkV2.1 that comes with every Stm32 Nucleo board (in this case also a Nucleo F411re). ...
ZeroN's user avatar
  • 33
0 votes
0 answers
67 views

How can I program this IC? There is almost nothing on the internet and everything is about PAL and GAL. Of course, it is said that all of these are similar, but the above IC is programmed differently ...
128 92's user avatar
  • 9
1 vote
1 answer
62 views

I have a device that works with two voltage levels (5V and 3V3). The first one (5V) is used for addressable LEDs (and other peripherals), and the second one (3V3) for an MCU (STM32F3). The device ...
Humphrey Appleby's user avatar
1 vote
0 answers
80 views

I have been trying to connect the ADS1115 ADC with my Microchip PolarFire SoC discovery kit FPGA board, I have written the FSM for I2C master by collecting the code from various sources because I am ...
Ketan Singh's user avatar
0 votes
1 answer
39 views

I'm programming an Altera CPLD from an FPGA over JTAG using an SVF file (generated by Quartus) to specify the JTAG commands. Much of this process appears to work: checking the silicon ID, performing a ...
MattHusz's user avatar
  • 1,181
1 vote
0 answers
39 views

For the production purpose my task is to program 8 esp32 Simultaneously. So for auto reset of esp32. I am using CP2102 USB to TTL In that instead of Transistor based ckt solution I have directly ...
Khushi Sanghvi's user avatar
0 votes
1 answer
127 views

I have a very minimal setup for a STM32L412KBT6 It's hooked up on a prototyping board: The circuit is done according to the official reference guide and effectively looks like this: (Sorry for the ...
Boyfinn's user avatar
  • 175
1 vote
0 answers
64 views

I'm trying to interface an SD card using SPI1 on an STM32G030 with libopencm3. The pins I configured are: SCK on PA1 (AF0), MISO ...
mythbu's user avatar
  • 195
1 vote
1 answer
66 views

One of our instruments currently uses M29W800DB70N6E (from Micron Technology Inc.) which is now Obsolete. We are planning to use MX29LV800CBTI-70G (from Macronix) [ datasheet ] as an alternate. ...
Hazel's user avatar
  • 21
1 vote
3 answers
238 views

Going through MISRA C 2012 rules, I Noticed one rule about dead code and was a little unclear about the definition of "dead code" Rule 2.2 States that "There shall be no dead code" ...
AK47's user avatar
  • 193
0 votes
2 answers
204 views

I have mostly spent time with Atmega and Atsam boards and would like to test and learn STM microcontrollers. I have never worked with SMT32 boards as such and some of my questions maybe to obvious. I ...
HolyDevil's user avatar
1 vote
1 answer
163 views

I have ESP32 and STM32L010F4, I want to communicate via UART, according to the datasheet I can use USART2_RX (PA0) and USART2_TX (PA2). But I have doubts whether there will be any problems during the ...
Pisppus's user avatar
  • 27
0 votes
3 answers
4k views

I am experimenting with the AC6955F4 BlueTooth receiver IC from Jieli Tech (datasheet here: https://www.lcsc.com/datasheet/lcsc_datasheet_2406031523_JieLi-Tech-AC6955F4_C22440783.pdf). There is a ...
DerStrom8's user avatar
  • 21.8k
1 vote
1 answer
649 views

I'm trying to design a custom board with ESP32-C6 and don't want to use BOOT or RESET buttons. Can someone point me to a reference schematic that shows how to enable auto boot / auto reset without ...
Climent Lam's user avatar
2 votes
1 answer
229 views

this is already the second time I encounter this strange problem: I am using an AVR microcontroller with microchip studio. I wanted to enter a debugging session with "Start debugging and break&...
pomm es's user avatar
  • 61
0 votes
0 answers
135 views

I have two HC-SR04 from Sparkfun and looking to follow this tutorial(link below) while using 2x sensors. 1 is reading continuously and operating fine while the other appears to be reading zero, ...
Michael P's user avatar
1 vote
1 answer
287 views

I’m having trouble understanding how the LM358 works as a voltage comparator. From what I know, the logic is that if the voltage on the non-inverting input (V+) is higher than the voltage on the ...
cerouno's user avatar
  • 77
8 votes
2 answers
1k views

I'm learning VHDL and see some people use double underscores, i.e., __, as the component identifier, or assigned signal of a port in case of identical port names. ...
Student's user avatar
  • 185
0 votes
0 answers
45 views

I've had a hard-drive crash in an old production system, and I'm trying to move stuff to "new" WinXP machine. One of the things that's not working is piklab-prog (0.15.8), used in scripts ...
david's user avatar
  • 4,917
1 vote
2 answers
160 views

EDIT AS ASKED: EM4095 Datasheet I use the read only configuration on a custom board. I am not using CLK/RDY as the bit rate is known, and reduces complexity (it doesn't offer much other than to ...
arisk4's user avatar
  • 103
0 votes
0 answers
52 views

I’m working on a low-power (battery operated) IoT device using ESP32, and it will have a corresponding phone app. The device will be idle most of the time, so I’d like to put it in “deep sleep” mode ...
Berry's user avatar
  • 23
0 votes
1 answer
139 views

...
Xavi's user avatar
  • 19
0 votes
1 answer
192 views

With technology quickly moving on, and old tech being left in the past. It's hard to find CRT TV's large enough to play Light gun games without breaking your back. My question: Is it possible to ...
darktemp223's user avatar
0 votes
1 answer
120 views

I designed a PCB that has a STM32F405RGT6 as its MCU. I took out the USB in the design because I thought that I only need it for the power. Now I am wondering if I can program it via SWD with only the ...
Robert's user avatar
  • 489
1 vote
1 answer
164 views

I have been saving for example M95160 2Kbyte EEPROM in bin format up to now and I believe it is quite easy to understand. There is an address and corresponding data - the programmer takes care of ...
onepound's user avatar
  • 131
3 votes
2 answers
134 views

I'm trying to write software to program an AtTiny3217 via UDPI, but I'm stuck when it comes to performing the Chip Erase step. In the datasheet, it says Enter the Chip Erase key by using the KEY ...
RoadieRich's user avatar
1 vote
0 answers
567 views

I use a PicKit5 to program a PIC24EP128MC202 using MPLAB x IDE v6.20 with XC16 Compiler, I recently fixed some memory model issues and I ran into this problem where "Invalid Target Device" ...
I have no enemies's user avatar
0 votes
0 answers
423 views

I encountered an error while programming my STM32 microcontroller using ST-Link Utility. The exact error message is "The ELF loader sector erase function fails." Can you help me troubleshoot ...
Nidhi Sayanja's user avatar
0 votes
1 answer
196 views

I would like to know what is the easiest way to get the value from the IAR's environment args such as $TOOLKIT_DIR$ or $PROJ_DIR$. I know what method uses Windows for it's environment variables, but I ...
GenGen's user avatar
  • 49
1 vote
1 answer
209 views

I wanted to create a custom PCB involving an MQ2 gas sensor and ppm concentration, and based my code on this website: https://www.exploreembedded.com/wiki/Interfacing_Gas_Sensor_(MQ2)_With_AVR I'm ...
dreece2498's user avatar
0 votes
0 answers
130 views

I'm currently working on a project with an ADNS-9500 optical mouse sensor and an ESP32 controller board. The aim of the project is to move the optical sensor and have the ESP32 recognise the movement. ...
A.invents's user avatar
0 votes
1 answer
177 views

I've acquired an Altera FLEX 8282A FPGA and I'd like to have a bit of a play with it. Yes, I know these are prehistoric parts, but I like playing around with old stuff. :-) I've installed MAX+Plus II ...
Tom S's user avatar
  • 183
0 votes
1 answer
100 views

My device uses two of the MAX1415 dual-channel sigma-delta ADCs. I've labeled them "MADC" and "CADC" for "Measurement ADC" and "Calibration ADC". They are ...
AuFries's user avatar
  • 115
0 votes
1 answer
118 views

I have an Atmega328 connected to an Olimex AVR programmer, and programming it works fine. Because the programmer does not supply a constant power, I also power the entire circuit from an Arduino (just ...
Bart Friederichs's user avatar
0 votes
1 answer
162 views

We are developing board with LPC54616. All pins are already used, so we have to use also programming pins, SWDIO as output pin and SWDCLK as uart RX (both signals are connected to additional modul of ...
ON95's user avatar
  • 3
0 votes
1 answer
134 views

I've been struggling for the past few days trying to get this to work right and need a professional to take a look at this and see where I am going wrong: Code: ...
JamesTDG's user avatar
0 votes
0 answers
151 views

I designed a gas sensor board around the STM32F030F4P6, and have been having issues boot loading. I am using the ST-Link V2 bought from Digikey, and 6 pin tag connect, and it seems that regardless of ...
dreece2498's user avatar
0 votes
0 answers
93 views

I have (second hand) a modified ELM327 with 18F25K80 and a FT232, seems has been modified to be programable via USB has a jumper wire from pin 3 (reset) from FT to pin 1 (mclr) 18F, swap quartz and a ...
Rewite's user avatar
  • 1
1 vote
1 answer
126 views

I’m trying to implement an automated parking lot using an 8051. I’m using stepper motors to function as gates at the entrance and the exit of the parking lot that open whenever the IR sensors placed ...
SeaweedHugger's user avatar
0 votes
0 answers
85 views

I am trying to communicate with the TCA9539 using my MSP430FR4132, but I'm encountering issues setting the registers using I2C. I've connected pull-up resistors (10kΩ) to both the SCL and SDA lines. ...
Aswin Raj K's user avatar
1 vote
2 answers
141 views

Let's say we have this program: MOV R5, #4 H2: MOV R6, #10 H1: DJNZ R6, H1 DJNZ R5, H2 After moving the data to the registers, microcontroller executes ...
Agus's user avatar
  • 11
2 votes
4 answers
389 views

I'm a full-time maintenance technician with no University education (though I did get college credit in highschool for physics and statistics 9 years ago), and I have plenty of interests I want to ...
Joshuah Elmore's user avatar
1 vote
2 answers
159 views

Previously I had the following coefficients in the program. In this program I want to create a transfer function of butterworth approximation (Digital Filter Design - Digital Signal Processing). ...
SKevinAR18's user avatar
0 votes
0 answers
120 views

I'm trying to program STM32 using IR Emitter and PT. While trying this, there is interaction between the programmer and the PCB, but since the signals rise late, I get an error before I can send the ...
harmonica's user avatar
  • 681
0 votes
0 answers
96 views

I am trying to control an MCP4151-103E digital potentiometer from an ESP32-Devkit-v1 running CircuitPython 8.2.7. For this task, I have the following code. This has been adapted from this Github ...
toxicantidote's user avatar
1 vote
2 answers
394 views

I recently designed a custom board in KiCAD using an ATMEGA32U4, I had JLCPCB solder on the USB-C connector and MCU, however I can't get it to boot load. I referenced another design that works (I made ...
dreece2498's user avatar

1
2 3 4 5
17