I am using C8051f120 MCU. I want to put a read lock in so that no one can read the code memory using JTAG interface. I checked the flash Utility in UVision but found there is no option to set the read lock. Can someone help me as in how can I set the read lock
Err, something called processor "user manual" can help you.
Thanks for pointing out...I checked the manual and it said to set byte 0x1fbfe as 0. But I am not sure whether I need to set it using code or there is some utilities which do so after putting the code in the flash memory
"But I am not sure whether I need to set it using code or there is some utilities which do so after putting the code in the flash memory"
Did you find any text in the documentation saying that you need to do it using any special method?
Have you tried to create an assembler file that places the numeric constant 0 at that specific address, then linked and downloaded?
View all questions in Keil forum