The flash from file is working well in Codewarrior but I can't get it to work in Kinetis IDE. The programmer is Multilink Universal FX.
Everything works in Codewarrior but can't figure the Flash Configurations in Kinetis IDE.
I shouldn't have to set up a project to flash the micro; this wasn't required in Codewarrior.
Here is the error that is meaningless to me:
'Launching LM4A' has encountered a problem.
Error in services launch sequence
The details button doesn't provide any further explanation.
See attachment for Flash Configurations settings.
Just as Don is having this problem, so am I with a slight twist. I tried using an elf file and can not get it to work. However, with a project file I can program the target with no issues all day long. The target is a MK64FX512VLQ12 in LQFP 144-pin package. See the attached word document for the sequence of events.
Any suggestions would be greatly appreciated.
Hi ALLEN,
Your problem is that you don't have a project assigned, see attached screenshot.
I hope this helps,
Erich
Hi Don,
Make sure you don't have any hanging debug process running. Take a look to the following post created by our colleague Erich Styger, specially to the step 8 "Kill hanging debuggers":
Debugging Failure: Check List and Hints | MCU on Eclipse
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
We found a temporary work around to flash file to target. It works now if the source from the .elf file that KDS creates is copied to the .s19 file. Any
suggestions on why the .s19 file can't be programmed without this step?
I tried to share this update with Erich Styger, but the forum would not allow me to do this (not connected to Erich....not sure how to add connections yet)
Hi Sonya,
KDS is a simplified IDE as compared to CodeWarrior.
KDS Flash to File only support ELF file formats.
Sorry.
UPDATED:
I am wrong. The Flash to File feature does work in KDS...mostly. My testing was on the FRDM-KL03Z and modified the Project Properites->C/C++ Build->Settings->Toolchains Tab and checked the "Create flash image".
Once this is done back in the Properites->C/C++ Build->Settings->Tool Settings Tab there is now a "Cross ARM GNU Create Flash Image->General" option to select what to convert the ELF file into another file and format (Intel HEX, Motorola S-record,Motorola S-record (symbols), or Raw Binary).
I tested each of these options and ran the "Flash from file..." tool and all formats worked for me except "Raw Binary" which returned an error of "File format not recognized".
When I launch the "Flash from file..." (lightning bolt icon) select the debugger tool to use and ensure you select your project. Then click on the "Startup" Tab and only have checked the "Load executable" and "Use file:". Next to the "Use file:" click "File System..." button and find your HEX or S-record to flash. Then click "Apply" to save off setting and click "Flash" button to flash the file to device.
If anyone has gotten the Raw Binary file format to flash please share your method to do that please.
Regards,
David