SNIU028D February 2016 – September 2020 UCD3138 , UCD3138064 , UCD3138064A , UCD3138128 , UCD3138A , UCD3138A64
Here is the code for a back door based on the serial RX line, as used in the UCD3138 training labs:
void main()
{
if(GioRegs.FAULTIN.bit.TMS_IN == 0) //emergency backdoor -
//TMS is normally pulled up by external resistor
{
clear_integrity_word(); //if it's pulled down, clear checksum (integrity word)
}