cancel
Showing results for 
Search instead for 
Did you mean: 

problem with programming a byte into Main Flash

jmilanovic
Associate II
Posted on October 29, 2003 at 10:57

problem with programming a byte into Main Flash

5 REPLIES 5
jmilanovic
Associate II
Posted on May 17, 2011 at 11:56

I'm using Driver flash_write_with_poll on uPSD3234A to program

Main Flash. I'm able to write addresses 0x8000 to 0xFEFF.

I have problem to program the rest of Main Flash,

adrresses 0xFF00 to 0xFFFF. It's independent of sector chosen.

It seems that Flash Write Driver is runing into Timeout Error.

FLASH_COMMON_XAAA is 0x9AAA

FLASH_COMMON_X555 is 0x9555

I'm confused that everything is programmed correctly for some addresses, and then there's problem with the last 64 writes.

Those last 64 bytes always stay 0xFF.

Any ideas?
joseph2399
Associate II
Posted on May 17, 2011 at 11:56

You must be using one of those older uPSD devices that has date code prior to 0242. Please see Table 146, page 173 of the attached uPSD323x data sheet. Parts built before date code 0242 have Data space 0xFF00 - 0xFFFF dedicated to DDC SRAM use only. For devices built after this date code, these memory spaces are available for external data mapping, when DDC is disabled.

jmilanovic
Associate II
Posted on May 17, 2011 at 11:56

No, csiop is at 0x0200-0x2FF

jmilanovic
Associate II
Posted on May 17, 2011 at 11:56

I don't think that's the case.

The trace code on my device is 5AXBF0305, hence newer than 0242 date code.

I've also done some other programming and have seen data actually

written in that area, but in this case something wierd happens and

writes are not accomplished.

Would you have any other suggestions?

Thanks!
danielh1
Associate II
Posted on May 17, 2011 at 11:56

The CSIOP address doesn't happen to be 0XFF00?