cancel
Showing results for 
Search instead for 
Did you mean: 

StmCube LRWAN End Node will not debug either in Keil or OpenStm32 ...

hjh
Associate III
Posted on February 25, 2018 at 21:55

Hi

i do have the B-L072Z-LRWAN1 board and try to make a End-node..

When i want to debug the Stm-cube LRWAN END NODE exsample it gives me a failure ...the port is in use ?

What can i do wrong ...Normally absolut no problems...

Both Keil and openstm32 make the failure..

Anyone know ?

Hjalmar

1 ACCEPTED SOLUTION

Accepted Solutions
Tilen MAJERLE
ST Employee
Posted on February 26, 2018 at 21:23

Hello

Skovholm_Hansen.Hjal

‌,

to achieve lowest possible current consumption, SWD pins are set to analog mode without pull resistors and this is causing you error on debug.

Check for define LOW_POWER_DISABLE and uncomment it. In this case, pins won't be changed and you should be able to debug.

Best regards,

Tilen

View solution in original post

4 REPLIES 4
Posted on February 25, 2018 at 22:16

Disable low power modes where it turns OFF the JTAG/SWD interface.

See define LOW_POWER_DISABLE

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Andrew Neil
Evangelist III
Posted on February 26, 2018 at 00:51

it gives me a failure ...the port is in use ?

Please post the exact message you get, and describe the exact steps you take up to getting it.

Tilen MAJERLE
ST Employee
Posted on February 26, 2018 at 21:23

Hello

Skovholm_Hansen.Hjal

‌,

to achieve lowest possible current consumption, SWD pins are set to analog mode without pull resistors and this is causing you error on debug.

Check for define LOW_POWER_DISABLE and uncomment it. In this case, pins won't be changed and you should be able to debug.

Best regards,

Tilen

Posted on February 26, 2018 at 21:34

Hi tilen

thanks for your help.

it worked...

i do program on the board you teach us in Copenhagen, and my lora node is doing progress.

i did also set up my own lora gateway on a raspberry so Now looking into a very interesting World.

just order some stm32L0 sx1276 and Will get Them to work When finish with the initial test on this board...

thanks for you help again

hjalmar