directly from program memory.
These would be the ones ending in _P. There is also a
whole section on Program Space String Utilities.
Available here:
http://www.nongnu.org/avr-libc/user-manual/group__avr__pgmspace.html
--
[EMAIL PROTECTED]
Andy Warner Voice: (612) 801
for me to spend
some time getting to know it ? I'm running 3.4.3 right now, and
am very happy with it - but smaller/faster code is always welcome.
I'm cool building it all from source.
--
[EMAIL PROTECTED]
Andy Warner Voice: (612) 801-8549 Fax: (208) 575-5634
that handlers declared with INTERRUPT have global interrupts
enabled when they run, whereas SIGNAL disables all interrupts
before calling your code.
--
[EMAIL PROTECTED]
Andy Warner Voice: (612) 801-8549 Fax: (208) 575-5634
___
AVR-GCC-list
or the tail ? - so if you inherit code, it is
always worth double checking which rule the author is following.
None of which negates any of David's description, it just swaps
the names of two variables.
--
[EMAIL PROTECTED]
Andy Warner Voice: (612) 801-8549 Fax: (208) 575-5634
it,
and I'm sure there are others like me.
--
[EMAIL PROTECTED]
Andy Warner Voice: (612) 801-8549 Fax: (208) 575-5634
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
Vincent Trouilliez wrote:
[...]
i = pgm_read_byte( p-nb ); //should return 3, but doesn't...
Try:
i = pgm_read_byte((p-nb));
After all, pgm_read_byte() takes the address of a byte to read,
so you need to pass it the _address_ of the object you want.
--
[EMAIL PROTECTED]
Andy
googleable)
compiler error isn't _really_ the function of this list.
--
[EMAIL PROTECTED]
Andy Warner Voice: (612) 801-8549 Fax: (208) 575-5634
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr
-trivial products and managed not to gnaw my own arm off.
--
[EMAIL PROTECTED]
Andy Warner Voice: (612) 801-8549 Fax: (208) 575-5634
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
however.
This may not be an avrdude problem, per se - but double
check the value of bit 3 of the high fuse byte. This
controls whether eeprom contents are preserved/cleared
during a chip erase. Default value says erase the eeprom.
See page 255 of the Mega32 manual.
--
[EMAIL PROTECTED]
Andy
On 10/5/06, dimax un [EMAIL PROTECTED] wrote:
Hi Folks,
I'm trying to find clean solution for the following system problem.
I have configuration structure in EEPROM:
struct VPD_t
{
char sn[10];
char id[20];
}VPD EEPMEM;
[...]
Is the location in eeprom fixed between releases of the
code
Here is a paper on the volatile performance/conformance of
various compilers (mostly gcc-based.) Including avr-gcc:
http://www.cs.utah.edu/~regehr/papers/emsoft08-preprint.pdf
While most of the problems referred to in this thread (and all the
problems in Vincent's original posting) were
On Wed, Mar 4, 2009 at 12:05 PM, David VanHorn d...@mobilefusioninc.com wrote:
How would I construct a lookup table of logarithms in program memory?
I'll need the logarithm of N entries between 0 and 1, ex: If N = 10, then I
need log(0), log(0.1), log(0.2) etc.
I don't know what precision
On Mon, Mar 16, 2009 at 11:00 AM, Robert von Knobloch b...@engelking.de wrote:
[...]
What really had me confused is something that I consider may be be a bug.
If I define a string (OK - array of char, but colloquially string) in a
defined section:
e.g.
SECTION1 char mystring[] = This is a
I am seeing some volatile handling behaviour that confuses me, and is
causing problems with some code.
Background: freshly built toolchain (gcc: 4.6.2, binutils 2.21.1,
avr-libc: 1.7.2, linux host.)
Target: Mega128, project is a DMX512 dongle.
DMX512 uses 250Kbaud serial comms, and uses a break
On Mon, Nov 28, 2011 at 6:38 AM, Paulo Marques pmarq...@grupopie.com wrote:
[...]
Does the problem still occur if you assign the variables later and not
at declaration time, i.e., something like:
unsigned char status, data;
volatile static int slot = SEARCHING;
status
On Tue, Nov 29, 2011 at 7:23 AM, Weddington, Eric eric.wedding...@atmel.com
wrote:
Hi Wim,
Do you have a GCC bug report filled out for this issue?
If the consensus is that this is a genuine bug (there's an awful lot of
false bug reports involving volatiles), I'm happy to do my part and file
On Tue, Nov 29, 2011 at 7:23 AM, Weddington, Eric eric.wedding...@atmel.com
wrote:
Hi Wim,
Do you have a GCC bug report filled out for this issue?
If not, could you fill out a bug report?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51374
--
Andy
17 matches
Mail list logo