Flash from File: Downloading a file without the sources

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Flash from File: Downloading a file without the sources

Flash from File: Downloading a file without the sources

Sometimes I only want to download a binary (.s19, .hex, .elf) without the need for the project and sources of it.

With the command line version of GDB you can do this, but there is as well a way in KDS to do this more interactively: Flash to File...

 

From the Run menu, select 'Flash from file...':

 

11847_11847.pngFlash from file.png

Then configure your connection (see KDS Debug Configurations (OpenOCD, P&E, Segger)).

11848_11848.pngFlash configuration.png

Beside of the settings in the Debugger Tab (which depends on the used debug interface (P&E, Segger, OpenOCD, see note1 below), you need to specify in the 'Main' tab two things:

  1. The name of the binary (e.g. elf file)
  2. A project name (see note2 below)

 

 

Note1:

there is a current issue in KDS v1.0.1beta that P&E is not listed as Debugging Connection. This is expected to be fixed in KDS V1.1 (GA).

 

Note2:

While the project is not really necessary, there is the issue in KDS v1.0.1beta that without a project name, you will get an error. So if you start with a new/empty workspace, you need to create a 'dummy' project first and to provide this as a project name.

 

Happy Flashing :-)

标签 (1)
评论

How do I generate a .s19 file like in Codewarrior?

In Codewarrior I go into "ARM Linker" and "Output" and selct "Generate S-Record file". I don't see this option in KDS.

无评分
版本历史
最后更新:
‎05-16-2014 04:31 AM
更新人: