 |
| Author |
Message |
|
|
Posted: Jan 23, 2012 - 11:44 AM |
|

Joined: Jan 23, 2012
Posts: 2
|
|
| Hey guys! I have a strange problem, and I'm obviously not experienced enough to solve it myself. I'm running AVR Studio 4 with WinAVR and a dragon connected with JTAG to an ATmega128. The problem is that in debugger, or when running on the target, the program can't return from the first called function, no matter how it looks like. When trying to look at it in the debugger the cursor either jumps to some completely random place in the project or after hanging for a bit jumps back to the start of main. Using some LEDs showed the same behavior when programming the target. I have turned off all optimization and started new really basic projects, still with the same problem. Does anyone know how to solve the problem or have any suggestions of how to proceed? |
|
|
| |
|
|
|
|
|
Posted: Jan 23, 2012 - 11:51 AM |
|


Joined: Jul 23, 2001
Posts: 2472
Location: Osnabrueck, Germany
|
|
| Switch off the M103C fuse. |
_________________ Stefan Ernst
|
| |
|
|
|
|
|
Posted: Jan 23, 2012 - 11:55 AM |
|

Joined: Jan 23, 2012
Posts: 2
|
|
| Well, that was simple enough, thanks! |
|
|
| |
|
|
|
|
|
|
|