Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] now what?

2006-12-31 by John Samperi

At 06:06 AM 31/12/2006, you wrote:

>     .dseg
>
>TABLE:

And of course I just realized that you are trying to put
a .db statement in RAM (.dseg) which is impossible to do.

A .db  can only exist in Flash (.cseg) or EEPROM (.eseg) and
never in RAM (.dseg).

If you end up using .cseg for the table then you will need
a properly constructed lpm instruction to fetch the data or
if .eseg then you will need an EEPROM byte reading routine.

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
********************************************************

Attachments

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.