pyOCD: pyocd pack install fails for STM32G0

When running pack install command for STM32G0 soc, command fails:

$ pyocd pack --install stm32g071rb
0000270:WARNING:__main__:No matching devices. Please make sure the pack index is up to date.

Might be due to following previous error:

Jan 30 15:13:12.521 ERRO download of "https://www.keil.com/pack/Keil.STM32F7xx_DFP.pdsc" failed: https://www.keil.com/pack/Keil.STM32F7xx_DFP.pdsc: error trying to connect: unexpected end of file
Jan 30 15:13:12.522 ERRO download of "https://www.keil.com/pack/Keil.STM32G0xx_DFP.pdsc" failed: https://www.keil.com/pack/Keil.STM32G0xx_DFP.pdsc: error trying to connect: unexpected end of file
Jan 30 15:13:12.660 ERRO download of "https://www.keil.com/pack/Keil.STM32H7xx_DFP.pdsc" failed: https://www.keil.com/pack/Keil.STM32H7xx_DFP.pdsc: error trying to connect: unexpected end of file

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

@fgr1986 You can download DFPs directly from the Keil CMSIS-Pack list and use the --pack argument to pass them to pyocd.