2017-09-20 10:15 PM
Hi,
In my project I use CMSIS Ethernet library and use USART as communication channel to talk with other boards. All function work perfectly but after adding FLASH_ReadOutProtection to protect my micro-processor it's execution speed decrease (for example before enabling ReadOutProtection it could process each received Ethernet package less than 50ms but after that it takes more time(about 4times more) to process a simple package.
what's wrong with ReadOutProtection ?
Thanks
#stm32f10x #stm32f10x-flashSolved! Go to Solution.
2017-09-21 02:11 AM
Actually I use ROP just for protection my micro-processor from reading.
I know. That's what it is made for.
My question is - what else did you change ?
There is no supposed impact of ROP on core performance.
... before enabling ReadOutProtection it could process each received Ethernet package less than 50ms but after that it takes more time(about 4times more) ...
This is a very generic measure, and IMHO points to another issue.
Perhaps you have changed the Flash settings (waitstates) as well.
2017-09-20 10:32 PM
What makes you believe ROP has anything to do with it ?
Beside the mentioned assumptions.
2017-09-21 12:43 AM
Thanks AvaTar for your comment
Actually I use ROP just for protection my micro-processor from reading.would it be possible tell me why it decreases the speed of calculation?
I appreciate it
2017-09-21 02:11 AM
Actually I use ROP just for protection my micro-processor from reading.
I know. That's what it is made for.
My question is - what else did you change ?
There is no supposed impact of ROP on core performance.
... before enabling ReadOutProtection it could process each received Ethernet package less than 50ms but after that it takes more time(about 4times more) ...
This is a very generic measure, and IMHO points to another issue.
Perhaps you have changed the Flash settings (waitstates) as well.
2017-09-21 05:11 AM
Output system state like SYSCLK, APB1, APB2, etc and PLL settings.
What part are we talking about?