How
do I add console port on the Smart Switch using TF-331?
The
ideal way is to use the high speed UART on the TF-331 to provide
console management on the Smart Switch. The high speed UART
has a FIFO queue to ensure the commands are properly processed
by the CPU. It is not recommended to use the console port
on the TF-331 as the console port for the Smart Switch since
it is meant to be a debugging port.
What
is the function of PCON | = 0x04?
The
Program Write Enable (PWE) bit located in PCOM register (bit
2) is used for enable/disable PRGRAMWR and XPRGWR signals
activity during MOVX instructions.
Therefore, PCON | = 0x04 is used for writing flash.