Difference between revisions of "Infineon PMG1"

From SEGGER Wiki
Jump to: navigation, search
(Internal Flash)
(Internal Flash)
(11 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
{| class="seggertable"
 
{| class="seggertable"
 
|-
 
|-
! Subfamily || Flash Bank || Base address !! Size || J-Link Support
+
! Subfamily || Devices || Flash Bank || Base address !! Size || J-Link Support
 
|-
 
|-
| PMG1-B1 || Internal Flash || 0x00000000 || 128 KB || style="text-align:center;"| {{YES}}
+
| PMG1-B1 || CYPM1115/1116 || Internal Flash || 0x00000000 || 128 KB || style="text-align:center;"| {{YES}}
  +
|-
  +
| PMG1-S0 || CYPM1011 || Internal Flash || 0x00000000 || 64 KB || style="text-align:center;"| {{YES}}
  +
|-
  +
| PMG1-S1 || CYPM1111 || Internal Flash || 0x00000000 || 128 KB || style="text-align:center;"| {{YES}}
  +
|-
  +
| PMG1-S2 || CYPM1211 || Internal Flash || 0x00000000 || 128 KB || style="text-align:center;"| {{YES}}
  +
|-
  +
| PMG1-S3 || CYPM1311 || Internal Flash || 0x00000000 || 256 KB || style="text-align:center;"| {{YES}}
 
|}
 
|}
   
 
==Watchdog Handling==
 
==Watchdog Handling==
*The device does not have a watchdog.
+
*The device has a watchdog WDT.
  +
*The watchdog is not fed during flash programming.
*The device has a watchdog [WATCHDOGNAME].
 
*The watchdog is fed during flash programming.
 
*If the watchdog is enabled, it is turned off during flash programming and turned back on afterwards.
 
 
   
 
==Device Specific Handling==
 
==Device Specific Handling==
 
===Connect===
 
===Connect===
 
The connect sequence of PMG1 devices is very time critical and is performed from the J-Link's side directly in either one of these 2 modes:<br>
 
The connect sequence of PMG1 devices is very time critical and is performed from the J-Link's side directly in either one of these 2 modes:<br>
  +
* Reset mode: <br> J-Link toggles the XRES line and then sends SWD commands.<br>Reset mode is not supported by PMG1-S0 devices because they do not have an XRES pin.<br>
* Reset mode: <br>
 
  +
* Power Cycle mode:<br> J-Link powers on the target and then starts sending the SWD commands.<br>Therefore the target device needs to be supplied via Pin 19 of the J-Link and Pin 1 also needs to be connected to pin 19 of the J-Link.<br>Make sure to set VSupply (pin 19) correctly before connecting it to the target board.<br>This is the only mode supported by PMG1-S0 devices.<br>
J-Link toggles the XRES line and then sends SWD commands.<br>
 
  +
A device with reconfigured SWD pins runs automatically the acquire sequence to get control of the SWD pins for debugging back.<br>
Reset mode is not supported by EZ-PD™ PMG1-S0 MCU devices because they do not have an XRES pin.<BR>
 
 
* Power Cycle mode:<br>
 
J-Link powers on the target and then starts sending the SWD commands. <br>
 
This is the only mode supported by EZ-PD™ PMG1-S0 MCU devices.
 
   
 
===Reset===
 
===Reset===

Revision as of 13:12, 13 May 2024

The Infineon PMG1 is a family of high-voltage USB PD MCUs with Arm® Cortex®-M0/Cortex-M0+ CPU.

Flash Banks

Internal Flash

Subfamily Devices Flash Bank Base address Size J-Link Support
PMG1-B1 CYPM1115/1116 Internal Flash 0x00000000 128 KB YES.png
PMG1-S0 CYPM1011 Internal Flash 0x00000000 64 KB YES.png
PMG1-S1 CYPM1111 Internal Flash 0x00000000 128 KB YES.png
PMG1-S2 CYPM1211 Internal Flash 0x00000000 128 KB YES.png
PMG1-S3 CYPM1311 Internal Flash 0x00000000 256 KB YES.png

Watchdog Handling

  • The device has a watchdog WDT.
  • The watchdog is not fed during flash programming.

Device Specific Handling

Connect

The connect sequence of PMG1 devices is very time critical and is performed from the J-Link's side directly in either one of these 2 modes:

  • Reset mode:
    J-Link toggles the XRES line and then sends SWD commands.
    Reset mode is not supported by PMG1-S0 devices because they do not have an XRES pin.
  • Power Cycle mode:
    J-Link powers on the target and then starts sending the SWD commands.
    Therefore the target device needs to be supplied via Pin 19 of the J-Link and Pin 1 also needs to be connected to pin 19 of the J-Link.
    Make sure to set VSupply (pin 19) correctly before connecting it to the target board.
    This is the only mode supported by PMG1-S0 devices.

A device with reconfigured SWD pins runs automatically the acquire sequence to get control of the SWD pins for debugging back.

Reset

  • The device uses custom reset via AIRCR.SYSRESETREQ and halt at application entry point.

Limitations

Attach

Attach is not supported because the J-Link resets the device on connect.

Evaluation Boards

Example Application