This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

reading APPROTECT from code

Hi,

I want to check if the FW is properly loaded into the chip and the chip is locked. Reading APPROTECT hangs the chip even if SD is not enabled. I assume APPROTECT is somehow protected from writing, but from reading?? SDK12, s132.

Parents
  • Sorry - I managed to find the bug. I had wrong pointer casting and eventually was reading oustside the flash area or something like that. It was wierd since it caused hanging the chip not a hardfault nor wrong value... best regards

Reply
  • Sorry - I managed to find the bug. I had wrong pointer casting and eventually was reading oustside the flash area or something like that. It was wierd since it caused hanging the chip not a hardfault nor wrong value... best regards

Children
No Data