avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] Problem when using pgm_read_byte_far()


From: Weddington, Eric
Subject: RE: [avr-gcc-list] Problem when using pgm_read_byte_far()
Date: Tue, 21 Oct 2008 08:54:04 -0600

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Lin Nan
> Sent: Tuesday, October 21, 2008 8:10 AM
> To: avr-gcc-list
> Subject: [avr-gcc-list] Problem when using pgm_read_byte_far()
> 
> My code uses bot pgm_read_byte_far and pgm_read_word_far to 
> read flash. 
> When compiling in Linux with avr-gcc, it turns out to be no problem.
> But when I compile it in Windows with WinAVR, the problem comes out:
> All pgm_read_word_far calls work just fine, but 
> pgm_read_byte_far didn't. 
> There are multiple calls to pgm_read_byte_far, and some of 
> them are just ok, while one call to pgm_read_byte_far always 
> return -1. 
>  
> It is really killing me. Did anyone came to this before?
>  

No one has reported this before (that I am aware of).

Could you provide a test case (source code) that can be used to reproduce the 
problem?

Thanks,
Eric Weddington




reply via email to

[Prev in Thread] Current Thread [Next in Thread]