Re: [OpenOCD-devel] OpenOCD (or GDB) hangs when trying to flash a RISC-V chip from a single console.

2020-10-27 Thread Andreas Fritiofson
On Tue, Oct 27, 2020 at 7:36 PM wrote: > > *Error:* The 'gdb_port' command must be used before 'init'. > > I do not understand what this error message is trying to tell me. As you > can see in my previous mail, I do invoke the 'gdb_port' command first > before anything else. How can I solve

Re: [OpenOCD-devel] OpenOCD (or GDB) hangs when trying to flash a RISC-V chip from a single console.

2020-10-27 Thread kristof . mulier
Hi Andreas, Thank you very much for your reply. One of the config files indeed had a hidden 'init' somewhere. Removing that fixed the error. Now it's replaced with another error. I'll first try to fix this one myself - I'll call for help if all options don't work. Many thanks for your

Re: [OpenOCD-devel] OpenOCD (or GDB) hangs when trying to flash a RISC-V chip from a single console.

2020-10-27 Thread kristof . mulier
I have to add something to my previous mail. GDB no longer hangs, but produces the following error message: Run flash-remote function: == flash-remote( elf_file = application.elf ,

[OpenOCD-devel] OpenOCD (or GDB) hangs when trying to flash a RISC-V chip from a single console.

2020-10-27 Thread kristof . mulier
I'm running into quite a complicated problem. When I flash my RISC-V chip with two consoles - one for OpenOCD and another for GDB - the flash succeeds. When I try to flash it from a single console - a procedure I've successfully applied on countless ARM-based chips - it fails. I'll give more