Go Down

Topic: Lock bit mismatch error while burning Micro bootloader to custom board (Read 437 times) previous topic - next topic

BJHenry

OP's corrected schematic:


Yep, you're missing the decoupling capacitors. Until you have them in place there isn't too much point trying to troubleshoot further- not have the decoupling capacitors can lead to unpredictable and inconsistent behaviour from the MCU.
Here is a reasonable explanation of the function of decoupling capacitors. 100nF is a pretty typical value for decoupling caps and there should be one for each VCC/AVCC pin. They should to be placed as physically close to the VCC/AVCC pins as possible.

ckambiselis

Here is a reasonable explanation of the function of decoupling capacitors. 100nF is a pretty typical value for decoupling caps and there should be one for each VCC/AVCC pin. They should to be placed as physically close to the VCC/AVCC pins as possible.
Hmmm, well the weird thing is that the original Micro has just 2 caps for all the VCC/AVCC pins.

Well the problem is the PCBs are already made, so it will probably take a while until I have the time to fix the files and order a new batch.

Also had the board running the USB serial test sketch for at least an hour and the connection had no problem, also it seems like there is almost no Unknown Device problems while it is programmed with that sketch.

Oscar

Go Up