Closed gggekov closed 6 years ago
@gggekov
Can you run 'mbed-ls' and share the output? Make sure the board has the latest interface firmware
Hello @MarceloSalazar,
Here is the output for mbed-ls and mbedls.
C:\Users\geogek01\Documents\Engineering\mbedCLIproj\mbed-os-example-cellular [mbed-os-5.9.0-oob +5 ~0 -0 !]> mbedls
+---------------+----------------------+-------------+-------------+--------------------------------------------------+-----------------+
| platform_name | platform_name_unique | mount_point | serial_port | target_id | daplink_version |
+---------------+----------------------+-------------+-------------+--------------------------------------------------+-----------------+
| unknown | None[0] | D: | COM41 | 045300000d36ad8800000000000000000000000097969902 | 0244 |
+---------------+----------------------+-------------+-------------+--------------------------------------------------+-----------------+
C:\Users\geogek01\Documents\Engineering\mbedCLIproj\mbed-os-example-cellular [mbed-os-5.9.0-oob +5 ~0 -0 !]> mbed-ls
mbed-ls : The term 'mbed-ls' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ mbed-ls
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (mbed-ls:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
The DAPLink release folder(https://github.com/ARMmbed/DAPLink/releases) doesn't include firmware for the Dragonfly.
I didn't say this works with DAPLink ;-) Please use the link provided to update the interface firmware
I installed the latest ST-Link driver on my computer but the problem remains - I get the same error message for mbed detect and mbedls. When I download the blinky from the link I don't have any LED blinking, probably the Module Test Bed don't has not exposed LED1. PS: The board appears as DAPLink, that's why I was looking into different DAPLink firmwares
ARM Internal Ref: IOTCELL-1036
@gggekov : looking at PinNames.h https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_STM/TARGET_STM32F4/TARGET_MTB_MTS_DRAGONFLY/PinNames.h#L204 .. I see LED1 is already defined. You may have to upgrade your mbed-ls version. For the DAPLink, that MTB I gave you should have dragonfly DAPLink, I can send you the DAPLink binary again if needed..
Thank you @ashok-rao I updated the board with the image you gave me but am still getting the same result for mbed detect. What is the next step? Is the Dragonfly supposed to be supported by the mbed detect command?
mbedls should definitely work.. from here .. I'm not sure about mbed detect..
@theotherjimmy Do you know if the mbed detect command should work for this target ?
@ashok-rao mbed detect uses mbedls, if mbedls works so should mbed detect. Any other behavior is a bug.
@gggekov What version is your mbed-ls?
@theotherjimmy
My mbedls
is version 1.2.14 and for mbed-ls
I am getting error(see my second post for the error message)
Latest version of mbed-ls is 1.4.5 @gggekov I suggest you upgrade
How can you do that?
mbed-ls -update
and mbed -update
do not work.
@gggekov How did you get mbed-ls originally? Probably pip install mbed-ls
. I recommend the same thing with the Upgrade flag: pip install -U mbed-ls
.
Hi @theotherjimmy I must have used the Windows installed to get mbed-cli initially.
C:\Users\geogek01\Documents\Engineering\mbedCLIproj\mbed-os-example-cellular [mbed-os-5.9.0-oob +5 ~0 -0 !]> pip install
_U mbed-ls
ERROR: unknown command "install_U" - maybe you meant "install"
@gggekov You typed install_U
I wrote install -U
change _
to -
(space, dash).
Yes, updating mbed-cli solved the issue and now I have a working mbed detect.
However, instead of providing my target name, mbed detect outputs all supported targets.
C:\Users\geogek01\Documents\Engineering\mbedCLIproj\mbed-os-example-cellular [mbed-os-5.9.0-oob +9 ~1 -0 !]> mbed detect
[mbed] Detected None, port COM43, mounted D:, interface version unknown:
[mbed] Supported toolchains for None
+----------------------+-----------+-----------+-----------+-----------+-----------+-----------+
| Target | mbed OS 2 | mbed OS 5 | ARM | GCC_ARM | IAR | ARMC6 |
+----------------------+-----------+-----------+-----------+-----------+-----------+-----------+
| ARCH_PRO | Supported | Supported | Supported | Supported | Supported | Supported |
| ARM_BEETLE_SOC | Supported | Supported | Supported | Supported | Supported | Supported |
| ARM_CM3DS_MPS2 | Supported | Supported | Supported | Supported | Supported | Supported |
| B96B_F446VE | Supported | Supported | Supported | Supported | Supported | Supported |
| DELTA_DFBM_NQ620 | - | Supported | Supported | Supported | Supported | Supported |
| DISCO_F303VC | Supported | Supported | Supported | Supported | Supported | Supported |
| DISCO_F407VG | Supported | Supported | Supported | Supported | Supported | Supported |
| DISCO_F413ZH | Supported | Supported | Supported | Supported | Supported | Supported |
| DISCO_F429ZI | Supported | Supported | Supported | Supported | Supported | Supported |
| DISCO_F469NI | Supported | Supported | Supported | Supported | Supported | Supported |
| DISCO_F746NG | Supported | Supported | Supported | Supported | Supported | Supported |
| DISCO_F769NI | Supported | Supported | Supported | Supported | Supported | Supported |
| DISCO_L072CZ_LRWAN1 | Supported | Supported | Supported | Supported | Supported | Supported |
| DISCO_L475VG_IOT01A | Supported | Supported | Supported | Supported | Supported | Supported |
| DISCO_L476VG | Supported | Supported | Supported | Supported | Supported | Supported |
| DISCO_L496AG | Supported | Supported | Supported | Supported | Supported | Supported |
| EFM32GG_STK3700 | Supported | Supported | Supported | Supported | Supported | Supported |
| EFM32LG_STK3600 | Supported | Supported | Supported | Supported | Supported | Supported |
| EFM32PG12_STK3402 | Supported | Supported | Supported | Supported | Supported | Supported |
| EFM32PG_STK3401 | Supported | Supported | Supported | Supported | Supported | Supported |
| EFM32WG_STK3800 | Supported | Supported | Supported | Supported | Supported | Supported |
| EV_COG_AD3029LZ | - | Supported | Supported | Supported | Supported | Supported |
| EV_COG_AD4050LZ | - | Supported | Supported | Supported | Supported | Supported |
| FF1705_L151CC | - | Supported | Supported | Supported | Supported | Supported |
| FF_LPC546XX | Supported | Supported | Supported | Supported | Supported | Supported |
| FVP_MPS2_M0 | - | Supported | Supported | Supported | Supported | Supported |
| FVP_MPS2_M0P | - | Supported | Supported | Supported | Supported | Supported |
| FVP_MPS2_M3 | - | Supported | Supported | Supported | Supported | Supported |
| FVP_MPS2_M4 | - | Supported | Supported | Supported | Supported | Supported |
| FVP_MPS2_M7 | - | Supported | Supported | Supported | Supported | Supported |
| GR_LYCHEE | Supported | Supported | Supported | Supported | Supported | Supported |
| HEXIWEAR | Supported | Supported | Supported | Supported | Supported | Supported |
| K22F | Supported | Supported | Supported | Supported | Supported | Supported |
| K64F | Supported | Supported | Supported | Supported | Supported | Supported |
| K66F | Supported | Supported | Supported | Supported | Supported | Supported |
| K82F | Supported | Supported | Supported | Supported | Supported | Supported |
| KL25Z | Supported | Supported | Supported | Supported | Supported | Supported |
| KL43Z | Supported | Supported | Supported | Supported | Supported | Supported |
| KL46Z | Supported | Supported | Supported | Supported | Supported | Supported |
| KL82Z | Supported | Supported | Supported | Supported | Supported | Supported |
| KW24D | Supported | Supported | Supported | Supported | Supported | Supported |
| KW41Z | Supported | Supported | Supported | Supported | Supported | Supported |
| LPC1768 | Supported | Supported | Supported | Supported | Supported | Supported |
| LPC1769 | Supported | Supported | Supported | Supported | Supported | Supported |
| LPC4088 | Supported | Supported | Supported | Supported | Supported | Supported |
| LPC4088_DM | Supported | Supported | Supported | Supported | Supported | Supported |
| LPC54114 | Supported | Supported | Supported | Supported | Supported | Supported |
| LPC546XX | Supported | Supported | Supported | Supported | Supported | Supported |
| MAX32600MBED | Supported | Supported | Supported | Supported | Supported | Supported |
| MAX32620FTHR | Supported | Supported | Supported | Supported | Supported | Supported |
| MAX32625MBED | Supported | Supported | Supported | Supported | Supported | Supported |
| MAX32625NEXPAQ | Supported | Supported | Supported | Supported | Supported | Supported |
| MAX32625PICO | Supported | Supported | Supported | Supported | Supported | Supported |
| MAX32625PICO_NO_BOOT | Supported | Supported | Supported | Supported | Supported | Supported |
| MAX32630FTHR | Supported | Supported | Supported | Supported | Supported | Supported |
| MBED_CONNECT_ODIN | - | Supported | Supported | Supported | Supported | Supported |
| MIMXRT1050_EVK | Supported | Supported | Supported | Supported | Supported | Supported |
| MTB_ADV_WISE_1510 | - | Supported | Supported | Supported | Supported | Supported |
| MTB_ADV_WISE_1530 | Supported | Supported | Supported | Supported | Supported | Supported |
| MTB_ADV_WISE_1570 | - | Supported | Supported | Supported | Supported | Supported |
| MTB_LAIRD_BL600 | - | Supported | Supported | Supported | Supported | Supported |
| MTB_LAIRD_BL652 | - | Supported | Supported | Supported | Supported | Supported |
| MTB_MTS_DRAGONFLY | Supported | Supported | Supported | Supported | Supported | Supported |
| MTB_MTS_XDOT | - | Supported | Supported | Supported | Supported | Supported |
| MTB_MURATA_ABZ | - | Supported | Supported | Supported | Supported | Supported |
| MTB_MXCHIP_EMW3166 | Supported | Supported | Supported | Supported | Supported | Supported |
| MTB_RAK811 | - | Supported | Supported | Supported | Supported | Supported |
| MTB_UBLOX_NINA_B1 | - | Supported | Supported | Supported | Supported | Supported |
| MTB_UBLOX_ODIN_W2 | - | Supported | Supported | Supported | Supported | Supported |
| MTB_USI_WM_BN_BM_22 | Supported | Supported | Supported | Supported | Supported | Supported |
| MTS_DRAGONFLY_F411RE | Supported | Supported | Supported | Supported | Supported | Supported |
| MTS_MDOT_F411RE | Supported | Supported | Supported | Supported | Supported | Supported |
| NCS36510 | Supported | Supported | Supported | Supported | Supported | Supported |
| NRF51_DK | Supported | Supported | Supported | Supported | Supported | Supported |
| NRF51_DONGLE | Supported | Supported | Supported | Supported | Supported | Supported |
| NRF52840_DK | - | Supported | Supported | Supported | Supported | Supported |
| NRF52_DK | - | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F070RB | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F072RB | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F091RC | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F103RB | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F207ZG | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F303RE | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F303ZE | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F401RE | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F410RB | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F411RE | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F412ZG | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F413ZH | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F429ZI | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F439ZI | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F446RE | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F446ZE | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F746ZG | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F756ZG | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_F767ZI | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_L073RZ | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_L152RE | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_L432KC | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_L433RC_P | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_L476RG | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_L486RG | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_L496ZG | Supported | Supported | Supported | Supported | Supported | Supported |
| NUCLEO_L496ZG_P | Supported | Supported | Supported | Supported | Supported | Supported |
| NUMAKER_PFM_M453 | Supported | Supported | Supported | Supported | Supported | Supported |
| NUMAKER_PFM_M487 | - | Supported | Supported | Supported | Supported | Supported |
| NUMAKER_PFM_NANO130 | - | Supported | Supported | Supported | Supported | Supported |
| NUMAKER_PFM_NUC472 | - | Supported | Supported | Supported | Supported | Supported |
| RBLAB_BLENANO2 | - | Supported | Supported | Supported | Supported | Supported |
| REALTEK_RTL8195AM | - | Supported | Supported | Supported | Supported | Supported |
| RO359B | Supported | Supported | Supported | Supported | Supported | Supported |
| RZ_A1H | Supported | Supported | Supported | Supported | Supported | Supported |
| SILICA_SENSOR_NODE | - | Supported | Supported | Supported | Supported | Supported |
| STEVAL_3DP001V1 | Supported | Supported | Supported | Supported | Supported | Supported |
| TB_SENSE_1 | Supported | Supported | Supported | Supported | Supported | Supported |
| TB_SENSE_12 | Supported | Supported | Supported | Supported | Supported | Supported |
| TMPM066 | - | Supported | Supported | Supported | Supported | Supported |
| TMPM46B | - | Supported | Supported | Supported | Supported | Supported |
| TY51822R3 | Supported | Supported | Supported | Supported | Supported | Supported |
| UBLOX_C027 | Supported | Supported | Supported | Supported | Supported | Supported |
| UBLOX_C030_N211 | - | Supported | Supported | Supported | Supported | Supported |
| UBLOX_C030_R410M | - | Supported | Supported | Supported | Supported | Supported |
| UBLOX_C030_U201 | - | Supported | Supported | Supported | Supported | Supported |
| UBLOX_EVA_NINA | - | Supported | Supported | Supported | Supported | Supported |
| UBLOX_EVK_NINA_B1 | - | Supported | Supported | Supported | Supported | Supported |
| UBLOX_EVK_ODIN_W2 | - | Supported | Supported | Supported | Supported | Supported |
| UBRIDGE | Supported | Supported | Supported | Supported | Supported | Supported |
| USENSE | Supported | Supported | Supported | Supported | Supported | Supported |
| USI_WM_BN_BM_22 | Supported | Supported | Supported | Supported | Supported | Supported |
| VBLUNO52 | - | Supported | Supported | Supported | Supported | Supported |
| VK_RZ_A1H | Supported | Supported | Supported | Supported | Supported | Supported |
| WIZWIKI_W7500 | Supported | Supported | Supported | Supported | Supported | Supported |
| WIZWIKI_W7500ECO | Supported | Supported | Supported | Supported | Supported | Supported |
| WIZWIKI_W7500P | Supported | Supported | Supported | Supported | Supported | Supported |
| XDOT_L151CC | - | Supported | Supported | Supported | Supported | Supported |
+----------------------+-----------+-----------+-----------+-----------+-----------+-----------+
Supported targets: 135
This is probably normal behaviour given that I am using a "non-official" Module Test Bed?
In fact I had done only pip install -U mbed-cli
Updating mbed-ls
solved the problem and mbed detect
works fine.
I've connected a Dragonfly module via Module Test Bed v1. However, the Dragonfly module is not detected by
mbed detect
command and I get the following error message:My pip version is 10.0.1 and mbed-cli version is 1.5.1
Can you please take a look into that problem? Thank you and kind regards, George