I use winxp inside a virtualbox with host as ubuntu. The usb programmer connected to host is routed to the guest. I use WinAVR which uses avrdude; the relevant fields in makefile are given as Atmega32 for processor, port as usb and programmer as stk200. Still it says cannot find device "usb". Please help.
How to program ATmega32 using the USB to serial programmer
2.4k Views Asked by Quest At
1
There are 1 best solutions below
Related Questions in EMBEDDED
- PHP don't use temp file for upload
- Sparkfun SC16IS750 does not work on Raspberry Pi
- Reserve memory space in m_text memory region of FLASH on embedded target
- SAE J1939 Standards Collection -- How much is necessary?
- How to call multiple slaves for Spi data transmission?
- Deployment over GPRS to embedded devices
- Changing just one byte in SD card sector
- Comparion of values won't work without delay
- Better to pass struct, or pointer to struct?
- STM32F4 Handling peripheral error while making a DMA Transfer (RX)
- USB programming, transfer file from iOS device to Embedded os device?
- using Diab, dcc 5.9.4 to compile a windows executable
- does b64_pton() work if input contains special characters? I am using it in C code
- u-boot select boot partition based on GPIO state
- Why is a write to a memory-mapped peripheral register not actioned (LPC43xx)?
Related Questions in AVR
- saving an array in EEPROM
- How to call multiple slaves for Spi data transmission?
- Changing just one byte in SD card sector
- is it possible compare a 16-bit value with a 8-bit compare match ISR
- UART RX Interrurpt fired too early
- Making a member function static makes the program fail to compile. Can't figure out why
- Arduino Programming Without Arduino Libraries - Atmel Studio
- SPI with Atmega32 and At42QT2100
- XMega: CDC on USB composite controller does not function properly
- How to build avr-gcc using android NDK
- PySerial dataSend doesn't receive data
- Efficient bit checking in embedded C Program
- Issue sending c char* over USART
- What is the efficient way of parsing string on embedded system?
- Controlling 3 stepper to move on xyz direction
Related Questions in ATMEGA
- UART RX Interrurpt fired too early
- Arduino Programming Without Arduino Libraries - Atmel Studio
- ATMega328P "AVRDude: Could not find USBTiny Device (0x1781/0xc9f)"
- Unable to get the timer working
- Mismatching MCUCR definitions between handbook and AVR-GCC library
- atmega: register data gets corrupted by division operation
- what is better using while loop or if statement when checking status codes of atmega 32?
- how the usb spi flashing device write program to atmega?
- Arduino. How to create long char array/string? Need to make http request
- Atmega 168A usb tiny fuse programming
- how to send sms from gsm sim900d to mobile
- ATmega128 - UCSROA undeclared (first use in this function)
- Timer1 acting weird on Arduino UNO (ATMEGA328)
- Timer/Counter0 not working as expected
- How to store additional code sections in FLASH memory (AVR, GCC)
Related Questions in AVRDUDE
- Arduino Programming Without Arduino Libraries - Atmel Studio
- ATMega328P "AVRDude: Could not find USBTiny Device (0x1781/0xc9f)"
- BootLoader and Application memory size in AVR
- arduino nano avrdude: stk500_getsync(): not in sync: resp=0x00
- AVR - Can't add Programmer on Eclipse
- Ardunio ESP8266 board creating hex file
- How does Bluefruit EZ-link perform DTR/RTS over Bluetooth for programming?
- Cannot talk to atmega328p over AVRisp mkII
- avrdude error: out of sync
- avrdude7.2 unable to detect atmelice - works with avrdude6.3
- avrdude with usbasp and attiny2313 return errors
- Arduino takes too long to upload, avrdude: ser_drain() error (macOS Big Sur)
- No matter what I do, I get this error avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xbe
- C++ System(); function not working as expected / Windows console commands in C++
- Python read cmd AVRDUDE to update arduino
Related Questions in WINAVR
- Using LUFA as CDC for String Transmission
- WINAVR not finding file in include path with whitespace
- Build AVR Studio 4 project in AVR Studio 5
- CMake error with AVR WINAVR compiler
- Tasking with AVR-Ada
- 8 bit enum, in C
- How to compile and run c/c++ programs in Notepad++ using the WinAvr compiler
- Grouping Files in Project Explorer in Eclipse
- WinAVR and native Windows console apps
- New attiny85 fuse bits are all set by default
- AVRDUDE does not write flash
- win avr gcc - nonconstant expression for length
- AT32UC3/WinAVR const variable at fixed address
- How to find the address of a variable when using AVR?
- Error during compile of Megablink demo using freeRTOS for atmega2560 using WinAVR
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Your error results from the mistaken
-P usbin your command:Do not specity "usb" as a port when using a USB-serial connected programmer or bootloader, because downstream of the operating system driver, these are not treated as USB devices but rather as serial ports.
When you use such a device, determine the com port or device node it is connected to (perhaps by seeing which one appears/disappears when you connect and disconnect it), find out the baud rate required by your programmer, and issue a command such as
COM1 or whatever on Windows
Linux or OSX
The device file on Linux would be something like /dev/ttyUSB0 or /dev/ttyACM0, while on OSX it tends to be /dev/tty.usbmodem or similar.
The alternate solution you propose in comments, of using
-P avrdoperleverages the fact that your specific programmer offers an alternate interface which is not a USB-serial device in the eyes of the host operating system, but instead a custom USB protocol which at least some versions of avrdude know how to talk.