Make a DEL flash with Atmega32

Thread Starter

Ouin85

Joined Feb 9, 2015
1
Hello,
I wish to make a DEL flash with Atmega32.
I banged the program WinAVR, I compiled him and sent on the flash memory of Atmega32 successfully.
But, nothing works.
I noticed that the hexadecimal file and the contents of the memory are not identical.
What that can be.
I tried with AvrStudio, the same result.
Thank you.

The program is :

#include <avr/io.h>
#include <util/delay.h>

int main(void)
{
DDRD = 0b10000000;

while(1)
{
PORTD = 0b10000000;
_delay_ms(1000);
PORTD = 0b00000000;
_delay_ms(1000);
}
return 0;

}
 
Top