I'm a complete noob in AVR programming, so sorry if it's in some FAQ.
I'm getting an error when I'm connecting ARV Insight to target device.
- Code: Select all Expand
---------------------------
GDB
---------------------------
putpkt: write failed: No error.
GDB cannot connect to the target board using COM2.
Verify that the board is securely connected and, if necessary,
modify the port setting with the debugger preferences.
---------------------------
OK
---------------------------
Port setting is 9600 N 1 N the same in "Dev. manager" and "ARV Insight"
I'm trying to upload BlinkLED example with WinAVR Program menu, but getting the same error of course:
- Code: Select all Expand
> "make.exe" program
avrdude -p atmega328p -P com2 -c stk500v2 -U flash:w:main.hex
avrdude: ser_send(): write error: sorry no info avail
make.exe: *** [program] Error 1
> Process Exit Code: 2
> Time Taken: 00:01
Code was compiled with WinAVR:
- Code: Select all Expand
> "make.exe" all
-------- begin --------
avr-gcc (WinAVR 20100110) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiling C++: main.cpp
avr-gcc -c -mmcu=atmega328p -I. -x c++ -gstabs -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -fno-exceptions -Wall -Wundef -Wa,-adhlns=./main.lst -MMD -MP -MF .dep/main.o.d main.cpp -o main.o
main.cpp:3:1: warning: "F_CPU" redefined
<command-line>: warning: this is the location of the previous definition
Linking: main.elf
avr-gcc -mmcu=atmega328p -I. -gstabs -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=main.o -std=gnu99 -MMD -MP -MF .dep/main.elf.d main.o --output main.elf -Wl,-Map=main.map,--cref -lm
Creating load file for Flash: main.hex
avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock main.elf main.hex
Creating load file for EEPROM: main.eep
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \
--change-section-lma .eeprom=0 --no-change-warnings -O ihex main.elf main.eep || exit 0
Creating Extended Listing: main.lss
avr-objdump -h -S -z main.elf > main.lss
Creating Symbol Table: main.sym
avr-nm -n main.elf > main.sym
Size after:
AVR Memory Usage
----------------
Device: atmega328p
Program: 192 bytes (0.6% Full)
(.text + .data + .bootloader)
Data: 0 bytes (0.0% Full)
(.data + .bss + .noinit)
-------- end --------
> Process Exit Code: 0
> Time Taken: 00:01
Any advice would e appreciated !
Thanks !
UPD: And I don't see pololu control panel either...
UPD2: TTL port - "This device cannot start. (Code 10)"





