cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with programming Lora discovery kit

GEORGE SANDLER
Associate III
Posted on June 14, 2018 at 22:58

Having a problem with ST-Link v2-1 programming the STM32CubeExpansion_LRWAN boards.

Have updated the firmware and using the latest driver for WIndows 10.

Programming requires constant driver restarting. Debugging from the IAR or Keil is nearly impossible.

On the several PCs the app ST-Link Utility can't connect to the board due to a USB failure.

Drag-and-drop feature works 1 time out of 100 with fail message: 'The application file format is unknown and cannot be parsed and/or processed'

Thanks for help.

#b-l072z-lrwan1 #stm32l0-discovery-kit-lora
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on June 15, 2018 at 04:38

Thanks, the LOW_POWER_DISABLE.wasn't enough. I had to uncomment DEBUG as well since debug pins are shared with GPIO functions.

George

View solution in original post

2 REPLIES 2
Posted on June 14, 2018 at 23:46

Have you disabled low power modes in your code? If the chip keeps turning off it is hard to connect too, or program.

Define LOW_POWER_DISABLE

Current firmware for the ST-LINK is J30 as I recall

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Posted on June 15, 2018 at 04:38

Thanks, the LOW_POWER_DISABLE.wasn't enough. I had to uncomment DEBUG as well since debug pins are shared with GPIO functions.

George