Hi John,
I have tried checking my interrupt vectors and stacks. I have no problem with these cos I'm using .EQU labels. Any changes in the address will be replaced when I use m16def.inc
I have also changed the rjmp and rcall command to jmp and call. But still not working.
Anyhow, I will try if I can make it alive. Will let u guys know. Thanks.
Regards,
Andrew
John Samperi <samperi@ampertronics.com.au> wrote:
At 07:05 PM 30/11/04 -0500, you wrote:
>Here is the "fun" part.... the system did not run at all.
>I wonder if there any additional stuff that I need to do
Check your interupt vectors and stack location. Also
it looks as if you are going over the 8k page boundaries,
(call an jmp instead of rcall and rjmp) so there may be some
problems there. Check your list file to see were the program
is now located. You should be able to do some simulation in
Studio to see what happens after reset. I may be working
on a project that will start with the 8535 but may end up
with a M16 or even M32, so I would be interested in your
results and findings.
Regards
John Samperi
******************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495 Fax (02) 9674-8745
Email: samperi@ampertronics.com.au
Website http://www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
******************************************************
Yahoo! Groups Sponsor
Get unlimited calls to
U.S./Canada
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/AVR-Chat/
To unsubscribe from this group, send an email to:
AVR-Chat-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.Message
RE: [AVR-Chat] Migrating from ATmega8535L to ATmega16L
2004-12-01 by Andrew Lim
Attachments
- No local attachments were found for this message.