Hi, i recently used ST-Linker to attempt to debug some code and after using this (disconnecting), the ADC doesn't seem to work properly anymore. I thought this was an isolated issue and tried many things including re-flash and while it works in a fashion, the results are all over the place - completely unusable. Not thinking it had anything to do with the debugger, i then connected the ST-Link debugger to my other identical device and exactly the same thing happened. Again, nothing i can do at this stage to have it return to normal operation. Everything else works fine - just the ADC has gone crazy. Any suggestions are greatly appreciated.
So you have some anecdotal issue with two unspecified boards, with some STM32 part, on some pins, perhaps related the the SWD/JTAG pins, perhaps not, using code nobody has seen?
Present some usable facts, about parts, pins, voltages, what measurements your saw, what you expected, stuff we can work with.
Erasing the flash on a device doesn't not fix electrically damaged silicon. There isn't a do-over button.
Thanks for your fast response and your ...helpful message. Perhaps you should consider getting a little more sleep. Unfortunately, the project is tied up with some very tight non-disclosure agreements so i am not readily able to provide the world with specific detail without first going through a long and tedious process. The proprietary board is part of a controller and is in the first stages of commercial manufacture. The uP device is a STM32F205V I don't believe we have done anything that has not been done before in terms of configuring the device and more specifically the ADC. We have only just noticed these occurrences while we have been in development for 2.5 years - we had been using J-Link for debugging previously - however at this point in time I cannot specifically remember debugging with the J-Link with the analogue input connected and live. The analogue input is behaving identically to how it has been operating for the previous 9 months (as seen on oscilloscope) - but the results of the ADC now not as they were before (like there is a lot of noise) - the reason I suspect there is some damage to the internal ADC circuitry / silicone. Would be handy if i could post a snippet of the uP pin configuration... ADC - pin 23 TCK_SWCLK - pin 76 TMS_SWDIO - pin 72 I haven't got to it yet but I suspect changing the uP will bring every back to normal however while this is ok to get the board going again, the issue with connecting of the ST-Link needs to be clarified.