![Infineon XDPL8218 Скачать руководство пользователя страница 45](http://html1.mh-extra.com/html/infineon/xdpl8218/xdpl8218_design-manual_2055190045.webp)
Design Guide
45 of 48
V 1.0
2018-06-06
XDPL8218 design guide
For high power factor flyback converter with constant voltage output
Debugging guide
19.2
Firmware status code read-out procedures with debug mode
For further debugging, the XDPL8218 debug mode can be activated to read out the firmware status code, to
identify which protection has been triggered.
shows the recommended procedures for firmware status code read-out in debug mode.
Note:
Debug
Mode
parameter should only be enabled for debugging purposes along with the configuration
set-up connection shown in
. For stand-alone board testing without connecting the .dp
Interface Gen2, please ensure the Debug
Mode
parameter is set to disabled.
Table 15
Procedures for firmware status code read-out in debug mode
Step Instruction
I
Open the configuration file (see the example in
) used in the system which has the
problem of powering up or shutting down, then set the Debug
Mode
parameter to “Enabled”.
II
Ensure that the AC input to the board is switched off and that the hardware connection for
configuration is OK based on
, plus a low-ESR ceramic capacitor of 1 nF soldered across
the UART pin and ground for noise decoupling.
III
Click to supply power and establish connection to the target XDPL8218. After this step, the
XDPL8218 will be in configuration mode and the device status should change to .
IV
Supply the board with AC input and output conditions, which trigger the problem.
After this step, the board does not start up because XDPL8218 is still in configuration mode.
V
Click
to test the configuration with the target XDPL8218.
After this step, the IC will automatically start up in debug mode and you should see a pop-up
window like the one shown below.
If any protection is triggered, the IC’s GD pin will stop switching and the output will stay low.
VI
Click “OK” in the pop-up window.
VII
Click the “Refresh” button in the .dp Vision application section and switch off the AC input.
After this step, the firmware status code is read out. If any protection has been triggered after
step V, the status code will show a value in red. Otherwise, it will show 0x0000 in black.
VIII
Hover the mouse over the status code and the description of the status code will be shown. For
example, 0x0040 means input UVP has been triggered.
IX
Apply the necessary counter-measure or repeat the steps above to debug again. Otherwise, ensure
the AC input is switched off before disconnecting the programming cable from the XDPL8218
board.