Hi,
have a XMC1404 device on a PCB that I require to program. Requirement is that need to have the boot mode index programmed as SWD1 after programming as these physical pins on device have debug connector on them on PCB.
Was programming previouse samples with no problems but was unaware that the Boot Mode Index of XMC1404 had already been set to SWD1. This meant that I could erase,program & verify with no problems.
On new boards XMC1404 has been left at factore default so this means initially need to set boot mode index before programming.
Start-up
mode
Pins
used
BMI value
ASC Bootstrap Load Mode(ASC_BSL) P0.14/P0.15 or
P1.3/P1.2 0xFFC0
User Mode (Debug)
SWD0 P0.14/P0.15
0xF8C3
User Mode (Debug)
SWD1
P1.3/P1.2
0xFAC3
The FLasher automaticly detects that needs to switch over to SWD mode and does this but problem is that I need to set this as SWD1 rather than SWD0.
Is there anyway to have the Segger Flasher to use SWD1 rather than SWD0 automaticly instead? This is for a volume production solution so need to implement automatic robust solution.
Would be very grateful for help here.
Thanks,
Steve
have a XMC1404 device on a PCB that I require to program. Requirement is that need to have the boot mode index programmed as SWD1 after programming as these physical pins on device have debug connector on them on PCB.
Was programming previouse samples with no problems but was unaware that the Boot Mode Index of XMC1404 had already been set to SWD1. This meant that I could erase,program & verify with no problems.
On new boards XMC1404 has been left at factore default so this means initially need to set boot mode index before programming.
Start-up
mode
Pins
used
BMI value
ASC Bootstrap Load Mode(ASC_BSL) P0.14/P0.15 or
P1.3/P1.2 0xFFC0
User Mode (Debug)
SWD0 P0.14/P0.15
0xF8C3
User Mode (Debug)
SWD1
P1.3/P1.2
0xFAC3
The FLasher automaticly detects that needs to switch over to SWD mode and does this but problem is that I need to set this as SWD1 rather than SWD0.
Is there anyway to have the Segger Flasher to use SWD1 rather than SWD0 automaticly instead? This is for a volume production solution so need to implement automatic robust solution.
Would be very grateful for help here.
Thanks,
Steve