Hai i have a small doubt in flash protection funtions.
I have studied Flash protection function in that i have one function that is ROM_FlashProtectSet() in this the parameters are FlashReadWrite,FlashReadOnly,FlashExecuteOnly.
Here my objective is i need to protect the flash through these functions for that i have tried programming with these functions but i am not able to getting these explanations.In generally the Flash read only parameter says that block can be read and excuted .Now in this my doubt is it read by the processor or JTAG debugger?
And my aim is the code (out file or bi file)should be execute(in the microcontroller) and write by the debugger every time .But should not read out by the debugger through JTAG or SWD ....etc . Here i need to protect my code with blocking the flash.What the parameter i need to use for this?
Thank u...........