Hey! So I have a custom atmega328 arduino on a board which was working fine, but I decided to clean up the wiring, and making the 2 halves of my robot easier to seperate and plug back together.
But I can no longer upload through the same serial module. When I try to upload, the arduino resets as normal, but then resets again, and all 10 sync attempts fail at once with a 0x00 error, rather than trying to sync again after a bit of time. Any ideas what this could mean and what’s going on? My arduino has it’s own power supply as well (as well as a few backup caps), so I’ve confirmed it’s not due to a brown-out/voltage sag causing the additional reset.
Here’s a video: https://youtu.be/LadBZ2c2zuU
I have double-checked the wiring between the MPU and the serial connector and the serial monitor is reading the arduino fine.
All I can think of is that there’s now a lot more wire between them (since they are no longer directly connected, but going through a data connector I custom made), could that be the cause? If that’s the case, how to I make it work with longer wires?