cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect BlueNRG development boards with WIN10

Terrance Parker
Associate III

OK, I am Sales guy for ST. No will not support you unless you are in Colorado or Utah.

I have seen a lot of issues of connecting ST Micro BlueNRG boards to the development software. Took me a while and no help from ST. But below is what worked for me using WIN10.

Programming via JTAG and running sample code from Blue Navigator on BlueNRG-2 boards using Win10 and Keil. Keil offers free unlimited IDE for all STMicro M0 and M0+ products.

Boards: BlueTile: STEVAL-BCN002V1B; BlueNRG-2: STEVAL-IDB008V2 and STEVAL-IDB009V1

Make sure you have latest release of Blue Navigator: 3.2.1

Make sure all below SW is downloaded below and installed with Administrator Rights.

When opening a program, use right click and select run as “Adminstrator�?.

Downloads needed and installed with administrator rights. You will need set up account on my.st.com.

1. ST-LINK/V2. Go to Tools & Software tab, download STSW-LINK009

2. BlueNRG Flasher Utility via VCOM port: STSW-BNRGFLASHER

3. BLueNRG Flasher via STLINK: STSW-BNRG1STLINK

4. BlueNRG Navigator standalone development tool SW: STSW-BLUENRG1-DK

5. Keil IDE free for any M0, M0+ from STMicro controller. Copy the PSN to notepad since you will need it

    later for the license.

Procedure:

1.     Plug in development board with USB cable to PC and verify VCOM using Device Manager. Wait a bit after plugging in the board before checking.

2.      Once device is recognized in Device Manager. Use BlueNRG-X Flasher utility. Download and run as administrator.

3.     If board is not recognized, unplug board. Plug in 20 pin connector, STLINK/V2 and run ST-Link Utility. You might have to restart before it recognized.

4.     Erase files on development board using utility or STLINK program.

5.     Verify the board is erased and shows FFFF. Disconnect and close programs.

6.     Shutdown computer and restart.

7.     Power the development board via USB first. Then connect the JTAG connector on the board via STLINK/V2 and connect to PC.

8.     Once connected press “reset�? button on the above development boards. You will have download them on ST site on how to do this.

9.     Open BlueNRG Navigator as “administrator�?. Always a right click.

10.  Program is opened and choose “Demonstration Applications�? and then choose “BLE demonstration & test applications�? and then choose “BLE HID Peripheral�? and then choose “HID_Keyboard�?.  

11.  Choose “project�? and go up one level. Choose “BluNRG-2�? and open MDK project and compile

12.  In Keil, build and then download. Then start Debug. In Keil Debug choose “run�?.

13.  Open terminal program, i.e. Teraterm. Select the VCOM port and set serial parameters to 15200, data 8b, parity none, then select new setting.

14.  Hit reset button on board and should show “Key Board Ready�?.

15.  Connect with device and can send keystrokes.

1 ACCEPTED SOLUTION

Accepted Solutions
Terrance Parker
Associate III

Thank you Eleon, please re-post as needed and let me know if you need me to edit.

View solution in original post

3 REPLIES 3
Eleon BORLINI
ST Employee

Hi @Terrance Parker​ ,

glad to meet you. Thank you for sharing these findings, they can sure be useful for ST Community users.

I'll report them internally.

-Eleon

Eleon BORLINI
ST Employee

In the meantime, could you please reply to this post so that we can mark your suggestion as "Best answer", to make the post more visible for the community users?

Tks

-Eleon

Terrance Parker
Associate III

Thank you Eleon, please re-post as needed and let me know if you need me to edit.