For some reason my code won’t upload to my arduino uno. Even when I try to upload a blank sketch it tells me it’s using too much dynamic memory or the uploading bar finishes and it just sits there at 100% not doing anything. I was trying to power the board with 8v from a DC power supply through the VIn port (I read that the VIn port is connected to the voltage regulator and needs 7-12 volts) as well as use resistors to step down the voltage to power the servo and lcd I was using. It wasn’t working so I just plugged the lcd and servo into the 5v output (which I know isn’t great for the board) to see what the issue was and my program was working but it was beginning to freak out so I unplugged everything. Then, I went to plug everything back up normally using the USB port and upload code and i was met with the “too much dynamic memory” error and it just not uploading. I reset the board and tried to upload a blank sketch and got the same two errors. Did I damage the board? I’m so confused.
Hi @400468. I'm going to ask you to provide some additional information that might provide us with information to determine the cause of the problem.
Please do this:
- Select File > Preferences from the Arduino IDE's menus.
- Check the box next to "Show verbose output during: compilation".
- Click the OK button.
- Select Sketch > Verify/Compile from the Arduino IDE's menus.
- After the compilation fails you'll see a button on the right side of the orange bar in the Arduino IDE: Copy error messages. Click that button. This copies the full output to the clipboard.
- Open a forum reply here by clicking the Reply button.
- Click the
</>icon on the post composer toolbar. This will add the forum's code block markup (
```) to your reply to make sure the error messages are correctly formatted.
- Press Ctrl+V. This will paste the compilation output into the code block.
- Move the cursor outside of the code tags before you add any additional text to your reply.
- Click the Reply button to post the output.