title: Flashing target with GHS probe using command line
body: <p>We're using Greenhills Multi IDE and <a href="https://www.ghs.com/products/probe.html" rel="nofollow noreferrer">Greenhills Debug Probe</a> 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.</p>
  
  <p>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?</p>
  
  <p><a href="https://i.stack.imgur.com/Yo7Qe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Yo7Qe.png" alt="enter image description here"></a></p>
  
  <p>Basically I need to be able to specify (see image above):</p>
  
  <p>Flash device (this one I've got figured out I think)</p>
  
  <ul>
  <li>Base address</li>
  <li>Image file (we use raw images)</li>
  <li>Offset in flash</li>
  <li>Alternate RAM base</li>
  <li>Alternate flash utility</li>
  <li>Possibly also alternate MBS script</li>
  </ul>
  
  <p>Any tips, tricks, or pointers to better documentation than the standard GHS one? Would be much appreciated!</p>