I have been compiling and flashing my project for the NXP MK10DN512 device just fine. We decided to change that device for the MK10FN1M which is exactly the same except for the amount of flash which is 1MB instead of the 512KB from the MK10DN512.
I selected the MK10FN1M in the "Options for Target" and the projects still compiles fine but I'm getting:
And if I click OK I get:
I haven't really found a way to make this device change. So, what am I missing?
The recommended (and stable) solution is to
- set up a new "MK10FN1M"-project
- and migrate the "MK10DN512 "-project accordingly
I figured it out.
I'll let this here in case someone else lands here looking for answers. What I did was just add the appropriate programming algorithm in the ULINK2 settings section.
That's it.
And does the debugging still work as expected (breakpoints, etc) over the entire range?
Yeah, at least it seems like so for the debugging I've been doing. The only thing is that the device seems to be running at half speed but I think that is because of the registers difference so I'm checking on that. But other than that, the code is running and the debug works fine.