Re: [AVR-Chat] Studio problem, "invalid opcode"
2007-06-18 by John Samperi
At 12:33 PM 18/06/2007, you wrote: >Now in the above code, if I manually set the GIE bit in SREG at the >first nop, a few instructions later, it does a jump to $00F020! More silly questions, the code has ben assembled for the M128 using the m128def.inc. Can you use the JTAG debugger instead of the simulator? Quite a few things became broken for the M128 and the simulator with Studio4.13. >Worse, there isn't any int that should vector to $00F020, that I'm aware of. Can you do a search in the list file for 0xf020? That may tell you where the program is jumping to. I can run your code in one of my CONT3 board fitted with a M128 (I have one to play with, otherwise it uses the M64) and JTAG if it helps. Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA Tel. (02) 9674-6495 Fax (02) 9674-8745 Email: john@ampertronics.com.au Website http://www.ampertronics.com.au *Electronic Design * Custom Products * Contract Assembly ******************************************************** -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.9.0/852 - Release Date: 17/06/2007 8:23 AM