Segger Debug Command File

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Segger Debug Command File

1,092 次查看
acremonini
Contributor III

Good morning,

I started to work with KDS using Segger Jlink as Debug interface and I met an issue: I need to launch a command file at the beginning of the debug session to initialize the DDR module of a kinetis K70 because I want to put a section of the code in DDR2, but I do not find where this file can be set.

 

This is possible with Codewarrior: I can provide a .tcl file in the target configuration to initialize the registers of the MCU.

 

How can we do with KDS?

 

Antonio Cremonini

标签 (1)
0 项奖励
回复
1 回复

946 次查看
BlackNight
NXP Employee
NXP Employee

Hi Antonio,

the debugger connection page has several settings you can use, for example the one below:

pastedImage_0.png

You can use GDB commands to read/write memory, see as well

https://www.segger.com/admin/uploads/productDocs/UM08005_JLinkGDBServer.pdf

Erich

0 项奖励
回复