cancel
Showing results for 
Search instead for 
Did you mean: 

"no device detected" in BlueNRG GUI, using X-NUCLEO-BNRG2A1

a28j
Associate II

Hi, I use a X-NUCLEO-BNRG2A1 with a NUCLEO-L476RG .

I try to use the BlueNRG GUI for the Virtual_COM_Port application. I copy directly the binary file into the "NUCLEO" device. 

But when I open the Port on GUI, it is displayed "no device detected" then ""no firmware detected on the motherboard"

When I update the motherboard under tools menu this message is displayed (on the picture)

I try but the LED does nothing.

Then I choose the file USB_to_SERIAL.hex, but it displays "No DFU board found".

Can anyone provide a hint how to get BlueNRG GUI working ?

0693W000005AortQAC.png

13 REPLIES 13
paul19
Associate III

Same problem here.

I successfully built and transferred Virtual_COM_Port with STM32CubeIDE, but then I'm unable to open the port ("no device detected" error).

Did you find a solution @a28j​ ?

Silvio
ST Employee

Hello,

before opening the serial connection, please set the Serial Port Baud Rate to 115200 (from Settings -> Set Baud Rate).

BR

Silvio

GShie.1
Associate II

I'm facing the same issue. Did anyone find a solution? @paul19​ @a28j​ 

Note: @Silvio​ Baud rate is not the issue as DFU is not using the serial port.

Silvio
ST Employee

Hello,

with Nucleo-L476RG and X-NUCLEO-BNRG2A1 the reference application to use the BlueNRG GUI is the Virtual_COM_Port available in the X-CUBE-BLE2 package.

Hence, you should load the pre-built binary file (under X-CUBE-BLE2\Projects\NUCLEO-L476RG\Applications\Virtual_COM_Port\Binary) on the Nucleo-L476RG board, launch the BlueNRG GUI, set the Serial Port Baud Rate to 115200 (from Settings -> Set Baud Rate), select the the correct COM port and open the connection.

BR

Silvio

paul19
Associate III

@GShie.1​, various methods to communicate with the the X-NUCLEO-BNRG2A1 through the Nucleo-L476RG are described in AN5651. For me, all those methods have failed, including the one based on Virtual_COM_Port. I've finally succeeded in flashing my X-NUCLEO-BNRG2A1 using an external ST-LINK V2 (see this thread).

GShie.1
Associate II

Actually I'm having this issue with the STEVAL-IDB008V2 not the X-NUCLEO. I can upload the DTM_UART.hex as described in the documentation but the GUI software is then unable to connect to the device in DFU mode after displaying the popup shown above (the LED is flashing). I tried installing the driver with C:\Program Files (x86)\STMicroelectronics\BlueNRG-1_2 DK 3.2.1\PCDriver\DFU\dpinst_amd64.exe but it doesn't appear to install, maybe that is the issue. I'll try with ST-Link.

Thanks

Do you mean DL2 is flashing? If so, the onboard STM32 has been in DFU mode already. This can be doubly checked in Device Manager, under Universal Serial Bus controllers there would be a STM Device in DFU Mode.

Please just flash the MCU with USB_to_SERIAL.hex

Good to know it works with an external ST-Link V2.

Maybe some procedure was missing when using a STM32 Nucleo board.

For example, It is quite easy to forget to remove CN2 jumpers.

0693W00000DlftmQAB.png0693W00000DlftwQAB.pngYes, it is in DFU mode and showing in device manager but the software can't find it.