hello, i have arduino mega 2560 pro here. and my programmer using CodevisionAVR and usbasp(isp).
is there a recommended fuse bit setting for crystal 16MHz?
mega 2560 exsisting : Low=FF, High=D8, Extend=FD. when i upload using ISP. the program upload was success, but the program didnt start.
--- Updated ---
i use the progisp uploader with spi terminal, is there any special treatment to upload using spi to arduino mega 2560 board?
How to Change Fuse Bits of AVR Atmega328p - 8bit Microcontroller Using Arduino: In this instructable you will learn how to change the fuse bits of Atmega328p microcontroller. I am using Arduino mega as a programmer to program Atmega328P-PU on breadboard. It comes with a default 1MHz Internal...
oh i know the problem. the atmega2560 keep resetting itself. what should i do to disable it? its like a uC supervisori but i didnt find the supervisori as hardware. was anyone meet a problem like this? -board mega 2560 pro-
oh i know the problem. the atmega2560 keep resetting itself. what should i do to disable it? its like a uC supervisori but i didnt find the supervisori as hardware. was anyone meet a problem like this? -board mega 2560 pro-
* how do you know at all that it is resetting?
* how do you know it is resetting ITSELF?
--> External reset lines can be monitored.
--> During ISP upload the RESET is ACTIVE anyways. I never heard about INTERNAL RESET while external RESET is applied.
I can only imagine that "aborting" during ISP can be caused by unstable power supply.
If you use extended delay() in the code the WDT can trigger a reset, so you have to "feed the dog"
depending on what your code and the APIs its using. If I am not mistaken there are libs out there
that take care of this in their implementation. Or code your own delay routine you call which
creates a total delay based on smaller delay/reset the WDT periodically. Or timed interrupt
or.......
Unlock the full potential of your Arduino projects with our comprehensive tutorial on mastering the Watchdog Timer. Learn how to enhance reliability and performance today!
if you erase the FLASH, then no useful code is performed. It does nothing you can "detect" externally.
In my eyes it is impossible to determine whether the microcontroller is in RESET or not.
So why is it of interest then?
And btw: WDT can be forced_enabled by fuses. Thus to be sure the WDT is disabled --> disable the according FUSE.