I am experiencing a strange problem:
In short, If I am programming my target board - it does not run. However, if I hit the debug button and the debugger programs the target board, I can press the run button and the target runs without any problems. I can then leave the debugger - cycle power on the target, and it still runs without any problems.
I am using tools and the environment as stated below.
AVR Studio:Version 4.14 build 589
GCC from WinAVR-20080512
Target CPU is on custom board - Atmega644P
When programming or debugging;
JTAGICE II in JTAG mode via USB
On programming panel of the JTAG
Device is set to ATmega644P and signature verifies correctly.
Programming mode is set to JTAG.
On the Program Tab:
I use the .hex file generated by the compiler for programming. Programming and verify runs correctly with no errors.
On Fuses tab:
BODlevel is set to 111
JTAGEN is tacked
SPIEN is ticked
bootfalsh size is set to 512 - not used
SUT_CKSEL is set to ext crystal osc 8.00 meg and startup 16K+65ms
no locks are set
Hardware info tab says:
Hardware Revision: 0x01
Firmware Version: 0525 0525
I have attached a zip file with screen captures of my project options. I have added no include directories and have not changed the memory settings.
Anybody with any ideas or suggestions.