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
- MSP430F5529 on the MSPEXP430F5529LP: UART is not actually transmitting despite seemingly correct setup. What is wrong?
- A FPGA Project Proposal where I can use both PS and PL
- Program doesn't run after DFU
- Sending struct through queue
- How to generate a VPI warpmap for polynomial distortion correction?
- How to present this example concept in UML: Using 2 LCD displays in C/C++
- CLion: Debug via St-Link
- Portenta H7 Baremetal Development and a Little Guidance on Embedded System Learning Roadmap
- STM32 RTC3 Mixed Mode: Writing TR resets SSR
- Unable to read value from gpio set as input
- Mbed TLS: in-place en-/decryption for OAEP doesn't seem to work
- Shared variable read from low priority thread in preemptive scheduling
- Own Pattern / framework for interfacing with components in C
- Performance Difference Between Global Variable and Local Variable in Embedded Systems
- Comparing analog signal from Electret mic with samples
Related Questions in AVR
- AVR Assembly Clock Cycle
- LED matrix incorrectly displays data from structures
- 8-bit AVR: single instruction to put a value of 1, ~1(-2/0xfe) or 4 into one of the registers not eligible for immediate operands (r0...r15)?
- Ultrasonic range finder HC-SR04 using one timer
- C++ optimization comparing inline classes and functions doesn't seem good enough
- Global variable value doesn't change in ISR in C
- ATTiny1606 Timer TCA0 interrupt not triggering
- AVR-GCC (Arduino) - IEEE 754/IEC 559 compliance
- non-restoring division: how to avoid code bloat for divisor MSB set?
- Problems setting up an AVR MCU programmer in Eclipse 2024-03
- "avr/io.h" not found when compiling assembly for ATmega128
- Ugly Triple Indirection: Extensible Buffer Management Struct
- I didn't receive what I'm expecting via UART communication
- drive ws2812b using avr timer, fast pwm and interrupts
- Might there be a bug at the EEPROM write simulator in ATMEL/Microchip Studio?
Related Questions in ATMEGA
- Ultrasonic range finder HC-SR04 using one timer
- Global variable value doesn't change in ISR in C
- "avr/io.h" not found when compiling assembly for ATmega128
- I didn't receive what I'm expecting via UART communication
- ATmega32U4 can not DFU mode (Reset)
- Function pointers cause extremly wierd behavior of bare metal ATMega328PB
- 2-wire: TWINT is never set in TWCR after start condition is sent
- Arduino LED blink 3 time without reasons
- Arduino UNO Hangs on USART0 RX ISR
- [Arduino][Register manipulation] How to make your own Serial.print() with registers?
- Issue related to delay in ATmega4809 Curiosity Nano Board
- Why isn't my polling routine working when I poll on interrupt and works when I do on main routine
- Why are functions executed in the order they are defined and not in the order they are called from the int main() in avr-c?
- Multiply two 8 bit number that gives 16bit number as result, with 8bit register and only add instruction
- Why am I getting this error in proteus: "Invalid opcode 0xFFFF at PC=0x0008"
Related Questions in AVRDUDE
- Problems setting up an AVR MCU programmer in Eclipse 2024-03
- Serial port monitoring crashes LCD screen (TC1602A-21T(R)(3))
- avrdude with usbasp and attiny2313 return errors
- avrdude7.2 unable to detect atmelice - works with avrdude6.3
- writing ardude commands remotely via libssh
- avrdude on my jenkins-node: select from multiple atmelice_isp
- Is bool data type supported in embedded C?
- Can't communicate with ATtiny13a after set 128kHz internat RC
- Avrdude Android plugin development in Unity
- Where are avr-gcc libraries stored?
- How to read the fuses with avrdude
- Undefined Reference to suart_tunedDelay in AVR Firmware Project
- Read output of avrdude in C program using popen()
- Having problem to install avrdude on macOS Terminal
- ATmega16A SMD Package Stop Working after afew hours
Related Questions in WINAVR
- win avr gcc - nonconstant expression for length
- programmers notepad is missing when installing winavr
- WinAVR no rule for main.elf
- why adc always reads 1023 irrespective of input
- Char array can't save chars as its members. Password system using ATmega8
- New attiny85 fuse bits are all set by default
- How to find the address of a variable when using AVR?
- How to take value from DALLAS 18B20 using Atmega 32
- how to include external .C and .h file in AVR studio-4 project
- Avrdude .hex with Fuses
- Code wont load to my attiny2313 microcontroller
- how to control servo motor using embedded c using simple code?
- My program runs well on gnu-gcc but not on gnu gcc for avr
- Array in Proteus using WinAVR C size issue
- 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 # Hahtags
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.