AnsweredAssumed Answered

LPC2103 ISP after software interrupt doesn't work

Question asked by Vladisan Kim on Sep 5, 2017
Latest reply on Sep 8, 2017 by CarlosCasillas

Hello,

 

I'm using the following code for software interrupt:

 

                VICIntSelect        = 0x00000000;
                VICIntEnClr            = 0xFFFFFFFF;
                VICSoftIntClr        = 0xFFFFFFFF;
                VICProtection        = 0x00000000;                
                WDTC        = 0x32;
                WDMOD        = 0x03;
                WDFEED    = 0xAA;
                WDFEED    = 0x55;


After reset, I can't use my CP210x USB to UART bridge with Flash Magic tool. When I'm trying to flash LPC2103, Flash Magic tool always says: "Operation failed. Failed to autobaud Step 1". After I unplug the power cable of my controller and plug it again, Flash Magic tool works fine. Could someone help me, pls?

 

My LPC2103 settings:
CCLK = PCLK = 67.5Mhz
FOSC = 13.56 MHz.

 

Best regards,

Outcomes