Questions tagged [programmer]
A tool to program microcontrollers and/or programmable logic.
262
questions
1
vote
1
answer
42
views
Issue when performing auto-flash on ESP32-S3 with CH340G
I'm designing a PCB with ESP32 and CH340G. When attempting to perform autoflash, I encounter an error: "A fatal error has occurred - Failed to connect to ESP32: No serial data received".The ...
2
votes
1
answer
90
views
How to flash ATtiny10?
I am trying to make LED blinker for my project using ATtiny10, I try Blink example from Arduino IDE. I also made custom PCB:
I even found instructables link, how to program it:https://www....
0
votes
1
answer
45
views
Programmer for ESP32-C3-MINI-1 [closed]
I would like to know if it is possible to use the dev kit with the esp32-c3-mini-1 for flashing/programming the module.
If not, are there any recommendations for programmers to use? I am very size ...
0
votes
1
answer
43
views
Why can't I connect to my WCHLink-E on Windows? [closed]
I bought a WCHLink-E to flash a CH32V003 and none of the tools (minichlink, WCH-LinkUtility, etc) could connect to it! (I'm on Windows) Any advice?
0
votes
1
answer
85
views
AVR ATmega328P wrong fuses set
I was programming on the AVR ATmega328P using the USBasp programmer. I uploaded the blink example but the LED was not blinking. Thus I went on changing the fuse bits to the one Arduino has. During ...
0
votes
1
answer
36
views
STM32 programmer pin configuration
I have a ST-LINK V2 programmer for STM8 and STM32 with this pin configuration:
1-RST 2-SWCLK
3-SWIM 4-SWDIO
5-GND 6-GND
7-3.3V 8-3.3V
9-5.0V 10-5.0V
But on my custom board including ...
0
votes
0
answers
39
views
Making a custom programmer
I'm working on making my custom ATmega328P programmer. I am new to this and don't have a proper track on how to follow things. I have read the complete datasheet and have knowledge regarding the ...
0
votes
1
answer
62
views
Does anyone know the physical dimensions of the Microchip PICkit4 programmer?
Does anyone know the physical dimensions of the Microchip PICkit4 programmer (PG164140)? It would be useful to know so that I can leave proper clearance on my PCB around the programming header.
I ...
2
votes
2
answers
97
views
Is there something like a banana plug that will fit in a 30mil or 50mil through hole test point?
I am developing a cost sensitive product. The printed circuit boards need to be programmed and tested. It seems like a waste of money to put a programming/test connector on the board just to use it ...
1
vote
1
answer
75
views
Is it possible to reprogram Megawin MG87FE52 IC?
I found an old PCB of a weighing machine in which there was this IC named MG87FE52AE by Megawin that I want to reprogram and play around with, but when I looked at the data sheet of the IC there was ...
0
votes
2
answers
99
views
JTAG Programmer for Xilinx CPLDs
I have bought a Xilinx "Programmable Cable USB" so I can program the Xilinx CPLDs on my custom PCB. The PCBs are not ready yet. My question is, how do I test if this programmer is functional ...
0
votes
2
answers
107
views
PIC16F54 I/P PDIP-18 8-Bit microcontroller: self-made PIC programmer with USB serial communication
The PIC programmer circuit below is from the PIC16F54 datasheet.
The programming stage can be reached when the pins RB6 and RB7 are set low and the VPP pin gets more voltage than the power supply in ...
1
vote
1
answer
183
views
SWD isolator solutions
I'm looking to implement an isolated (reinforced, >500V) isolation circuit on the PCBA side that would allow for SWD programming of MCU such as STM32 using JLINK / STLINK etc. The interface is ...
2
votes
0
answers
65
views
PIC Microcontroller And Dataman Connection Problem
I'm working on my first project with PIC18F4620. I'm using Dataman 48pro2C programmer and it's software. I'm using 5 pin header to connect the microcontroller to the programmer. The pins are VPP, GND, ...
0
votes
1
answer
40
views
Changing the output voltage of a programmer
I want to make a portable universal programmer. One of the things I want to do is to power the programmer by the target device. The target device can be 3.3 or 5 V but the programmer is 5 V. I can't ...
2
votes
1
answer
131
views
Run a RAM app via JLink
I need to run a RAM app on an imx rt 1024, through JLink.
What works
I have a simple SDK example (blink) which is compiled to SRAM (0x20000000 on the imx rt). When I launch that project from the IDE, ...
0
votes
0
answers
50
views
Why are the Pololu AVR programmer and Microchip Studio showing different target voltages with the same PCB?
Yesterday I programmed a PCB (powering it using an external power supply, it's a PCB of a commercial device) with an ATMEGA2560 MCU using the Pololu AVR v2.1 programmer and the Microchip Studio ...
0
votes
3
answers
143
views
Recognizing an erasable EPROM from a non-erasable one
I'm a Software Engineer looking at some datasheets for electronic components, and I've come across an inconsistency that I can't make sense of.
I'm looking at PROMs, specifically EPROMs, my thought ...
0
votes
1
answer
446
views
Salvaged STM32 programming with ST-Link V2 clone
I bought a ST-Link V2 clone to try and program a STM32 MCU that I salvaged from a hoverboard PCB (STM32F031C6T6). I've been having some difficulty getting it to work.
I downloaded STM32CubeIDE and set ...
1
vote
1
answer
283
views
Problem in programming ALTERA MAX 7000S CPLD with homemade Byte Blaster
I am trying to read back an ALTERA MAX 7000S CPLD (EPM7064SLC84-10) mounted on a board (a part of the board's schematic is shown below) and copy it on another CPLD.
In the schematic, X4 is a male 10 ...
0
votes
1
answer
76
views
How does the ATMega32 know that the incoming SPI data signals are the program to be burnt?
From my understanding, in order to burn a C program to the ATMega32's flash memory, the program is first compiled and converted into a hex file which is then uploaded using a computer program such as ...
1
vote
1
answer
92
views
Why does AVRDUDE require part ID as an input parameter when it detects the device signature by itself?
When I type the following in terminal
avrdude -p m32 -c usbasp
I get the following as output
...
0
votes
0
answers
95
views
PWM motor control PIC18F4550 code
I am trying to build a PWM motor controller using a PIC18F4550 and I am new on PIC programming I need help to check and improve my code?
My project details:
I have two analog values from movement ...
0
votes
1
answer
87
views
How do I use a USB programmer for SOT23-5 EEPROM? [closed]
Like using the ch314 for an unknown SOT23-5 EEPROM.
0
votes
1
answer
155
views
PIC16F886 Low Voltage Mode
I want to program a pic microcontroller, specifically, the PIC16F886.
I am not experienced with programming PIC microcontrollers, however, after searching, I was able to find that you can program this ...
0
votes
1
answer
110
views
Programmer for 68HC711 PLCC 52-pin
I'm trying to find a way to make a backup copy of a HC68711 52-pin PLCC (eventually to another device) that is in a piece of equipment I own.
I see various and sundry adapters and the like, but since ...
0
votes
2
answers
161
views
Programming unlisted ST microcontroller
STM32F400CBT6 is not found in the list of ST microcontroller. I've bought it from LCSC. It's datasheet is found in LCSC only that is also in Chinese only. I am not able to program it using stlink.
The ...
1
vote
1
answer
1k
views
Why does ESP-prog need JTAG connection to program an ESP32?
I recently bought an ESP-prog module, and use it to debug/program esp32 chips, using vscode and platformio. I am connecting the JTAG cable and the program cable. Debugging works well, and programming ...
1
vote
1
answer
95
views
How to program attiny85 on-board without separate leads?
Another newbie question.
I’m planning on ordering my first ever printed PCB that would be a simple 3 mm LED driver controlled by a ATtiny85.
Now… I could program the chip using a SOIC-8 to DIP-8 ...
0
votes
1
answer
158
views
Programming an ATtiny828 with an Arduino [closed]
I want to upload code using an Arduino to an ATtiny828, is this possible?
I saw on YouTube you can upload code to an ATtiny85.
Thank you in advance. I want to use this for a PCB design that implements ...
2
votes
1
answer
181
views
Error in programming ESP32-S2-WROVER
I have two circuits. One with ESP32-WROVER-IB and another with ESP32-S2-WROVER. I connected both similar fashions.
However, I see I can flash the ESP32-WROVER-IB, but I am unable to flash the ESP32-S2-...
1
vote
1
answer
214
views
ATSAMD21E18A - Atmel ICE programming error
Recently I have designed my custom PCB board, which includes a SAMD21E18A. Unfortunately, I am having trouble with programming. I am enclosing the schematic (please ignore the quality of the schematic,...
0
votes
0
answers
217
views
Serial flash programmer, how to update only part of the data in SPI Flash
I have SP8-A serial flash programmer and Winbond 25Q32BVSIG chip. I want to update only specific part of the data in SPI Flash, not touching the rest data on the chip. The programmer Manual does not ...
0
votes
1
answer
2k
views
Help with reading and programming 93c56 EEPROM [closed]
I need some advice on software and hardware. I would like to read and program the 93c56 EEPROM chip. The chip is removed from the device. I would like to read the content of the EEPROM and compare it ...
1
vote
1
answer
2k
views
Programming ATMEGA328P with an USB-UART adapter
I'm having trouble using this USB to serial converter to program my ATMEGA328P. Let me show my steps below:
I have bootloaded the ATMega328 using the Arduino as an ISP.
I then used the Arduino as an ...
0
votes
1
answer
78
views
QFN Programming / Tester / Adapter
I need to be able to test a batch of components ordered abroad. Soldering and removing them one by one would take a long time.
I need to be able to read this 6 by 4 component. But can't find anything ...
0
votes
1
answer
94
views
AVR ATMEGA32A UART not send and receive data unless programmer is connected
The code in micro is to turn a LED on when it receives "1" from UART and off when receives "0".
For VCC I use a phone adapter (5V, 0.7A) which works properly and is suitable for ...
1
vote
1
answer
300
views
Flashing nRF9160 on a custom board with FTDI UART converter or nRF5340DK?
I'm working on a custom board with nRF9160, I want to flash it with the asset tracker sample, however, I do not own a J-link device. What I have is a FTDI USB-UART converter, a nRF5340DK board, a ST-...
0
votes
1
answer
755
views
Difficulty programming a custom Atmega32u4 board with a snap programmer using ISP
I've made a PCB which contains an Atmega32u4, and just finished soldering it up today. Now, I realised that I bought the wrong Atmega32u4 version - I bought the version which does not by default use ...
0
votes
2
answers
526
views
Debug STM32 with Nucleo
Would it be possible to debug/program another PCB including an STM32 MCU with the debug connector provide on the Nucleo-G474RE? (I don't have an external programmer yet)
What would you recommend for ...
2
votes
1
answer
2k
views
Microchip device support - MPLAB Snap supported or unsupported devices list
Need to program and debug PIC and AVR MCU's so MPLAB Snap looks to be a very attractive option however:
"it supports many of Microchip’s newer MCU offerings but not some legacy products" - ...
0
votes
1
answer
225
views
Externally programming an SPI Flash
I'm interested in flashing a firmware to Macronix MX25V8006E externally, before placing it in the SMT process.
This SPI is an external SPI flash for a PCIE to USB 3.0 adapter board which uses VL805-Q6 ...
1
vote
1
answer
722
views
Programming CH552G
Stack Overflow isn't letting me have all the links I need here, so I put them all in this google doc. Sorry about that!
This is my first solo embedded development project, and I can't seem to figure ...
2
votes
2
answers
286
views
Transistor turns off only after a delay
I'm building an IC programmer (for the AS5043 sensor) that requires two voltage levels; 5V and 7.5V. I decided to control those with two PNP transistors. I'm controlling them from a 5V microcontroller....
1
vote
1
answer
138
views
Building custom hardware for programming boards with microcontrollers
I have a PCBA that includes a MSP430 microcontroller and another module. The connection is shown in the photo below where the former (MSP430) is at the bottom and the top is for the other module.
...
0
votes
1
answer
66
views
dsPIC33CK64MP102 turn on Led
I have just started to pre-program with the dsPIC33CK64MP102 and I want to turn on an LED that I have on the RA0 pin.
I have used mplabX's mmc to configure the pins and clock.
I have only activated ...
0
votes
0
answers
132
views
How to flash ATtiny85 with clock quartz (32khz) again?
I flashed ATtiny85 once with simple program blinking for 1 second. F_CPU = 32768.
I set low fuse byte to 0xe6 with avrdude. According to datasheet 6 = 0b0110 CKSEL is intended for low frequency quartz ...
1
vote
3
answers
4k
views
How do I resolve the following error "Verify failed. [ Pgm ] at 0x0, expected 0x00002805, got 0x00002807" in MPLAB X IDE
I recently decided to get into learning how to develop embedded systems, using MPLAB X IDE and literature available on microcontrollers. The vast majority of which referenced the PIC16F84 and as such ...
0
votes
0
answers
187
views
Power OFF then ON an ESP8266 when GPIO0 go low (aka reset ESP without nRST pin)
I need to flash some ESP8266 based devices that does not have the nRST pin accessible, but only:
VCC, GND, RX, TX, GPIO0
As programming board I'm using an old NodeMCU board that has this auto-...
1
vote
2
answers
720
views
Is a JTAG programmer capable of any microcontroller which supports JTAG?
Sorry if my question is very basic, but I couldn't find the answer by searching the internet.
I want to buy a JTAG programmer, but in the datasheet of this programmer there is a list of "...