Upload port I cant find it it show in devices but cant upload to it

Configuring upload protocol…
AVAILABLE: blackmagic, cmsis-dap, jlink, mbed
CURRENT: upload_protocol = mbed
Looking for upload disk…
Error: Please specify upload_port for environment or use global --upload-port option.
For some development platforms it can be a USB flash drive (i.e. /media//)
*** [upload] Explicit exit, status 1
============================================================ [FAILED] Took 2.52 seconds ============================================================
Environment Status Duration

LPC1768 FAILED 00:00:02.518
====================================================== 1 failed, 0 succeeded in 00:00:02.518 ======================================================

  • The terminal process “C:\Users\mabza.MSI.platformio\penv\Scripts\platformio.exe ‘run’, ‘–target’, ‘upload’” terminated with exit code: 1.
  • Terminal will be reused by tasks, press any key to close it.

Where should I modify in platform.ini

Are you sure you don’t do the firmware update on your printer by copying the PlatformIO-generated firmware.bin on an SD card and putting it in the printer?

What printer do you have?

The current upload_protocol = mbed method only works if your 3d printer has mbed-DAP programmer on board, which I highly doubt it has.