- Mon Sep 22, 2003 12:17 pm
#191
We are building a Robot which will use your ATMega128 Mini Header Board. 4 of the boards were ordered and everyone on our team has the same problem:
Code for it which involves a subroutine or interrupt service routine will not work.
For example:
====================
int main()
{
PORTA = 0xFF;
} // will work
====================
void setA()
{
PORTA = 0xFF;
}
int main()
{
setA(); // does not work, does not exit method
}
====================
We have tried both CodeVision and WinAvr programming enviornments in atmega128 mode. We are using ponyprog set for the atmega128.
Has anyone else reported this problem? Could it have something to do with the board since it was designed for the atmega103? Perhaps a compatability fuse bit?
Thanks in Advance,
Juzzam
Code for it which involves a subroutine or interrupt service routine will not work.
For example:
====================
int main()
{
PORTA = 0xFF;
} // will work
====================
void setA()
{
PORTA = 0xFF;
}
int main()
{
setA(); // does not work, does not exit method
}
====================
We have tried both CodeVision and WinAvr programming enviornments in atmega128 mode. We are using ponyprog set for the atmega128.
Has anyone else reported this problem? Could it have something to do with the board since it was designed for the atmega103? Perhaps a compatability fuse bit?
Thanks in Advance,
Juzzam