I am relatively new to embedded development and I need to send a flashed device to a customer. The customer will have access to the J2 connector. So, I wanted to lock the program memory so that they could not gain access. The mechanics of locking n many pages is not the issue. Instead, I am concerned with the following.
What are/is the downside(s) to locking pages other than accidental program erasure?
How to choose the number of pages that should be locked?
Thank you in advance for your answers!
Discussion Forums
8-bit MCUs
Answered
Answered
What are/is the downside(s) to locking pages other than accidental program erasure?
none,an issue, not a downside, is that to debug/reprogram, you need to erase the flash and download
How to choose the number of pages that should be locked?
just do them all
Correct Answer
0
The customer will have access to the J2 connector
I guess you meant to say 'C2' by 'J2'.
Take the EFM8LB as example, you could take a look at the table 4.3 to know how the C2 was limited when you enable the lock.
If you take a look at table 4.1, the lock will apply on (start from) lower pages.
0
erikm and luweiguo,
Thank you both for your responses.
erikm - my chief concern was that there might be some type of performance penalty.
Downsides of Locking Flash
Hello All,
I am relatively new to embedded development and I need to send a flashed device to a customer. The customer will have access to the J2 connector. So, I wanted to lock the program memory so that they could not gain access. The mechanics of locking n many pages is not the issue. Instead, I am concerned with the following.
Thank you in advance for your answers!
I guess you meant to say 'C2' by 'J2'.
Take the EFM8LB as example, you could take a look at the table 4.3 to know how the C2 was limited when you enable the lock.
If you take a look at table 4.1, the lock will apply on (start from) lower pages.
erikm and luweiguo,
Thank you both for your responses.
erikm - my chief concern was that there might be some type of performance penalty.
luweiguo - I did mean 'C2' my apologies