cancel
Showing results for 
Search instead for 
Did you mean: 

How to start development related to BlueNRG-Mesh on Linux (Ubuntu) environment using arm-gcc open source tools?

vikrant more
Associate II
Posted on April 18, 2018 at 08:53

Hello,

I've downloaded 'STSW-BNRG-Mesh' SDK from this link

http://www.st.com/en/embedded-software/stsw-bnrg-mesh.html

.

But unfortunately, firmware SDK development is only based on Windows. I installed it on my personnel Laptop (windows) & fetched required data from it.

I always prefer open source environment, to avoid any restrictions.

So my question is how to build provided FIRMWARE in Ubuntu environment ?

Second thing is, how to flash bin file in BlueNRG-1 (

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0ahUKEwjDpY2FnsPaAhVLr48KHfe1B2AQFghKMAI&url=http%3A%2F%2Fwww.st.com%2Fen%2Fevaluation-tools%2Fsteval-idb007v1.html&usg=AOvVaw3i6izof7evi3qO3d1IfkTm

) using Ubuntu ?

(I have segger J-link with installed driver on it)

##bluetoothmesh
2 REPLIES 2
Antonio Vilei
Senior III
Posted on April 18, 2018 at 11:20

Dear Vikrant More,

for the time being, this specific software package does not support Linux, yet.

If you want to flash your .bin files using Linux, you can use the JTAG connector of your STEVAL-IDB007V1 board in SWD mode.

Since you already have J-link, you can use it for this purpose.

As an alternative, if you have an STM32 Nucleo board, you could use its ST-LINK/V2-1 to program and debug the board. In this case, after you connect the SWD pins of your STM32 Nucleo board to the corresponding ones of 

your STEVAL-IDB007V1, you may simply copy the .bin file to the virtual mass storage drive created by the STM32 Nucleo board in order to flash your file.

0690X0000060AcsQAE.png
grzegorz
Associate III

Is at least GCC supported? I can't link libBlueNRG_Mesh_CM0.a. ld.exe crashes. It seems the library isn't compatible with GCC llinker. Is ST going to prived GCC compatible mesh libraries?