A circuit comprising: a switch having a first current electrode coupled to a power supply terminal, a second current electrode coupled to supply a current to a load, and a control electrode; a driver circuit having an input for receiving a control signal, and an output coupled to the control electrode of the switch; and an open circuit detector having a first terminal coupled to receive a voltage from a bootstrap capacitor, a second terminal coupled to the power supply terminal, and a control terminal coupled to the driver circuit, the open circuit detector adapted to use a current path between the bootstrap capacitor and ground or between the bootstrap capacitor and the power supply terminal to detect an open circuit, and in response, provide a signal at the control terminal for causing the driver circuit to open the switch, characterized in that the open circuit detector comprises: a first current source having a first terminal, and a second terminal; a second current source having a first terminal, and a second terminal coupled to the second terminal of the first current source and to a floating ground; a capacitor having a first plate electrode coupled to the first terminal of the first current source, and a second plate electrode coupled to the first terminal of the second current source; a resistor having a first terminal coupled to the power supply terminal, and a second terminal coupled to the first terminal of the second current source; and a transistor having a first current electrode, a control electrode coupled to the first plate electrode of the capacitor, and a second current electrode coupled to the power supply terminal, a first current mirror (112, 136) having a first terminal coupled to the first current electrode of the transistor and for receiving the voltage from the bootstrap capacitor, and a second terminal; a latch (108, 110, 114, 118) having an input coupled to the second terminal of the first current mirror, and an output for providing the signal to the control terminal of the open circuit detector; and a delay element coupled to the latch, the delay element for preventing the latch from providing the signal until after a predetermined delay. a switch having a first current electrode coupled to a power supply terminal, a second current electrode coupled to supply a current to a load, and a control electrode; a driver circuit having an input for receiving a control signal, and an output coupled to the control electrode of the switch; and a first current source having a first terminal, and a second terminal; a second current source having a first terminal, and a second terminal coupled to the second terminal of the first current source and to a floating ground; a capacitor having a first plate electrode coupled to the first terminal of the first current source, and a second plate electrode coupled to the first terminal of the second current source; a resistor having a first terminal coupled to the power supply terminal, and a second terminal coupled to the first terminal of the second current source; and a transistor having a first current electrode, a control electrode coupled to the first plate electrode of the capacitor, and a second current electrode coupled to the power supply terminal, a first current mirror (112, 136) having a first terminal coupled to the first current electrode of the transistor and for receiving the voltage from the bootstrap capacitor, and a second terminal; a latch (108, 110, 114, 118) having an input coupled to the second terminal of the first current mirror, and an output for providing the signal to the control terminal of the open circuit detector; and a delay element coupled to the latch, the delay element for preventing the latch from providing the signal until after a predetermined delay.