Arduino Pro mini flashing errors

If it is not wrong wiring (do you have another Pro Mini that works ?), then it is most likely a hardware problem.

For a start, you could try to change that capacitor, even if it measured fine.
Maybe you could put together one working board from the parts of those two.
If the both MCUs are fried, it'd be the end though.

1 Like

After removing both 4 x 10uF capacitors and soldering each 22uF 50V (right now those I have in my workbranch ) between VCC and GND.

$ avrdude -c usbasp -p atmega328p -P /dev/ttyUSB0 -b57600 -t -F

avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: program enable: target doesn't answer. 1 
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x1137a6
avrdude: Expected signature for ATmega328P is 1E 95 0F
avrdude> ^C
petty@pettys:~$ avrdude -c usbasp -p atmega328p -P /dev/ttyUSB0 -b57600 -t -F

avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: program enable: target doesn't answer. 1 
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0xb850b9
avrdude: Expected signature for ATmega328P is 1E 95 0F
avrdude>



1 Like

Congrats, you have progress :stuck_out_tongue:
The communication doesn't seem perfect yet, maybe measure the other parts and compare to your working Pro Mini.
You can scrape some busted old PCB for parts.
This page looks useful - Arduino Pro Mini Board Schematics 100% Explained - Adduino

Once you have the USBasp connection working, you could burn a bootloader (or some serial test sketch) and test the serial port.

I did too many things with all the components I also removed and put back Atmega328p smd Ics but didn’t do any good.
I thing I should lastly try HV Rescue Shield 2 but how do we connect Pro mini pins all examples with Dip?

So, you can desolder smd chips?! Nice!
Before you do anything high-voltage, i would suggest that you swap the chips of the working Pro Mini and one of the problematic boards. Then test them both to make sure that the issue is with the chips themselves.

1 Like

Yes I change working IC with non working pro mini pcb and new combinations works I could flash.But inoperative IC and working pcb didn't flash.Something wrong with ICs.

1 Like

As a hobbyist I found this side https://www-franksteinberg-de.translate.goog/RescueAVR-MikroShield.htm?_x_tr_sl=de&_x_tr_tl=en&_x_tr_hl=de&_x_tr_pto=nui and I have just assemble this HV Rescue Shield


1 Like

I couldn't find any connection reference for 32 pin smd atmega328p I made my self
is this ok?

	ATmega328pSMD 	ARDUINO PRO MINI	Function               ARDUINO UNO
	Pin		           PIN	                               	    PIN
	1-PD3		       3	    			WRi     		     A2
	2-PD4		       4	  	  	        BS1     		     A1
	3-GND		       GND         			GND	            	 GND
	4-VCC		       VCC         			VCC	            	 12
	5-GND		       GND         			GND         		 GND
	6-VCC		       VCC         			VCC         		 12
	7-PB6		       (Q1 CYSTIAL PIN3)    XTAL1      	         A0
	8-PB7		       (Q1 CYSTIAL PIN1)    -        	  		 -
	9-PD5		       5	            	XA0		             10
	10-PD6		       6	            	XA1		             11
	11-PD7		       7	            	PAGEL       		 GND
	12-PB0		       8	          	  	DATA0		         9
	13-PB1		       9	             	DATA1       		 8
	14-PB2	  	      10 	      	    	DATA2       		 7
	15-PB3		      11        	  		DATA3       		 6
	16-PB4		      12        			DATA4       		 5
	17-PB5		      13	        		DATA5	        	 4
	18-AVCC		      VCC	        		VCC 	          	 12
	19-ADC6		      A6	         		-           		 -				
	20-AREF		      -			            -            		 -		
	21-GND		      GND		  	        GND		             GND		
	22-ADC7		      A7		  	        -		             -				
	23-PC0		      A0        		  	DATA6	             3		
	24-PC1		      A1		          	DATA7	       	     2		
	25-PC2		      A2	        	  	BS2		             A5		
	26-PC3		      A3		           	-		             -		
	27-PC4		      A4		           	-		             -		
	28-PC5		      A5		  	        -		             -		
	29-PC6		      RESET			        RESET       	     AVR-RST
	30-PD0		      RT1	  	         	-		             -
	31-PD1		      TX0		  	        RDY		             A4		
	32-PD2		      2	            	  	OEi 			     A3

atmegax8

Maybe you will find the diagram here useful:
https://github.com/MCUdude/MiniCore#pinout

1 Like