Problem in programming flash

View: New views
2 Messages — Rating Filter:   Alert me  

Problem in programming flash

by veereshpkodekal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I had written code to program shadow flash from internal RAM. While
testing shadow flash might be the RCW got corrupted and now i am not
able to flash my MPC anymore.

Currently i am not even able to program the flash. However program
running out of RAM is possible.

 I am not able to view the shadow flash and normal flash. The FLEN bit
remains set always which actually should have allowed to access flash.

Can anyone please suggest me how can i clear my shadow flash now and
program it.


Re: Problem in programming flash

by praks411 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi
  You need to program RCW first in the shadow flash area using seperate flash programming utilities and coressponding config file provided with the board, then without erasing the RCW program your application in the flash.

veereshpkodekal <veereshpkodekal@...> wrote:
          Hi,

I had written code to program shadow flash from internal RAM. While
testing shadow flash might be the RCW got corrupted and now i am not
able to flash my MPC anymore.

Currently i am not even able to program the flash. However program
running out of RAM is possible.

I am not able to view the shadow flash and normal flash. The FLEN bit
remains set always which actually should have allowed to access flash.

Can anyone please suggest me how can i clear my shadow flash now and
program it.



                         

       
---------------------------------
 5, 50, 500, 5000 - Store N number of mails in your inbox. Click here.

[Non-text portions of this message have been removed]