ADuC7023 GPIO setting for JTAG pins

Currently, my customer has a problem that P0.1/0.2/0.3 sometimes do not work properly as GPIOs.

When the customer uses P0.1/0.2/0.3 as GPIOs, the setting sequence is as follows.

1) Set BM=1, 0x80014=0xFFFFFFFF on reset

2) User code reconfigure the pins as the GPIO mode via the GPxCON/GPxDAT register

2) If it needs user code download, customer uses I2C download via set BM=0 on reset

Q1- Is there a problem with the above settings ?

Q2- How should the customer set up ADuC7023 to use P0.1/0.2/0.3 as GPIOs reliably without error?



Parents Reply Children
No Data