I’m new to programming AVR microcontrollers and have some trouble connecting to the microcontroller(ATMEGA328).
I’ve got the Pololu USB AVR programmer and using ATMEL studio 6. When i’m trying to read device signature i’m prompted with “Unable to enter programming mode.”
Thank you for providing so many details! I am sorry you are having problems programming with your AVR programmer. The preloaded Arduino bootloader in the ATmega328 should not be an issue. I suspect there might be a wiring issue. What other components do you have connected to the ATmega328? Could you post pictures of your setup?
Thanks for replying. I’ve now connected another avr (attiny13) to the programmer and this works just fine I’m glad to hear that pre-loaded bootloaders isn’t a problem
I’ve checked my wiring for ATmega328 over and over again without finding any flaws. I haven’t connected anything but the wires for the programmer and a 5V DC power source. All mounted on a breadboard. Maybe i’ll try one more time before I discard it - it’s brand new but I guess s*** happens
I’m glad to hear that it isn’t a generel problem with the programmer and ATmega328
Why do you think you have the same problem? Do you get the same error from the Pololu USB AVR Programmer Configuration Utility and Atmel Studio as the original poster? Could you post pictures of your setup?
Well… My brother solved it by the RT*M method. It was related to the frequency settings, he keept lowering it until the device was found. The atmel environment feels as tricky as the assembler language.
Thanks for letting us know. I am glad you got it working. When programming AVRs with our programmer, the ISP Clock frequency should be less than 1/4 of the frequency of the device.