cancel
Showing results for 
Search instead for 
Did you mean: 

Switching Block Memory

sbencke3
Associate II
Posted on December 12, 2003 at 08:16

Switching Block Memory

3 REPLIES 3
sbencke3
Associate II
Posted on May 17, 2011 at 11:57

Hello!

I'm having some problems to switch from secondary to primary flash !

My Memory Map (start):

rs0: 2000~3fff

csiop: 200~2ff

FS0: 0000~7FFF PAGE0 code space

FS1: 0000~7FFF PAGE 1 code space

FS2: 0000~7FFF PAGE 2 code space

CSBOOT0: 0000~1FFF data space

CSBOOT1: 2000~3FFF data space

CSBOOT2: 4000~5FFF data space

CSBOOT3: 6000~7FFF data space

When I execute the command:

PSD8xx_reg.VM = 0X12;

I jump from the primary Flash to the secondary, where i have the same firmware, but I can’t come back using the command:

PSD8xx_reg.VM = 0X0C;

Please, what I'm doing wrong? Somebody can help me, please?

danielh1
Associate II
Posted on May 17, 2011 at 11:57

Are you sure to are still at page 0 when you try to come back?

sbencke3
Associate II
Posted on May 17, 2011 at 11:57

No, I'm not sure.

I know that my program doesn't work when I try to come back to the primary flash, and when I jump from de primary flash to the secondary its works just if both programs are very similar.

I don’t find anything in the datasheet, I thing that when I change from one block to another the program counter don’t change to the beginning of the program. Is it correct? How can I do this?

Can you help me, please ?

Thanks