Øyvind Harboe wrote:
> On Mon, May 18, 2009 at 7:55 PM, Dirk Behme <dirk.be...@googlemail.com> wrote:
>> Ųyvind Harboe wrote:
>>> You can't use "target create" on the telnet command line
>>> because it is  after "init". If "init" is not on the command
>>> line, OpenOCD runs it before launching the telnet
>>> server.
>> Ah, that explains a lot! ;) Will try it.
> 
> Any thoughts on how OpenOCD could be made clearer at this point?

Some additional printfs and/or error messages? E.g.

- When init is executed 'automatically' at startup:

printf("Info: init successfully done\n");

- When you try to do init again if it is already done once:

printf("Error: System already initialized\n");

- If you try to execute target create after init:

printf("Error: Can't create target after initialization\n")

Best regards

Dirk
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to