Hi,
I have two question regarding the S32DS debugger for the S32K144:
1) In Code Warrior there was the option available to 'attach' to the MCU while it was running its program by selecting the corresponding elf file. This way the debugger was able to debug the program flashed in the MCU without erasing it. Is this option available for the S32K144?
2) In the debug configurations at the advance options for the SWD protocol of the debugger tab there is a functionality for Non-Volatile Memory Preservation:
What does the memory ranges represent and are the ranges measured in bytes?
Best Regards,
Agustin Diaz
已解决! 转到解答。
Hello Agustin,
1) Yes, you can attach to the device.
In the debug configuration tick the option "Attach to Running Target"
2) This option allows you to preserve selected memory ranges - it basically dumps the memory range prior to the mass erase and programs it back after.
Default values and description might be misleading so we logged it as an usability issue.
The values/addresses entered are in hexadecimal format and value must be aligned to word size:
From: address must end with 0x0, 0x4, 0x8, 0xC.
To: address must end with 0x3, 0x7, 0xB, 0xF.
e.g. to preserve memory range: 0x1000 .. 0x1FFF:
Hope it helps.
Stan
Hello Agustin,
1) Yes, you can attach to the device.
In the debug configuration tick the option "Attach to Running Target"
2) This option allows you to preserve selected memory ranges - it basically dumps the memory range prior to the mass erase and programs it back after.
Default values and description might be misleading so we logged it as an usability issue.
The values/addresses entered are in hexadecimal format and value must be aligned to word size:
From: address must end with 0x0, 0x4, 0x8, 0xC.
To: address must end with 0x3, 0x7, 0xB, 0xF.
e.g. to preserve memory range: 0x1000 .. 0x1FFF:
Hope it helps.
Stan
Hi Stanislav,
I tried to attach the multilink to MPC5606B, but it seems that this way is not working with PA.
Do I need to wait flash programmer of incoming S32DS 1.2 PA release?
Best regards,
Neo