Hi,
I am trying to change the factory mode(ASC BSL with no timeout) of an XMC1400 MCU to SWD0 User Debug mode.
But I want to do this via a script or something like that, because this will be done in the future by people who are not engineers so it should be simple as possible.
The ways that Infineon offers are not appropriate (and/or not working for me.
I saw in other posts that Jlink can be used to do this but I didn't understand the full process. I am here to learn more about this
First let me tell about my setup. I have a custom PCB board with XMC1400 MCU on it and I am using an XMCLink Isolated debug probe(v1_1).
I have DAVE V4(4.2.2), Memtool (4.07.08.4721), J-Flash V6.32b.
I tried DAVE first, but there is no Get/Set BMI tool in my version so I eliminate that option.
Then I tried Memtool. 1.It is not "always" working. Sometimes it just cannot connect. And 2. When it connects, procedure is a little bit complex for someone who knows very little about this whole concept.
So if it is possible I'd like to through with Segger tools.
I read this thread([SOLVED] J-Link firmware issue in BMI change with XMC1 family (Infineon))
I checked the suggested link(wiki.segger.com/Infineon_XMC1000)
In that link I saw the J-Link Scripts. But the one I need is not listed in there. I need to change the mode from ASC_BSL to SWD0, not SWD1 or SPD.
In the documentation it is written that: "Please note that the J-Link Script Files are pre-compiled (*.pex) thus they neither contain plaintext nor can be modified. If you feel that you need a modified version of the script file, please get in contact with SEGGER directly (e.g. via E-Mail / forum)." So here I am trying to contact with SEGGER
If there is a script to change ASC_BSL to SWD0 it would be appreciated. But it is OK if you can tell me another way to do it. Maybe how to write the script tutorial?
Any help will be very useful
Thanks,
İpek
I am trying to change the factory mode(ASC BSL with no timeout) of an XMC1400 MCU to SWD0 User Debug mode.
But I want to do this via a script or something like that, because this will be done in the future by people who are not engineers so it should be simple as possible.
The ways that Infineon offers are not appropriate (and/or not working for me.
I saw in other posts that Jlink can be used to do this but I didn't understand the full process. I am here to learn more about this
First let me tell about my setup. I have a custom PCB board with XMC1400 MCU on it and I am using an XMCLink Isolated debug probe(v1_1).
I have DAVE V4(4.2.2), Memtool (4.07.08.4721), J-Flash V6.32b.
I tried DAVE first, but there is no Get/Set BMI tool in my version so I eliminate that option.
Then I tried Memtool. 1.It is not "always" working. Sometimes it just cannot connect. And 2. When it connects, procedure is a little bit complex for someone who knows very little about this whole concept.
So if it is possible I'd like to through with Segger tools.
I read this thread([SOLVED] J-Link firmware issue in BMI change with XMC1 family (Infineon))
I checked the suggested link(wiki.segger.com/Infineon_XMC1000)
In that link I saw the J-Link Scripts. But the one I need is not listed in there. I need to change the mode from ASC_BSL to SWD0, not SWD1 or SPD.
In the documentation it is written that: "Please note that the J-Link Script Files are pre-compiled (*.pex) thus they neither contain plaintext nor can be modified. If you feel that you need a modified version of the script file, please get in contact with SEGGER directly (e.g. via E-Mail / forum)." So here I am trying to contact with SEGGER
If there is a script to change ASC_BSL to SWD0 it would be appreciated. But it is OK if you can tell me another way to do it. Maybe how to write the script tutorial?
Any help will be very useful
Thanks,
İpek