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 mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list