Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

Program execution halts at ORG 04h in boot.asm

Not applicable

Program execution halts at ORG 04h in boot.asm

Question: While debugging my project in PSoC Designer, the program sometimes halts at the "halt" instruction at ORG 04h in boot.asm.  What could be the reason for this? I am using PSoC 1.



This problem could occur under one or a combination of the following conditions.

- The LVD interrupt is enabled in the project.
- No LVD ISR has been written
- The board is being supplied with external power and the power supply has dropped below LVD trip point.

If the debugging pod is being powered by the board, check if the board power supply is stable and above LVD trip point.  If not, in the Project >> Settings >> Debugger tab, select "OK for ICE to Power Pod" and power the board through the ICE.

If you intend to process the LVD interrupt and perform some operations on a brown out condition, write an ISR for the LVD and repalce the default "halt" instruction in the LVD interrupt vector with an ljmp to the LVD ISR.

Version history
Revision #:
1 of 1
Last update:
‎Jun 19, 2011 01:43 PM
Updated by: