CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

External Ram on an 18F8722

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
pfournier



Joined: 30 Sep 2003
Posts: 89

View user's profile Send private message

External Ram on an 18F8722
PostPosted: Thu Apr 30, 2009 1:13 pm     Reply with quote

I have a 18f8722 connected to ram and described in the
Microchip DS39646C-page 102,
FIGURE 7-2: 16-BIT WORD WRITE MODE EXAMPLE.

I also looked at Microchip's AN869, DS00869B
External Memory Interfacing Techniques for the PIC18F8XXX.
FIGURE 4: BASIC EXTERNAL MEMORY CONNECTION DIAGRAM
and
FIGURE 6: WORD WRITE MODE EXAMPLE


I set up like this:
Code:
#fuse EMCU, ABW16, AW16, WAIT

I set MEMCON=0x02

I used:
Code:
write_external_memory command(0x20002, ptr, 2);

Watching the signals using a logic analyzer, the address seems to be wrong in some sort of unpredictable way. Can anyone see something wrong in the setup?
_________________
-Pete
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group