Trying to download "hello world" RAM project from KINETIS512_SC to TWR-K60N512.
Get the following error:
Launching k60-hello-world_MK60N512VMD100_INTERNAL_RAM_PnE U-MultiLink has encountered a problem.
Failed to resume target process., Downloading ELF file
CW10.1
W7 32bit
I noticed that after I had imported the file as described in the documentation accompanying KINETIS512_SC, I had to create a Remote System connection.
Someone point the obvious out to me?!
I don't know what the root cause of your problems may be, but I just encountered the same error message several times ("Failed to resume target process, Downloading ELF file"). It persisted through a project clean/rebuild, power-cycle of target, and power-cycle of workstation. I was trying to debug a program that I had been successfully downloading and debugging two hours earlier today.
It appears that my solution was to create a brand-spanking new project, and flash it to the target. I got the ominous "secure flash bit" warning or whatever it is, hadn't seen it in a while, but I clicked through and debugged the new app. I then closed it, re-opened my earlier project, debugged it, and it actually decided to cooperate and download to the target this time.
I had earlier tried debugging a bootloader-style application directly, which is probably not allowed. But that attempt apparently left the target in such a state, that the tools had no idea how to deal with this condition, and just threw up a useless error message. I'm really getting tired of dealing with beta-quality tools.
I ended up raising a query over the KINETIS512_SC_1 demos, and was told to use "CW_MCU_v10_1_Examples" instead...
Beta tools indeed.
I also had that security warning when trying AN4379SW bootloader (which to be fair I thought was good). Turns out that there is an unwanted feature in the IDE which mis-interprets exactly how the security fields can or can't be changed. Flashing the tower went ok, and continues to work.
leccy wrote:I also had that security warning when trying AN4379SW bootloader (which to be fair I thought was good). Turns out that there is an unwanted feature in the IDE which mis-interprets exactly how the security fields can or can't be changed. Flashing the tower went ok, and continues to work.
Regarding the bootloader, you may also want to have a look at this thread:
https://community.freescale.com/message/102662#102662
Not the same bootloader you're using, but good to know if you ever try to get the MSC bootloader working.