Debug interface without erasing memory

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Debug interface without erasing memory

ソリューションへジャンプ
2,752件の閲覧回数
AgustinDiaz
NXP Employee
NXP Employee

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:

174323_174323.pngpastedImage_2.png

What does the memory ranges represent and are the ranges measured in bytes? 

 

Best Regards,

Agustin Diaz

ラベル(2)
0 件の賞賛
返信
1 解決策
2,113件の閲覧回数
stanish
NXP Employee
NXP Employee

Hello Agustin,

1) Yes, you can attach to the device.

In the debug configuration tick the option "Attach to Running Target"

pastedImage_1.png

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:

pastedImage_2.png

Hope it helps.

Stan

元の投稿で解決策を見る

2 返答(返信)
2,114件の閲覧回数
stanish
NXP Employee
NXP Employee

Hello Agustin,

1) Yes, you can attach to the device.

In the debug configuration tick the option "Attach to Running Target"

pastedImage_1.png

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:

pastedImage_2.png

Hope it helps.

Stan

2,113件の閲覧回数
neojung
NXP Employee
NXP Employee

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

0 件の賞賛
返信