Datasheet

124 PSoC Designer IDE Guide, Document # 001-42655 Rev *B
Debugger
7.6 I
2
C Debugger
7.6.1 Connecting to the ICE
An important setting for each PSoC Designer project is the ICE Device that will be used for debug-
ging. For I
2
C debugging you will need to select the MiniProg3 from the list of ICE Devices in the
Project > Settings > Debugger tab. The ICE Device list shows only hardware that can be used for
the project that is currently opened.
MiniProg3 can support up to 100mA in 5V, 3.3V, 2.5V, 1.8V, or you can choose to supply the power
externally.
Pod Clock Frequency is only effective in debug mode. It supports 50 kHz, 100 kHz, 400 kHz,
750 kHz, 1 MHz and 1.5 MHz. By default, it is set to 100 kHz. Choose the option that best fits the tar-
get hardware. The fastest operable setting will depend on the project SysClk setting and on bus
capacitance. Refer to the applicable PSoC device data sheet for guidance.
Figure 7-10. Debugger Project Settings
Once you have set your ICE device, and are connected, check the communication link by using the
Connect button or by selecting the Debug > Connect/Disconnect menu item. The results of the
connection attempt are displayed in the Output window and the status bar
Figure 7-11. Debug Status Bar
7.6.2 Enable Debug Mode
Before you generate your project, Debug Mode must be enabled in the Global Resources window.
During code generation, extra code necessary for debugging will be added to the hex file automati-