flash programmer for Micron device

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

flash programmer for Micron device

746 Views
shermie
Contributor II

Hi

 

We have our own custom board based on the P2041RDB board, however the flash device has been changed to a

     micron PC28F00BP30EFA (Micron Technology, Inc. - PC28F00BP30EFA )

 

I am able to connect to the board, the LAWs and eLBC registers have been modified so that the device is mapped.

I looked on the forum and found this page (Adding a new Flash Device to Codewarrior 10.x ) and followed the steps but have been unable to get it to work.

 

Here is my XML file

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

<device-file>

<device>

  <version>0.1</version>

<content>

   <name>PC28F00BP30EFA</name>

   <device_type>nor</device_type>

   <manufacturerid>0x89</manufacturerid>

   <chiperase>true</chiperase>

<sectors>

   <sectorcount>2048</sectorcount>

   <sectorsize>0x10000</sectorsize>

</sectors>

<comment>

#######################################################################

</comment>

<organization>

        <name>2048Mx16x1</name>

        <id>0x899A</id>

        <algorithm>intel16x1j3.elf</algorithm>

        <utility>FlashUtility.elf</utility>

</organization>

</content>

</device>

</device-file>

 

 

I get the following when I try to erase the first sector

fl::target -lc "P2041PSh-core00_RAM_P2041_Download"

fl::target -b 0x0 0x10000

fl::target -v off -l off

cmdwin::fl::device -d "PC28F00BP30EFA" -o "2048Mx16x1" -a 0xe0000000 0xe7ffffff

cmdwin::fl::device -sd all

cmdwin::fl::device -se 0

cmdwin::fl::erase list

Beginning Operation ...   

-------------------------

Performing target initialization ...   

Downloading Flash Device Driver ...  

Reading flash ID ...

Erasing Sector 0xE0000000 to 0xE000FFFF  

Erasing ....................................

Operation canceled.

 

I have tried modifing the XML file to 2 devices (as the datasheet seems to imply that it is 2 x 1024, but I get the same issue.

Any ideas what I am doing wrong?  Is it the algorithm (I used the same algorithm as used in the example as it was a similar device)?

Has anyone else written an XML for this device?

 

Thanks in advance

Paul

Labels (1)
0 Kudos
0 Replies