Debugging in KDS

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

Debugging in KDS

跳至解决方案
874 次查看
santoshsingh
Contributor II

Hi,

When we are debugging any application in FRDM board, it is written to flash. If we want to load it to RAM instead for testing purposes and to save R/W cycles of flash, how can we do this in KDS?

标签 (1)
0 项奖励
1 解答
724 次查看
BlackNight
NXP Employee
NXP Employee

Hi Santhosh,

Here is how I do it: RAM Target with Kinetis Design Studio and FRDM-K64F

I hope this helps,

Erich

在原帖中查看解决方案

0 项奖励
8 回复数
725 次查看
BlackNight
NXP Employee
NXP Employee

Hi Santhosh,

Here is how I do it: RAM Target with Kinetis Design Studio and FRDM-K64F

I hope this helps,

Erich

0 项奖励
724 次查看
santoshsingh
Contributor II

HI Erich,

               Are there any options available other than using processor expert?

0 项奖励
724 次查看
BlackNight
NXP Employee
NXP Employee

Hi Santosh,

you don't have to use Processor Expert, it is just shown in the example because Processor Expert makes it very easy. You can do the same linker file manipulation by hand too, of course.

I hope this helps,

Erich

0 项奖励
724 次查看
santoshsingh
Contributor II

Thanks Erich. Can you please tell me how to manipulate linker file to do the same?

0 项奖励
724 次查看
BlackNight
NXP Employee
NXP Employee

Hi Santosh,

have a read in RAM Target with Kinetis Design Studio and FRDM-K64F  which contains that linker file part. You need to check your particular linker file, but the settings should be easy to spot.

I hope this helps,

Erich

0 项奖励
724 次查看
santoshsingh
Contributor II

Hi Erich,

               Can you please tell me where is the linker file located exactly?

0 项奖励
724 次查看
BlackNight
NXP Employee
NXP Employee

Hi Santosh,

look for a file with an .ld extension. It is usually in Project_Settings/Linker_Files.

I hope this helps,

Erich

0 项奖励
724 次查看
santoshsingh
Contributor II

Thank you Erich. I got it.

0 项奖励