Sign in

username:

password:



Not a member?

Search c3x



Search tips

Subscribe to c3x



c3x by Keywords

Boot | C31 | TMS320VC33 | VC33

Discussion Groups

Discussion Groups | TMS320C3x | external memory address range for PAGE 0

Technical discussions about the TI C3x DSPs (including the C31, C32 and C33 DSPs).

  

Post a new Thread

external memory address range for PAGE 0 - bhad...@yahoo.com - Apr 25 6:57:23 2008



Hi All,

I have assigned page0 as the chip enable for an external flash.
But the page0 is not becoming active low on accessing an address range in between 0x00081000 to
0x003fffff.

For that matter only my page2 is becoming active low in the address range 0x0080A000 to
0x00BFFFFF.page1 and page3 are also not becoming active low in their respective address
ranges.

I am using only the A0-A19 of the address bus.

My memory map is as follows
MEMORY

 {  
    
 	RAM1     : origin=0x800000, length=0x03FF     /* INTERNAL BLK 1  
}

SECTIONS             
 {      
      .sect     "START"	        :        > RAM1		
      .sect	  "data1"	:        > RAM1
}
      
 And I am defining the address as follows and I am using LDI and STI commands to access.
flashadd      .set   0081000h

Is this the proper way to define the address.

Any help will be appreciated.

Thanking you
Bhaduri

------------------------------------

OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c3x/1.php

_____________________________________




(You need to be a member of c3x -- send a blank email to c3x-subscribe@yahoogroups.com )

RE: external memory address range for PAGE 0 - Bill Finger - Apr 26 7:08:24 2008

Bhaduri,

What addressing mode are you using?  If you're using direct addressing,
make sure you're changing DP!  Otherwise all your reads will be
0x80xxxx.  Make sure your cache is off also for this sort of testing.

Bill 

> -----Original Message-----
> From: c...@yahoogroups.com [mailto:c...@yahoogroups.com] On 
> Behalf Of b...@yahoo.com
> Sent: Thursday, April 24, 2008 7:47 AM
> To: c...@yahoogroups.com
> Subject: [c3x] external memory address range for PAGE 0
> 
> Hi All,
> 
> I have assigned page0 as the chip enable for an external flash.
> But the page0 is not becoming active low on accessing an 
> address range in between 0x00081000 to 0x003fffff.
> 
> For that matter only my page2 is becoming active low in the 
> address range 0x0080A000 to 0x00BFFFFF.page1 and page3 are 
> also not becoming active low in their respective address ranges.
> 
> I am using only the A0-A19 of the address bus.
> 
> My memory map is as follows
> MEMORY
> 
>  {  
>     
>  	RAM1     : origin=0x800000, length=0x03FF     /* 
> INTERNAL BLK 1  
> }
> 
> SECTIONS             
>  {      
>       .sect     "START"	        :        > RAM1		
>       .sect	  "data1"	:        > RAM1
> }
>       
>  And I am defining the address as follows and I am using LDI 
> and STI commands to access.
> flashadd      .set   0081000h
> 
> Is this the proper way to define the address.
> 
> Any help will be appreciated.
> 
> Thanking you
> Bhaduri
>                                      

------------------------------------

OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c3x/1.php

_____________________________________




(You need to be a member of c3x -- send a blank email to c3x-subscribe@yahoogroups.com )

Re: external memory address range for PAGE 0 - bhad...@yahoo.com - May 1 8:35:36 2008

Hi Bill,

Thnx,and you are right it was the problem of DP.Could you please also tell me how to clear the
cache.

Also if any of you know any discussion group on flash memories(I am using ATMEL's
AT49BV163D)please let me know as I am facing problems in erasing it.
Thnx
Bhaduri
Hi All,
>
>I have assigned page0 as the chip enable for an external flash.
>But the page0 is not becoming active low on accessing an address range in between
0x00081000 to 0x003fffff.
>
>For that matter only my page2 is becoming active low in the address range 0x0080A000 to
0x00BFFFFF.page1 and page3 are also not becoming active low in their respective address
ranges.
>
>I am using only the A0-A19 of the address bus.
>
>My memory map is as follows
>MEMORY
>
> {  
>    
> 	RAM1     : origin=0x800000, length=0x03FF     /* INTERNAL BLK 1  
>}
>
>SECTIONS             
> {      
>      .sect     "START"	        :        >  RAM1		
>      .sect	  "data1"	:        >  RAM1
>}
>      
> And I am defining the address as follows and I am using LDI and STI commands to access.
>flashadd      .set   0081000h
>
>Is this the proper way to define the address.
>
>Any help will be appreciated.
>
>Thanking you
>Bhaduri
>

------------------------------------

OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c3x/1.php

_____________________________________




(You need to be a member of c3x -- send a blank email to c3x-subscribe@yahoogroups.com )

RE: Re: external memory address range for PAGE 0 - Bill Finger - May 5 8:59:56 2008

Bhaduri,

I use the following macros:

#define ENABLE_CACHE() \
	asm("	RPTS 0"); \
	asm("	OR 1800h, ST")

#define DISABLE_CACHE() \
	asm("	RPTS 0"); \
	asm("	AND 0e7ffh, ST")

This information is available in your C33 user's manual.

I do not know of any flash discussion groups, but that is not to say
they do not exist.  What problem are you seeing?

Bill

> -----Original Message-----
> From: c...@yahoogroups.com [mailto:c...@yahoogroups.com] On 
> Behalf Of b...@yahoo.com
> Sent: Thursday, May 01, 2008 5:42 AM
> To: c...@yahoogroups.com
> Subject: [c3x] Re: external memory address range for PAGE 0
> 
> Hi Bill,
> 
> Thnx,and you are right it was the problem of DP.Could you 
> please also tell me how to clear the cache.
> 
> Also if any of you know any discussion group on flash 
> memories(I am using ATMEL's AT49BV163D)please let me know as 
> I am facing problems in erasing it.
> Thnx
> Bhaduri
> Hi All,
> >
> >I have assigned page0 as the chip enable for an external flash.
> >But the page0 is not becoming active low on accessing an 
> address range in between 0x00081000 to 0x003fffff.
> >
> >For that matter only my page2 is becoming active low in the 
> address range 0x0080A000 to 0x00BFFFFF.page1 and page3 are 
> also not becoming active low in their respective address ranges.
> >
> >I am using only the A0-A19 of the address bus.
> >
> >My memory map is as follows
> >MEMORY
> >
> > {  
> >    
> > 	RAM1     : origin=0x800000, length=0x03FF     /* 
> INTERNAL BLK 1  
> >}
> >
> >SECTIONS             
> > {      
> >      .sect     "START"	        :        >  RAM1		
> >      .sect	  "data1"	:        >  RAM1
> >}
> >      
> > And I am defining the address as follows and I am using LDI 
> and STI commands to access.
> >flashadd      .set   0081000h
> >
> >Is this the proper way to define the address.
> >
> >Any help will be appreciated.
> >
> >Thanking you
> >Bhaduri
> >

------------------------------------

OMAP35x EVM jump-starts low-power apps
------------------------------------
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building
applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x

You can post a message or access and search the archives of this group on DSPRelated.com:
http://www.dsprelated.com/groups/c3x/1.php

_____________________________________




(You need to be a member of c3x -- send a blank email to c3x-subscribe@yahoogroups.com )