Segger Debug Command File

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Segger Debug Command File

721 Views
acremonini
Contributor II

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

Labels (1)
0 Kudos
Reply
1 Reply

575 Views
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 Kudos
Reply