mbed-cli: ERROR: The target board you compiled for is not connected to your system

Hi, I am having a nordic nrf52 board connected

mbedls
| platform_name | platform_name_unique | mount_point | serial_port | target_id    | daplink_version |
|---------------|----------------------|-------------|-------------|--------------|-----------------|
| NRF52_DK      | NRF52_DK[0]          | E:          | COM6        | 000683585564 | unknown         |

However when i try to compile and flash it says

mbed compile --flash 
I get [mbed] ERROR: The target board you compiled for is not connected to your system.
       Please reconnect it and retry the last command.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

mbed config -G -L
[mbed] Working path "D:\denised" (program)
[mbed] Global config:
No global configuration is set

[mbed] Local config (D:\denised):
TOOLCHAIN=GCC_ARM
TARGET=NRF52840_DK
mbed --version
1.8.3
mbed ls
[mbed] Working path "D:\denised" (program)
denised (#63ac468d200e)
`- mbed-os (#ecb3c8c83716, tag: mbed-os-5.11.4)