Debugging in KDS

cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging in KDS

Jump to solution
439 Views
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?

Labels (1)
0 Kudos
1 Solution
289 Views
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

View solution in original post

0 Kudos
8 Replies
290 Views
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 Kudos
289 Views
santoshsingh
Contributor II

HI Erich,

               Are there any options available other than using processor expert?

0 Kudos
289 Views
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 Kudos
289 Views
santoshsingh
Contributor II

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

0 Kudos
289 Views
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 Kudos
289 Views
santoshsingh
Contributor II

Hi Erich,

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

0 Kudos
289 Views
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 Kudos
289 Views
santoshsingh
Contributor II

Thank you Erich. I got it.

0 Kudos