AnsweredAssumed Answered

Unable to configure TAMPER pins

Question asked by Pritesh Patel on Jun 21, 2018
Latest reply on Jun 21, 2018 by igorpadykov
Branched to a new discussion

I want to use TAMPER functionality to wakeup iMX6ULL from SNVS mode whenever i get some event on SNVS_TAMPER7. For this i read the fuse bits from uboot which gives me the following result


=> fuse read 0 3   
Reading bank 0:
Word 0x00000003: 713000ab
As per my understanding, this HEX value corresponds to using TAMPER pins as GPIO(referring IMX6ULLRM). So in order to use TAMPER7 as TAMPER, I am trying to write bits[21:20] as 1:0 using following command.
=> fuse prog 0 3 712000AB
But this doesn't allow me to do so.It gives me Error in accessing the register
=> fuse prog 0 3 712000AB
Programming bank 0 word 0x00000003 to 0x712000ab...
Warning: Programming fuses is an irreversible operation!
         This may brick your system.
         Use this command only if you are sure of what you are doing!
Really perform this fuse programming? <y/N>
mxc_ocotp fuse_prog(): Access protect error
Can anyone please help me with this?