Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

Software Reset with PSoC1

Not applicable

Software Reset with PSoC1

Question: How can I implement a software reset with PSoC1?


M8C_Reset macro performs a software reset function and more details on this function can be found in the SROM chapter in the Technical Reference Manual
The following are some more points on software reset:
1. A software reset will restore the M8C to a know state but not PSoC blocks, systems, peripherals, or registers. For a software reset, the CPU registers (CPU_A, CPU_F, CPU_PC, CPU_SP, and CPU_X) are set to 0x00. Therefore, code execution will begin at Flash address 0x0000. Hardware reset will restore all the registers to a known state.
2.SRAM will always be changed by the SWBootReset function as explained in  Technical Reference Manual
The Reset macro is a System Supervisory function and once the reset occurs, the ICE loses synchronization with the POD and therefore, the invalid memory reference error. Basically, you cannot emulate the software reset, however, you can use the chip and it will work properly.
Version history
Revision #:
1 of 1
Last update:
‎Mar 24, 2011 12:56 PM
Updated by: