Go Down

Topic: Error ICSP arduino pro mini Almet328p (Read 96 times) previous topic - next topic

astrocrp

Apr 02, 2020, 01:08 pm Last Edit: Apr 02, 2020, 01:09 pm by astrocrp
Good morning, I want to do a project and I need to program an Arduino pro micro with a .hex file and upload it via ISCP, the problem is that I can't get the board to connect to AVRDUDESS, it always gives me an error, it doesn't detect the board, instead I have I have tried other boards to verify the correct operation of the programmer, it is a USBASP, (clone) and an Arduino MEGA, a UNO and several more if it works for me and I can detect them with the programmer and AVRDUDESS.
There is something that you have to take into account, because some plates work and others do not work.

Thank you very much, greetings !!

pert

I need to program an Arduino pro micro with a .hex file and upload it via ISCP
Please tell us exactly how you have the USBasp connected to the Pro Micro.

it always gives me an error
Please post the complete and exact error message.


astrocrp

Hello, thanks for answering, because you will see, for example, I first connect ONE to the USBASP programmer with the following wiring, from the male MISI SCK RESET VCC and GND male connector to the ICSP port with the same name, to OK, it detects it correctly.
Then I attach the programmer to the MOSI pins to pin 11, MISO to pin 12, SCK to pin 13, VCC to pin VCC, RST to pin RST and GND to pin GND, and the error it gives me is this, and if I force the connection is wrong:


avrdude.exe: set SCK frequency to 1500000 Hz
avrdude.exe: error: program enable: target doesn't answer. 1
avrdude.exe: initialization failed, rc=-1
             Double check connections and try again, or use -F to override
             this check.


avrdude.exe done.  Thank you.

Go Up