[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] I cannot change target/port in avr-insight
From: |
Chunhua Li |
Subject: |
[avr-gcc-list] I cannot change target/port in avr-insight |
Date: |
Wed, 25 Jul 2007 08:25:29 +0100 |
User-agent: |
Mutt/1.5.16 (2007-06-09) |
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 127.0.0.1, 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 wrong with avr-insight? Do I need set some options on the makefile
to enable simulavr/avr-insight?
Another newbie question is: can I use AvaRice/avr-insight to run simulation,
not emulation, because I don't have JTAG connections.
Regards,
Chunhua
- [avr-gcc-list] I cannot change target/port in avr-insight,
Chunhua Li <=