embeddedgreenhillscoldfire

Flashing target with GHS probe using command line


We're using Greenhills Multi IDE and Greenhills Debug Probe to program and debug our target system (a Coldfire based, bare metal system). Currently I flash the target using the IDE debugger GUI, but I would prefer to use a command line interface to do it.

The documentation is fairly sketchy, and only gives a very simple example. As far as I can tell I should be able to use grun with gflash to do this, but I'm having a hard time figuring out which GUI fields map to which grun options. Anyone with any experience of this?

enter image description here

Basically I need to be able to specify (see image above):

Flash device (this one I've got figured out I think)

Any tips, tricks, or pointers to better documentation than the standard GHS one? Would be much appreciated!


Solution

  • Is below screenshot from debugger command reference is of any help? You can use it to download your source on HW. I will be able to share more details is this helps. Or you can share your solution if you had already found it.

    enter image description here