I can't disable the tamper pins with the TAMPER_PIN_DISABLE fuses on the G3 variant of the imx6ul processor.
The fuses can't be set and remain 0 after programming.
On the G2 it works.
Hello,
Hope the following helps.
Have a great day,
Yuri
-------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct
Answer button. Thank you!
-------------------------------------------------------------------------------
Dear Yuri,
Let me know if I am using G3 version of i.MX6UL, then can I use Tamper pins for interrupt functions.
I am not using these pins as GPIO but using as PMIC and Ethernet interrupt.
Regards,
Surendra
Yuri,
We tried to write TAMPER_DISABLE[21:20] from 00 to 11, but we it was access protect. We tried fuse prog and override. Both did not work. Logs are at below.
Can you please let me know how to write to fuse? Thanks.
Regards,
S
=> fuse read 0 3
Reading bank 0:
Word 0x00000003: 000100d9
=> fuse prog 0 3 0x003100d9
Programming bank 0 word 0x00000003 to 0x003100d9...
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>
y
mxc_ocotp fuse_prog(): Access protect error
ERROR
=> fuse overwrite 0 3 0x003100d9
fuse - Fuse sub-system
Usage:
fuse read <bank> <word> [<cnt>] - read 1 or 'cnt' fuse words,
starting at 'word'
fuse sense <bank> <word> [<cnt>] - sense 1 or 'cnt' fuse words,
starting at 'word'
fuse prog [-y] <bank> <word> <hexval> [<hexval>...] - program 1 or
several fuse words, starting at 'word' (PERMANENT)
fuse override <bank> <word> <hexval> [<hexval>...] - override 1 or
several fuse words, starting at 'word'
=> fuse override 0 3 0x003100d9
Overriding bank 0 word 0x00000003 with 0x003100d9...
mxc_ocotp fuse_override(): Access protect error
ERROR
=> fuse override 0 3 0x00300000
Overriding bank 0 word 0x00000003 with 0x00300000...
mxc_ocotp fuse_override(): Access protect error
ERROR
Hi Yuri,
Does this mean that if anybody want to use tamper pins , he has to use only G3 ?
Can we change GPIO to tamper pins on G2 version ?
Thanks in advance.
- Ratnakar
could you tell me,how to disable the tamper pins? when in uboot i use fuse read 0 3 the data is 000000ff ,when i use md 0x21bc430 the data is 000000ff,i can`t change it with mw 0x21bc430 0x003000ff. could you tell me what you did to disable the tamper pins. ps: now i can`t set tamper pin as gpios .
thank you.