Stephen Noonan

Debugging code with non-0x0 origin

Discussion created by Stephen Noonan on Jan 11, 2018

I am having difficulty debugging a project that places PFLASH at a location other than 0x0.

 

Everything builds without error but when I try to debug, the IDE is never able to attach itself properly. It seems like I am missing some setting in the project setting or the debugger settings.

 

I attached an example project that locations program flash at 0x8000 on a FRDM-K64F. I used the OpenSDA embedded USB connection on the FRDM-K64F.

 

If I change the origin of PFLASH to 0x0 and touch nothing else, the debugger works without an issue. So, what am I missing, to be able to debug the same project with the code starting at 0x8000?

 

Thanks in advance.

Outcomes