gnupic: Re: [gnupic] Cannot get 18f252 to blink


Previous by date: 25 Oct 2006 00:00:47 +0100 Re: [gnupic] Cannot get 18f252 to blink, Samuel Tardieu
Next by date: 25 Oct 2006 00:00:47 +0100 Re: [gnupic] Cannot get 18f252 to blink, Scott Dattalo
Previous in thread: 25 Oct 2006 00:00:47 +0100 Re: [gnupic] Cannot get 18f252 to blink, Samuel Tardieu
Next in thread: 25 Oct 2006 00:00:47 +0100 Re: [gnupic] Cannot get 18f252 to blink, Scott Dattalo

Subject: Re: [gnupic] Cannot get 18f252 to blink
From: ####@####.####
Date: 25 Oct 2006 00:00:47 +0100
Message-Id: <102420062300.5363.453E9B1A0004293E000014F32213575333CEC9CA9B020E04040E0909@comcast.net>

David,

I beleive that the 18f252 does split RAM and function registers at 0x80. Have you
tried gpsim? As an aside, the 18f has "bra" instructions that assemble to single word
opcodes that could be used in place of the longer/slower "goto"'s. 

George

-------------- Original message -------------- 
From: Samuel Tardieu ####@####.#### 

> On 24/10, David Froseth wrote: 
> 
> | Also, I think that with the 18f parts, all of the Special Function 
> | Registers (0x0f80-0x0fff) and the first 128 bytes of data memory 
> | (0x0000-0x007f) are easily accessed through the 'Access Bank'. No bank 
> | switching is necessary. I definitely could be missing something on 
> | this, though, since I cannot get this simple program running. 
> 
> Not quite: the split is not at 0x80. Through the access bank, you get 
> memory from 0x00 to 0x5f and special registers from 0xf60 to 0xfff. You 
> can access most special registers there however, but it is not usable for 
> many CAN-related registers which are located between 0xf00 and 0xf5f. 
> 
> Sam 
> 
> 
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: ####@####.#### 
> For additional commands, e-mail: ####@####.#### 
> 

Previous by date: 25 Oct 2006 00:00:47 +0100 Re: [gnupic] Cannot get 18f252 to blink, Samuel Tardieu
Next by date: 25 Oct 2006 00:00:47 +0100 Re: [gnupic] Cannot get 18f252 to blink, Scott Dattalo
Previous in thread: 25 Oct 2006 00:00:47 +0100 Re: [gnupic] Cannot get 18f252 to blink, Samuel Tardieu
Next in thread: 25 Oct 2006 00:00:47 +0100 Re: [gnupic] Cannot get 18f252 to blink, Scott Dattalo


Powered by ezmlm-browse 0.20.