hi
I work with dsk6713, when programming flash, data copy to address 2 times in
EMIF boot from 8 bit flash (default).
For example data is 80 and in address 0x90000000 copied as 8080.
Therefore space of flash product with 1/2.
after reset cpu data in 0x90000000 is 80
For details:
Data in:address: data before reset data after reset
0x0080 0x90000000 c2c28080 2000c280
0x00c2 0x90000004 20200000
0x0000
0x0020
Is it true??
If it is a problem please support me
Regards
zahra
a problem in writing to flash in dsk6713
Started by ●August 4, 2008
Reply by ●August 4, 20082008-08-04
zahra,
On Mon, Aug 4, 2008 at 8:42 AM, wrote:
> hi
>
> I work with dsk6713, when programming flash, data copy to address 2 times in
> EMIF boot from 8 bit flash (default).
> For example data is 80 and in address 0x90000000 copied as 8080.
> Therefore space of flash product with 1/2.
> after reset cpu data in 0x90000000 is 80
The 6713DSK has a 16 bit flash and it is programmed as an 8 bit flash
by default [wasting 1/2 of the locations - I have no idea why it was
created this way].
> For details:
> Data in:address: data before reset data after reset
> 0x0080 0x90000000 c2c28080 2000c280
> 0x00c2 0x90000004 20200000
> 0x0000
> 0x0020
>
> Is it true??
To properly view the original flash contents, you must set your EMIF
to view CE1 [0x9xxxxxxx] in 8 bit mode. You can do this manually or
by adding a menu to the GEL file to select 8 bit mode. Once you do
this, you can open the disassembly window and set the address to
0x90000000. The contents of the first 0x400 locations will match the
contents of memory 0-0x3FF after a CPU->Reset.
mikedunn
> If it is a problem please support me
> Regards
> zahra
--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
On Mon, Aug 4, 2008 at 8:42 AM, wrote:
> hi
>
> I work with dsk6713, when programming flash, data copy to address 2 times in
> EMIF boot from 8 bit flash (default).
> For example data is 80 and in address 0x90000000 copied as 8080.
> Therefore space of flash product with 1/2.
> after reset cpu data in 0x90000000 is 80
The 6713DSK has a 16 bit flash and it is programmed as an 8 bit flash
by default [wasting 1/2 of the locations - I have no idea why it was
created this way].
> For details:
> Data in:address: data before reset data after reset
> 0x0080 0x90000000 c2c28080 2000c280
> 0x00c2 0x90000004 20200000
> 0x0000
> 0x0020
>
> Is it true??
To properly view the original flash contents, you must set your EMIF
to view CE1 [0x9xxxxxxx] in 8 bit mode. You can do this manually or
by adding a menu to the GEL file to select 8 bit mode. Once you do
this, you can open the disassembly window and set the address to
0x90000000. The contents of the first 0x400 locations will match the
contents of memory 0-0x3FF after a CPU->Reset.
mikedunn
> If it is a problem please support me
> Regards
> zahra
--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
Reply by ●August 10, 20082008-08-10
z_1151,
Isn't 9000000 in EMIF address space 1?
Usually, the external device at that address space is SDRAM.
However, if your project has a FLASH attached at that address space...
It cannot be read/written until the EMIF1 interface has been initialized, so
anything read right after reset is trash.
Also, if I understand your email correctly, all the software is doing to set the
flash is writing to the address twice.
I would be very interested in any flash part that ONLY took two writes to an
address to program the flash.
R. Williams
---------- Original Message -----------
From: z...@yahoo.com
To: c...
Sent: Mon, 04 Aug 2008 09:42:11 -0400
Subject: [c6x] a problem in writing to flash in dsk6713
> hi
>
> I work with dsk6713, when programming flash, data copy to address 2
> times in EMIF boot from 8 bit flash (default). For example data is 80
> and in address 0x90000000 copied as 8080. Therefore space of flash
> product with 1/2. after reset cpu data in 0x90000000 is 80 For
> details: Data in:address: data before reset data after reset 0x0080
> 0x90000000 c2c28080 2000c280 0x00c2 0x90000004 20200000 0x0000 0x0020
>
> Is it true??
> If it is a problem please support me
> Regards
> zahra
------- End of Original Message -------
Isn't 9000000 in EMIF address space 1?
Usually, the external device at that address space is SDRAM.
However, if your project has a FLASH attached at that address space...
It cannot be read/written until the EMIF1 interface has been initialized, so
anything read right after reset is trash.
Also, if I understand your email correctly, all the software is doing to set the
flash is writing to the address twice.
I would be very interested in any flash part that ONLY took two writes to an
address to program the flash.
R. Williams
---------- Original Message -----------
From: z...@yahoo.com
To: c...
Sent: Mon, 04 Aug 2008 09:42:11 -0400
Subject: [c6x] a problem in writing to flash in dsk6713
> hi
>
> I work with dsk6713, when programming flash, data copy to address 2
> times in EMIF boot from 8 bit flash (default). For example data is 80
> and in address 0x90000000 copied as 8080. Therefore space of flash
> product with 1/2. after reset cpu data in 0x90000000 is 80 For
> details: Data in:address: data before reset data after reset 0x0080
> 0x90000000 c2c28080 2000c280 0x00c2 0x90000004 20200000 0x0000 0x0020
>
> Is it true??
> If it is a problem please support me
> Regards
> zahra
------- End of Original Message -------
Reply by ●September 12, 20082008-09-12
I know that my 6713 based board has SRAM (SBSRAM or SDRAM depending on
the particular revision) starting at address 0x80000000 and my flash is
at 0x90000000. The first sector of flash gets read correctly, and that
boots the rest of the system, which initializes the EMIF correctly for
whichever board I'm running on.
I've got a bios function that I use to make sure that the writing of
flash is correct, but I do most of my reading of flash directly. I've
got two 512K pages that I have to make sure I'm on the correct page, but
at least as far as reading the data from the flash, it reads exactly
like it was RAM.
Richard Williams wrote:
> z_1151,
>
> Isn't 9000000 in EMIF address space 1?
>
> Usually, the external device at that address space is SDRAM.
>
> However, if your project has a FLASH attached at that address space...
>
> It cannot be read/written until the EMIF1 interface has been
> initialized, so
> anything read right after reset is trash.
>
> Also, if I understand your email correctly, all the software is doing
> to set the
> flash is writing to the address twice.
> I would be very interested in any flash part that ONLY took two writes
> to an
> address to program the flash.
>
> R. Williams
>
> ---------- Original Message -----------
> From: z_1151@yahoo. com
> To: c6x@yahoogroups. com
> Sent: Mon, 04 Aug 2008 09:42:11 -0400
> Subject: [c6x] a problem in writing to flash in dsk6713
>
> > hi
> >
> > I work with dsk6713, when programming flash, data copy to address 2
> > times in EMIF boot from 8 bit flash (default). For example data is 80
> > and in address 0x90000000 copied as 8080. Therefore space of flash
> > product with 1/2. after reset cpu data in 0x90000000 is 80 For
> > details: Data in:address: data before reset data after reset 0x0080
> > 0x90000000 c2c28080 2000c280 0x00c2 0x90000004 20200000 0x0000 0x0020
> >
> > Is it true??
> > If it is a problem please support me
> > Regards
> > zahra
> ------- End of Original Message -------
>
the particular revision) starting at address 0x80000000 and my flash is
at 0x90000000. The first sector of flash gets read correctly, and that
boots the rest of the system, which initializes the EMIF correctly for
whichever board I'm running on.
I've got a bios function that I use to make sure that the writing of
flash is correct, but I do most of my reading of flash directly. I've
got two 512K pages that I have to make sure I'm on the correct page, but
at least as far as reading the data from the flash, it reads exactly
like it was RAM.
Richard Williams wrote:
> z_1151,
>
> Isn't 9000000 in EMIF address space 1?
>
> Usually, the external device at that address space is SDRAM.
>
> However, if your project has a FLASH attached at that address space...
>
> It cannot be read/written until the EMIF1 interface has been
> initialized, so
> anything read right after reset is trash.
>
> Also, if I understand your email correctly, all the software is doing
> to set the
> flash is writing to the address twice.
> I would be very interested in any flash part that ONLY took two writes
> to an
> address to program the flash.
>
> R. Williams
>
> ---------- Original Message -----------
> From: z_1151@yahoo. com
> To: c6x@yahoogroups. com
> Sent: Mon, 04 Aug 2008 09:42:11 -0400
> Subject: [c6x] a problem in writing to flash in dsk6713
>
> > hi
> >
> > I work with dsk6713, when programming flash, data copy to address 2
> > times in EMIF boot from 8 bit flash (default). For example data is 80
> > and in address 0x90000000 copied as 8080. Therefore space of flash
> > product with 1/2. after reset cpu data in 0x90000000 is 80 For
> > details: Data in:address: data before reset data after reset 0x0080
> > 0x90000000 c2c28080 2000c280 0x00c2 0x90000004 20200000 0x0000 0x0020
> >
> > Is it true??
> > If it is a problem please support me
> > Regards
> > zahra
> ------- End of Original Message -------
>