أخي الكريم حمل الملف بالاسفل واسمه source code
|
السلام عليكم و رحمة الله تعالى و بركاته اخي على ما اضن و صلت للحل بقي علي سوى ان امرر الهكس لاكن المبرمجة التي معي لا تعمل مع atml stuidio وكان يقصد ب jtag
http://upload.qariya.info/images/qar...98597a83a4.jpg
http://upload.qariya.info/images/qar...d735f123ee.jpg
the fuse bits
The ATmega32 has two fuse bytes. These contain settings that have to be loaded before the CPU can start, like clock source and other stuff. You have to program your ATmega to use an external high speed crystal oscillator and disable JTAG.
We set the lower fuse byte (lfuse) to 0b11101111, and the high fuse byte to 0b11001001. (0b means that everything after the b is in binary).
We used avrdude and USBtinyISP (
http://www.ladyada.net/make/usbtinyisp/) to program our ATmega.
In all the following examples, we will be using an Ubuntu Linux computer. The commands should be identical if you run avrdude on Windows.
avrdude -c usbtiny -p m32 -U lfuse:w:0b11101111:m
avrdude -c usbtiny -p m32 -U hfuse:w:0b11001001:m
Warning: If you get this wrong, you could easily brick your ATmega! If you for example disable the reset button, you won't be able to re-program it. If you select the wrong clock source, it might not boot at all.
بارك الله فيك اخي اكري