Skip to main content
deep_rune
Associate III
April 8, 2020
Question

hrlp! - debug as says (none applicable)

  • April 8, 2020
  • 9 replies
  • 2355 views

I'm trying to run a simple blink sketch using a F031K6 nucleo board. I'm following the steps here - https://www.youtube.com/watch?v=hyZS2p1tW-g and when i get to the part where I go to 'debug as' I can't because it says 'none applicable'. I have the board connected via usb, I have installed a firmware update, drivers and the STlink server module.

how can I get this to work??

This topic has been closed for replies.

9 replies

waclawek.jan
Super User
April 8, 2020
deep_rune
deep_runeAuthor
Associate III
April 9, 2020

Hi, thanks for your reply.

Yes I can connect, it told me the first time to connect under reset mode, but after that it was all fine. Still nothing happens with STMcubeIDE

waclawek.jan
Super User
April 9, 2020

I don't use CubeIDE so I don't know, but maybe you should try to set it to connect under reset, too.

Although, connect under reset shouldn't be needed for a new device - try to chip-erase it in the STLink Utility, then disconnect, reconnect - still requires connect under reset?

JW

deep_rune
deep_runeAuthor
Associate III
April 9, 2020

i erased the chip but it still requires connect under reset.

could it be because i used the firmware update? im really confused over this

Tesla DeLorean
Guru
April 9, 2020

No I think it is generally because the debugger implementation here is very fragile. Use better tools.

​

Watch that your code/settings don't disable the debug interface, reconfigure the debug pins, or power down the pins/logic you need to be working.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
waclawek.jan
Super User
April 9, 2020

> All I have done is generated the code to setup the in/outs, nothing else

Which in/outs, namely?

JW

deep_rune
deep_runeAuthor
Associate III
April 9, 2020

Hi! I got it working, not sure what I did but the the options just appeared suddenly. All seems to be working fine now, thanks for your help

Visitor II
December 15, 2023

I have encountered the same problem, can you tell me how you solved it?