Interesting! It appears to be a problem with the boot vector select. I never turned on the boot vector, I haven't even done an app with a boot loader yet, but it's apparently on by default. Someone correct me if I'm wrong, but AFAIK that should NOT be. If I manually click IVCE, and on the next instruction click IVSEL, then that allows normal execution. It was jumping to the T0 overflow vector of the boot loader ISR table that dosen't exist! Grr.. I bet they never tested this against an app that didn't have a bootloader.
Message
Re: [AVR-Chat] Studio problem, "invalid opcode"
2007-06-18 by David VanHorn