Skip to main content
GEORGE SANDLER
Associate III
June 14, 2018
Solved

Problem with programming Lora discovery kit

  • June 14, 2018
  • 1 reply
  • 983 views
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
This topic has been closed for replies.
Best answer by GEORGE SANDLER
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

1 reply

Tesla DeLorean
Guru
June 14, 2018
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 VenmoUp vote any posts that you find helpful, it shows what's working..
GEORGE SANDLER
GEORGE SANDLERAuthorAnswer
Associate III
June 15, 2018
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