Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Re: [AVR-Chat] Studio problem, "invalid opcode"

Re: [AVR-Chat] Studio problem, "invalid opcode"

2007-06-18 by John Samperi

At 02:04 PM 18/06/2007, you wrote:
>No, this is just in sim.

There COULD be a problem with the simulator, may want to try an
earlier version of Studio like 4.11 or 4.12. I know that several
things got messed up with the M128 in the latest version of Studio.
Waiting for SP1...

If you like I could run your code through one of my boards as I
mentioned before even if in single step mode up to the point where
it breaks and see what happens with the real hardware and JTAG.

USART1 and some of the timer registers may also be wonky with JTAG
and I reported this to Atmel as a bug. The registers show up with an
offset of -0x20 from what they should be.



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

Re: [AVR-Chat] Studio problem, "invalid opcode"

2007-06-18 by David VanHorn

> USART1 and some of the timer registers may also be wonky with JTAG
> and I reported this to Atmel as a bug. The registers show up with an
> offset of -0x20 from what they should be.

That's lovely.. This app uses usart 0 and 1.

I'm going to try it on hardware today, I have my STK-501 and ICE-50
with me, so we'll see.

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.