Posted on May 17, 2011 at 15:06I'd just like to add my thanks and congratulations to Ben Ryves for his excellent STM8S-Discovery tutorial. I've just worked right through it in about an hour without a hitch.
Posted on May 17, 2011 at 15:06I've burnt quite a lot of midnight oil on this and I confess I've finally lost the will to continue. The modification proposed by pdadev does the trick and that will have to do for now (BTW, although the patch at 3b171...
Posted on May 17, 2011 at 15:06Fantastic - patching STLinkIIIUSBDriver.dll as you suggest does indeed enable both stvd and stvp to connect to the board. Since my RAID has C: and D: partitions I changed 0x41 to 0x45, so the device search starts with ...
Posted on May 17, 2011 at 15:06Thanks again for you input. All my recent testing has been done without the STM8S-Discovery connected, so issuing the emulator-reset-port crashes Windows whether or not the device is present. The stack trace in windbg ...
Posted on May 17, 2011 at 15:05I've used windbg to trace a bit more of what's going on. By setting a breakpoint when STLinkIIIUSBDriver.dll is loaded, I can see the exports and set breakpoints on them all, then trace into the code looking for tell-t...