> -----Original Message----- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > org] On Behalf Of Chunhua Li > Sent: Wednesday, July 25, 2007 1:25 AM > To: avr-gcc-list@nongnu.org > 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 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 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 _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list