[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] I cannot change target/port in avr-insight

From: Eric Weddington
Subject: RE: [avr-gcc-list] I cannot change target/port in avr-insight
Date: Wed, 25 Jul 2007 09:23:51 -0600

> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Chunhua Li
> Sent: Wednesday, July 25, 2007 1:25 AM
> To: address@hidden
> Subject: [avr-gcc-list] I cannot change target/port in avr-insight
> Dear list,
> I have successfully built the avr-gcc tool chains in a Linux box.
> Now I want to learn some basic skills for simulating and debugging.
> I make a very simple project and make it. Everthing goes
> smoothly without errors. I want to use simulavr/avr-insight to run
> basic simulation, so I convert .elf to .bin with the
> following command:
>    $ avr-objcopy -j .text -j .data -O binary main.elf main.bin
> and then start simulavr as
>    $ simulavr -d at90s8515 -P simulavr-disp -g main.bin
> simulavr displays lots of *MESSAGE* followed by the following
> information
>    main.c:415: MESSAGE: Simulating clock frequency of 8000000 Hz
>    Waiting on port 1212 for gdb client to connect...
>    Connection opened by host, port -15050.
>    Waiting on port 1212 for gdb client to connect...
> I open another console and run "avr-insight main.elf". From
> "Run" menu
> I select "Connect to target". In the popup menu I choose
>    Target: GDBserver/TCP
>    Hostname: localhost
>    Port: 1000 <=== This should be 1212
> but I cannot change the port from 1000 to 1212. I can setup
> target and
> port on "avr-gdb".

What version of avr-insight are you using?

> Another newbie question is: can I use AvaRice/avr-insight to
> run simulation,
> not emulation, because I don't have JTAG connections.

No. Avarice is used specifically for emulation via the JTAG ICE. Simulavr is
used specifically for simulation.

Eric Weddington

reply via email to

[Prev in Thread] Current Thread [Next in Thread]