2003-12-11 11:16 PM
2011-05-17 02:57 AM
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?2011-05-17 02:57 AM
Are you sure to are still at page 0 when you try to come back?
2011-05-17 02:57 AM
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