cancel
Showing results for 
Search instead for 
Did you mean: 

IAP problem

saravan
Associate II
Posted on January 30, 2005 at 07:16

IAP problem

3 REPLIES 3
saravan
Associate II
Posted on January 30, 2005 at 04:39

Hi,

I have a problem with IAP for ST72521.

I am using the IAP driver available from ST site.

I always get ''Operation Failed'' status flag from ECMD.

Initially through inDART i am setting option bytes as ''Disable read out protection''

I am using a External Chip Oscillator of 16 Mhz and my Fcpu is 8 Mhz.

I am following the below sequence with watchdog disabled:

RASS Disable (56 & AE as keys)

Sector Erase (sector 1)

Toggle a port pin if successful

Infinite loop

Could someone throw some light what could be the reason for this?

Thanks in Advance,

Sarav

saravan
Associate II
Posted on January 30, 2005 at 07:09

I wanted to clarify a few points regarding my previous problem.

I have the probelm with Flash Erasing(sector 1) itself. St72521 is a HD flash device.

I have verified that my device is not damaged due to overcycling , by writing some test code into sector1.

I am attaching my Metrowerks project for reference. I have configured my device with option bytes ''7D B7'' through inDART.

I am using ST662A charge pump on my board.

saravan
Associate II
Posted on January 30, 2005 at 07:16

Oops sorry couldnt attach properly!

Trying once again

________________

Attachments :

TRY_FLASH.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0Eo&d=%2Fa%2F0X0000000bVu%2FzA4aRd_8ZnhMQvQWRHt0jYZj6KtauIEFNZDqQ_WZH9U&asPdf=false