Can't flash board when acquisition is running
dzid26 opened this issue · comments
It's an obvious limitation.
One solution is to use https://www.st.com/en/development-tools/st-link-server.html. But I never seen it work. It requires both apps to support it. It is not a common setup people have.
But there might be a simple workaround which should work for everyone:
- when elf is deleted or change is detected, stop the acquisition and allow the board to be flashed by another program
- refresh the variable addresses automatically
- restart acquisition after e.g 5s.
Each step shall be controlled in Options.
The feature should be off by default.
Each step is useful IMO, and can be implemented one after another.
This is something I also thought about - I've already implement the detection of *.elf file change. Now I'm going to add the remaining options that you suggested.