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.

how to reset ucd3138 reback rom mode

How to solve this error.or how i can erase the program to rom mode  and i can download program again?

  • If you have written the checksum, and somehow the PMBus is not working, you may have a big problem.  

    If the start of your main program looks like this:

    MiscAnalogRegs.IOMUX.all = 0; //enable JTAG

    //Check to see if FAULT1 is pulled high, or flash trim checksum is bad, if yes then go to ROM. if yes then go to ROM.

    if((MiscAnalogRegs.GLBIOREAD.bit.FAULT1_IO_READ == 1) || (PMBusRegs.PMBCTRL1.bit.SLAVE_ADDR == 0x7e))

    {

    pmbus_read_write_rom_mode(PMBUS_WRITE);

    }

    you may have a work around.  

    If you pull the Fault1 line high and then reset the device, that should clear the checksum if the checksum clearing function is working, and the code is making it through load.asm and into the main program.