I have been looking through the codewarrior documentation, but have not been able to find the steps for doing the following:
1) Attach to a running target.
2) Halt the target
3) Load an ELF file
4) Issue "go" command to start the executable.
I have a special boot loaded on the target that sits in a while (1) loop after all initialization is complete (i.e. ram). I would like to perform the listed steps once boot has reached the loop. Maybe this is possible to do via the debugger command shell / command line? It would be nice to avoid the gui as much as possible.
Thanks