Arduino MIDI controller & avrdude not responding

Hello all.
I'm building an arduino based MIDI controller, which sends through the TX pin the MIDI signals.

Everything is fine at breadboard level, but I got kind of stuck at PCB level: I got myself a PCB on which I soldered the arduino nano header pins and the other components I need, in order to have everything very clean.

Point is that, after the soldering I cannot upload the code via USB on the Nano (which I need to do and re-do as needed): I got the infamous

avrdude: stk500_recv(): programmer is not responding.

I tried the basics workaround (change usb, change port, change processor, check the board ecc ecc.

I understood this can happen if something is connected to the TX pin: could it be? in case, does this mean I cannot update the code on the Nano unless I desolder everything first?

any idea?

here is the schematics

it will for sure. pull out MIDI cable or Nano from socket(if you made it)

next time make it right:
grafik

?
grafik

yes, I missed one resistance. I'm going to patch it in.

thing is that the error come up without anything plugged in, just the arduino soldered on the PCB.
Are you suggesting then that it should work? Any idea?

board is this one
Arduino Nano RP2040 Connect with headers [ABX00053] : Amazon.it: Informatica

Hi @piepolitb.

You have configured Arduino IDE for use with classic Nano, but you are not using a classic Nano board. Despite the similar names, there are very significant differences between the two boards so it is essential to correctly configure Arduino IDE for the board you are actually using. The misconfiguration of Arduino IDE is the cause of the upload error you experienced.

Select Tools > Board > Arduino Mbed OS Nano Boards > Arduino Nano RP2040 Connect from the Arduino IDE menus and then try uploading again.

If you don't see an "Arduino Mbed OS Nano Boards" item under the Tools > Board menu, this means you haven't yet installed that platform in Arduino IDE. You can do that using Boards Manager:

https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-board-manager

is 3.3V board, 220 Ohm resistors are not suitable, i believe 47 Ohm is correct.
UPD:

1 Like

thanks!

so one step forward: now is uploading, but it stops with this error

Caricamento non riuscito: errore durante il caricamento: exit status 1

which translate pretty much into "Uploading unsuccessfull: error during uploading: exit status 1" (I don't know why this is in Italian)

I'm going to ask you to provide the full verbose output from an upload attempt.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
    The "Preferences" dialog will open.
  2. Uncheck the box next to Show verbose output during: compile in the "Preferences" dialog.
  3. Check the box next to Show verbose output during: ☐ upload.
  4. Click the "OK" button.
    The "Preferences" dialog will close.
  5. Attempt an upload, as you did before.
  6. Wait for the upload to fail.
  7. You will see an "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
  8. Open a forum reply here by clicking the "Reply" button.
  9. Click the <CODE/> 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.
    Code block icon on toolbar
  10. Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
    This will paste the error output from the upload into the code block.
  11. Move the cursor outside of the code block markup before you add any additional text to your reply.
  12. Click the "Reply" button to post the output.

here you go

Lo sketch usa 90629 byte (0%) dello spazio disponibile per i programmi. Il massimo è 16777216 byte.
Le variabili globali usano 43496 byte (16%) di memoria dinamica, lasciando altri 226840 byte liberi per le variabili locali. Il massimo è 270336 byte.
Esecuzione di un touch reset a 1200-bps sulla porta seriale COM4
"C:\Users\giuse\AppData\Local\Arduino15\packages\arduino\tools\rp2040tools\1.0.6/rp2040load" -v -D "C:\Users\giuse\AppData\Local\Temp\arduino\sketches\D29D5CAA30F6A523D29A5701C0934532/Blink.ino.elf"
rp2040load 1.0.6 - compiled with go1.16.2
.....................
Caricamento non riuscito: errore durante il caricamento: exit status 1

Are you certain your board is a Nano RP2040 Connect?

I ask because, as was pointed out earlier, your schematic indicates you are using a Nano Every board, and having the wrong board configured in Arduino IDE is one of the possible causes of this type of upload failure.


Yes the schematics saying nano_every was me mixing up the boards
Then I bought this one

This error might be caused by having the wrong port selected from the Tools > Port menu in Arduino IDE.

Please perform this experiment to verify that the port you have selected is your Arduino board:

  1. Connect the Arduino board to your computer with a USB cable (if it is not already).
  2. Select Tools > Port from the Arduino IDE menus. If one of the ports in the menu is labeled with the board name (e.g., "COM42 (Arduino Uno)"), that is the port of your Arduino board.

If you saw the port labeled with the board name in the Tools > Port menu, select that port and try uploading again.

If this doesn't solve the problem, please reply here on this forum thread with the answers to the following questions:

  • While following those instructions, did you see a port in the Tools > Port menu that was labeled with the board name?
  • If you did see a labeled port, was the upload successful after you selected that port?