From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Nasser To: Grant Edwards Cc: insight@sources.redhat.com Subject: Re: remote target => putpkt: write failed: Permission denied. Date: Mon, 12 Nov 2001 07:04:00 -0000 Message-ID: <3BEFE4AF.42CB5E3B@cygnus.com> References: <20011107143449.A24299@visi.com> X-SW-Source: 2001-q4/msg00301.html Message-ID: <20011112070400.v4vLO9TlE0hs4HNzjFUZVPiOuvBhE05Cr5f32F-Ivz0@z> Grant Edwards wrote: > > arm-elf-gdb > Cygwin/WinNT > remote target @ 57600 > > I'm using Insight 5.0 with an ARM7 board running gdb stubs. > > Everything works fine if I run "-nw", but with the GUI enabled, > I can't even connect. When I do a "target remote COM1" > Grant, You should not be connecting from the simulated console, specially in the 5.0 (old) version. Use the GUI menus to connect. There is a Target dialog for you to configure how and to where you want to connect and also menu options for connecting, disconnecting etc. In the recent snapshots, after Keith's latest rewrites, it is possible that this kind of command issued from the Console Window properly notify the rest of the GUI (I'm not sure though), but in the version you are using it will just confuse it. Regards, Fernando > I get the error: > > (gdb) target remote COM1 > > Couldn't establish conenction to remote target > putpkt: write failed: Permission denied. > > Remote debuggin using COM1 > > (gdb) > > After that, nothing that accesses the target will work. > > Any clues? > -- Fernando Nasser Red Hat - Toronto E-Mail: fnasser@redhat.com 2323 Yonge Street, Suite #300 Toronto, Ontario M4P 2C9