Cant upload code to pro mini

Hi there, i bought a pro mini couple of days ago but whenever i try to upload any code i get "programmer not responding not in sync : resp=0x00", and when i tried to burn bootloader with uno r3 i get this error "Warning: flash verification mismatch
device 0xff != input 0x0c at addr 0x7800 (error)
Error: flash verification mismatch
Failed to burn bootloader: uploading error: exit status 1"

i tried holding boot and bought usb to uart with drt but non of them worked

Is that the board with no USB? If so, I use an FTDI and it works great.

i might try to buy that one

Which one did you get and how is it wired up?

BTW, why are you trying to burn a bootloader? Are you wanting to program the board via serial?

Could you please show a photo of the board showing the chip markings.
Thanks.

one is PL2303 and the other one (the one with dtr) is CP2102 based


The CP2102 UART should work but the DTR pin needs to be connected to the DTR pin on the Pro Mini (far left, i.e. to the left of TxD in your bottom photo). The PL2303 should still be able to send and receive data to/from Tx/Rx, but will not be able to program the board.

It could be the angle, but the square chip in the middle of the board seems to have no writing on it?

I take it that this is a 5V and not a 3.3V version of the board?

i connected the dtr pin on the ppro mini with the first uart adapter and that still gave me the same error, and yes it is 5v 16mhz version with atmega328p

One thing to check under Tools - Processor:" is whether you have the correct variant selected.

The other possibility is that this clone board may not have a bootloader installed. Programming via serial will not work without one being present. You can't burn the bootloader using the UART adapter. For this you will need a suitable ICSP programmer such as a USBASP or a spare Arduino board configured as an ISP programmer. The sketch for the latter can be found in the IDE under Examples -> ArduinoISP.

A tutorial for using an Arduino as an ISP programmer is found here.

The Pro Mini does not have a separate 6-pin ICSP header, so you will have to use pins 10, 11, 12 and 13.

The pinout for the Pro Mini is here.