Hello, I wanted to program my bigavr6 with avrprog2.
After calling avrprog2 with the following params
avrprog2 -matmega128 --flash w:main.elf
it hangs at
Autodetect programming pins...
I use the ATmega128 MCU-Card, and have compiled the avrprog2 1.4.1 under debian testing.
my code is as follows
~~~~~~~~~~~~~~~
int main(void) { DDRA = 0xFF; PORTA = 0x01;
while(true) { }
} ~~~~~~~~~~~~~
compiled with
avr-gcc -mmcu=atmega128 -Wall -Os -frename-registers -Werror -Wstrict-prototypes -fpack-struct -fshort-enums -std=c11 -c -o main.o main.c avr-gcc -mmcu=atmega128 -o main.elf main.o
what can i do? thanks
Does your board configuration work with the mikroe programmer? Doublecheck all jumpers ans switches on the board which are related to programming.
Log in to post a comment.
Hello,
I wanted to program my bigavr6 with avrprog2.
After calling avrprog2 with the following params
it hangs at
I use the ATmega128 MCU-Card, and have compiled the avrprog2 1.4.1 under debian testing.
my code is as follows
~~~~~~~~~~~~~~~
define F_CPU (8000000UL)
include <avr io.h="">
include <stdbool.h>
int main(void)
{
DDRA = 0xFF;
PORTA = 0x01;
}
~~~~~~~~~~~~~
compiled with
what can i do?
thanks
Does your board configuration work with the mikroe programmer?
Doublecheck all jumpers ans switches on the board which are related to programming.