How to program flash directly thru SWD?
Hi, Everyone,
I am developing the standalone SWD programmer operating by battery.
I have a problem to program flash thru SWD directly.
So, I traced SWD line with the ST-Link Utility.
It looks that some tiny flash program code and updated user firmware are store to RAM.
After than, flash program in RAM is running and writing the downloaded user code in RAM to flash. Is it right?
Why ST-link utility use this mechanism, not using direct writing to flash?
How to write the data onto flash directly?
According to the reference manual, half-word should be write... How to send half-word?
SWD protocol use 32 bit operation AFAIK.
BR
Paul
