Skip to main content
markj
Associate
Jun 16, 2005 10:43 PM UTC
Question

STR710-Eval SRAM issue

Posted on June 17, 2005 at 00:43

STR710-Eval SRAM issue

This topic has been closed for replies.

8 replies

markj
markjAuthor
Associate
Jun 13, 2005 11:36 AM UTC
Posted on June 13, 2005 at 13:36

Hello

Has anyone else had a problem with accessing the external SRAM of the STR710-Eval above the 1Megabyte mark?

Thanks

Mark

dmerchez9
Associate III
Jun 13, 2005 11:47 AM UTC
Posted on June 13, 2005 at 13:47

Yes i have the same problem...

I don't managed to write in the external SRAM even if i write the lines found in this forum...

Could you please give us a few more help

dmerchez9
Associate III
Jun 14, 2005 6:04 AM UTC
Posted on June 14, 2005 at 08:04

I've wrote those lines in my program: So i initialize the bank 1, witch is conected to the external SRAM, and then, i write the number 0x55 into it, and read it... Then, in my program, i send the ''data'' on the RS232, and nothing appear (but i'm sure that the RS232 run, i've made test), so the problem is really from the external SRAM configuration...

//Configure les bits de selection /CS et d'adressage en OUT PP.

IOPORT2_Config(0x000F,GPIO_AF_PP);

BCON1 |= 0x8015;

BCON2 &= 0x0015;

BCON3 &= 0x0015;

BCON0 &= 0x0015;

*(__REG8*)(0x620000000) = 0x55;

data = *(__REG8*)0x62000000;

dmerchez9
Associate III
Jun 14, 2005 9:01 AM UTC
Posted on June 14, 2005 at 11:01

are there anything to modify on the board (jump, switch) to write and read in the EMI SRAM???

dmerchez9
Associate III
Jun 14, 2005 10:11 AM UTC
Posted on June 14, 2005 at 12:11

hello;

My code is executed in the internal Flash mapped at 0x0.

The boot mode is: SW15 = 0

SW14 = X

SW13 = X

I use the EMI to enter data in the external ram... After, it will be used to dialog with a FPGA.

Is there something wrong in my code?

Regards

Dam

dmerchez9
Associate III
Jun 14, 2005 10:26 AM UTC
Posted on June 14, 2005 at 12:26

I don't use RDVK.

We have choosen WinIdea IDE with IAR compilator.

In my memory windows, icn't write data at the 0x62000000 address...

Regards

Dam

dmerchez9
Associate III
Jun 14, 2005 11:03 AM UTC
Posted on June 14, 2005 at 13:03

Hello

No, i use WinIdea IDE with IAR C compilator.

Is it possible to be a hardware problem?

Damien

markj
markjAuthor
Associate
Jun 16, 2005 10:43 PM UTC
Posted on June 17, 2005 at 00:43

I am using Green Hills Software tools. I notice that when I try to read or write memory above the 1MB mark with my JTAG I have problems. Also Green Hills states in their linker file which describes the memory layout on the board that there is something wrong with accessing the SRAM on the STR710-EVAL board above 1MB.