This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EALLOW问题

手册上说无论ST1寄存器的EALLOW位是高还是低,通过JTAG口,总是能对受EALLOW保护的寄存器进行读写操作。但是今天当我进行emulation,想把GPIO16口设置为输出口时,发现必须要先程序中必须先有asm("EALLOW"),在其后写GPIO方向寄存器才才有效,否则根本无法设置其为输出口。

我想请教今天值班的大神,有哪些原因可能导致了这样的现象