Avrdude e clone ch341 nano : errore caricamento

ciao a tutti

ho un arduino clone nano ch341 su cui con avr dude devo caricare un file.hex.
se uso il solito comando mi da errore di comunicazione (non in sync ecc.)
Se elimino il baudrate parte ma da questo messsaggio




         Using Port                    : /dev/ttyUSB0
         Using Programmer              : arduino
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : possible i/o
         RETRY pulse                   : SCK
         Serial program mode           : yes
         Parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                           Block Poll               Page                       Polled
           Memory Type Alias    Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom                 65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash                  65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse                   0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
           hfuse                   0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
           efuse                   0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
           lock                    0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
           signature               0     0     0    0 no          3    1      0     0     0 0x00 0x00
           calibration             0     0     0    0 no          1    1      0     0     0 0x00 0x00

         Programmer Type : Arduino
         Description     : Arduino for bootloader using STK500 v1 protocol
         Hardware Version: 3
         Firmware Version: 4.4

avrdude: AVR device initialized and ready to accept instructions
avrdude: device signature = 0x1e950f (probably m328p)
avrdude: reading input file /home/miciomicio22/Scaricati/montaggio/a.hex for flash
         with 32658 bytes in 2 sections within [0, 0x7f9d]
         using 256 pages and 110 pad bytes
avrdude: writing 32658 bytes flash ...

Writing | ################################################## | 100% 3.99 s 

avrdude: 32658 bytes of flash written
avrdude: verifying flash memory against /home/miciomicio22/Scaricati/montaggio/a.hex

Reading | ################################################## | 100% 3.40 s 

avrdude avr_verify() warning: verification mismatch
        device 0xff != input 0x0c at addr 0x7800 (error)
        device 0xff != input 0x94 at addr 0x7801 (error)
        device 0xff != input 0x34 at addr 0x7802 (error)
        device 0xff != input 0x3c at addr 0x7803 (error)
        device 0xff != input 0x0c at addr 0x7804 (error)
        device 0xff != input 0x94 at addr 0x7805 (error)
        device 0xff != input 0x51 at addr 0x7806 (error)
        device 0xff != input 0x3c at addr 0x7807 (error)
        device 0xff != input 0x0c at addr 0x7808 (error)
        device 0xff != input 0x94 at addr 0x7809 (error)
        suppressing further verification errors
avrdude do_op() error: verification mismatch

avrdude done.  Thank you.

miciomicio22@Iw2evk:~$ 

cosa causa questo errore ?
se uso arduinoide per caricare il file blink.ino tutto funziona invece alla perfezione..

Grazie

P.s. O.s. linux lubuntu 24.04

Hai provato a vedere abilitando il "verbose upload" dell'ide che comando lancia lui?
Così confronti con il comando e parametri che dai tu ad avrdude (e verifica anche quale avrdude l'ide lancia rispetto a quello che esegui tu, magari versioni diverse)

Fortunatamente ho troivato il sistema di compilare con l’ide il sorgente che si trovava in un altro sito.

Ora caricato e a posto

grazie