My old Arduino Nano appears to have a flash-programming failure rather than a USB or completely dead-board failure. It is a classic Nano using an ATmega328P with a CH340 USB-to-serial chip. My PC can still communicate with it: AVRDUDE consistently detects the ATmega328P and reads its correct signature (0x1E950F), and I can successfully read the entire 32 KB flash. The bootloader area also contains what looks like valid AVR bootloader code, so the bootloader does not simply appear to be missing. The problem happens when I try to upload a sketch: AVRDUDE reports that the sketch was written, but when I immediately read the flash back, the beginning is still filled with 0x62 bytes. With AVRDUDE 6.3, verification explicitly failed because the first byte remained 0x62 instead of the expected 0x0C; with AVRDUDE 8.0, verification was disabled during the upload, but a separate readback still showed the same unchanged 0x62 data. I also tested after the CH340 device changed from COM5 to COM6, so it isn't simply a stale Windows device problem. Basically, the USB → CH340 → serial → ATmega communication path works well enough to identify and read the chip, but the part responsible for actually erasing and programming the ATmega's application flash doesn't appear to be working. I don't know the exact cause yet; it could be a bootloader/self-programming configuration problem or a failure in the ATmega328P's flash/programming hardware. The decisive test will be ISP programming, where I can use my new working Nano as an ISP programmer to bypass the old Nano's bootloader and directly test whether its ATmega328P flash can be erased, written, and verified. If ISP works, I may be able to recover the old Nano by reburning its bootloader; if ISP also fails after confirming the wiring and power are correct, the ATmega328P itself becomes the much stronger suspect. So I don't really have a “boot sector virus”—my old Nano has a suspected application-flash programming failure, while several other important parts of the board still demonstrably work.
2
u/Delta_G_Robotics Sep 24 '26
Seems like a LOT of context missing here.
-6
u/StationSecret2357 Sep 24 '26
this is urgent
3
u/[deleted] Sep 24 '26
[removed] — view removed comment