2019-11-25 08:16 AM
I'm using STM32CubeIDE 1.1.0 with a STEVAL-SPIN3204 board connected via the USB port and onboard ST-Link. About 2-5 minutes after I start a debug session The Console prints "Target is not responding, retrying..." 10 times and then prints "Debugger connection lost.
Shutting down...". At that point I can restart the debugger again sucessfully. Until the debugger starts printing Target is not responding, the debugger works normally. I can single step, run, stop on breakpoints, view and modify variables etc.
This problem occurs even if I merely initiate a debug session and never touch the keyboard so it seems rather unlikely it has anything to do with the program being debugged. And FWIW I did confirm that the watchdog is disabled by the fuse settings.
2019-11-25 10:14 AM
Go into REGEDIT and search for "UpperFilter", you'll usually find a couple of storage related nodes. or "LowerFilter" or "PartMgr"
You're trying to establish the presence of a known problematic driver. Probably not going to want to edit/delete manually unless you're an "IT Guy"
Previously these types of issue with Support Assistant nee PC Doctor
"First I uninstalled 'Dell SupportAssist' and the problem still occurred.
I then uninstalled 'Dell SupportAssistAgent' and the problem went away."
The Intel related troublemaker was "iaStorF" as I recall.
2019-11-25 04:10 PM
Neither Dell SupportAssist nor SupportAssistAgent is currently installed on my computer. I believe they were deleted by the person who set up all of our computers along with a bunch of other junk that comes preloaded on Dell machines.
I see some UpperFilter keys in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\
value class
USBPcap {36fc9e60-c465-11cf-8056-444553540000}
partmgr {4d36e967-e325-11ce-bfc1-08002be10318}
kbdclass {4d36e96b-e325-11ce-bfc1-08002be10318}
ksthunk {4d36e96c-e325-11ce-bfc1-08002be10318}
mouclass {4d36e96f-e325-11ce-bfc1-08002be10318}
nipbcfk {4d36e97d-e325-11ce-bfc1-08002be10318}
scfilter {50dd5230-ba8a-11d1-bf5d-0000f805f530}
partmgr {53487c23-680f-4585-acc3-1f10d6777e82}
partmgr {53966cb1-4d46-4166-bf23-c522403cd495}
IRENUM {6bdd1fc5-810f-11d0-bec7-08002be2092f}
ksthunk {6bdd1fc6-810f-11d0-bec7-08002be2092f}
volsnaptcvsm {71a27cdd-812a-11d0-bec7-08002be2092f}
ksthunk {ca3e7ab9-b4c3-4ae6-8251-579ef933890f}
spacialGraphFilter d612553d-06b1-49ca-8938-e39ef80eb16f}
wpdUpFltr {eec5ad98-8080-425f-922a-dabf3de3f69a}
value location (inside HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\)
serenum Enum\ACPI\PNP0501\0:
serenum Enum\FTDIBUS\VID_0403+PID_6001+FT3EJVWVA\0000
serenum Enum\FTDIBUS\VID_0403+PID_6001+FT3EJVXNA\0000
serenum Enum\FTDIBUS\VID_0403+PID_6001+FT3EJW3PA\0000
serenum Enum\FTDIBUS\VID_0403+PID_6001+FT3K4221A\0000
serenum Enum\FTDIBUS\VID_0403+PID_6001+FT3K423FA\0000
... several more similar to above, all associated with FTDI usb serial ports
serenum Enum\SNXPCARD_ENUM\SNXPCARD_SERP\1FD4&1999_00011FD4_00E8_Port0
... several more related to
value location (inside \HKEY_LOCAL_MACHINE\SYSTEM\DriverDatabase\DriverPackages\
amdxata amdsata.inf_amd64_ea60132f1a9a7a62\Configurations\amdsata_inst
mshidkmdf capimg.inf_amd64_407f052b0424612c\Configurations\CapImgMini.Inst.NT
mshidkmdf hidi2c.inf_amd64_891a4188cb4bf01b\Configurations\hidi2c_Device.NT
... a few more like that
value location
ibbus ndfltr WinVerbs WinMad mlx4_bus.inf_amd64_cfc8af16c589f850\Configurations\MLX4BUS.DDInstall.NTamd64
... and a bunch more similar keys related to things like that(msports, VWiFibus, pcmcia, etc) that I got tired of listing.
Searching for LowerFilters I found some in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\
related to similar things like EhStorClass, appleLowerFilters, rdyboost, MSRRAS/MINIPORT, Qualcomm, USB serial ports, virtual disk, storflt, etc.
None of this sounds like something that needs to be deleted, why do you think that will help and how do you suggest I determine which ones to delete? Trying one at a time would take hours.
2019-11-25 05:04 PM
Do you use debug prints over SWO (ITM) ?
-- pa
2019-11-26 05:01 AM
No.