Can PA Flash Programmer write to MT25QL01GB with P1010?

cancel
Showing results for 
Search instead for 
Did you mean: 

Can PA Flash Programmer write to MT25QL01GB with P1010?

Jump to solution
118 Views
Contributor I
Hi, everyone.
I'm designing a board that implements the P1010.
It will implement MT25QL01GB as SPI Flash memory.
However, the PA Flash Programmer included in CodeWarrior There is no MT25QL01GB in the Add Device list.
A different capacity device of the same series, MT25QL512A, is in the list.

I don't know if I can write to SPI Flash using this different capacity setting.
Can you guide me on the correct way to do this?
Best regards
Labels (1)
0 Kudos
1 Solution
25 Views
NXP TechSupport
NXP TechSupport

If the firmware image size is less than half of the SPI Flash size it is possible to use available MT25QL512A.

If not - it will be needed to add new device referring the Code Warrior application note:

\Freescale\CW_PA_v10.5.1\PA\PA_Tools\FlashToolKit\Documentation\AppNote-FlashProgrammer-PowerArchitecture.pdf

View solution in original post

0 Kudos
4 Replies
26 Views
NXP TechSupport
NXP TechSupport

If the firmware image size is less than half of the SPI Flash size it is possible to use available MT25QL512A.

If not - it will be needed to add new device referring the Code Warrior application note:

\Freescale\CW_PA_v10.5.1\PA\PA_Tools\FlashToolKit\Documentation\AppNote-FlashProgrammer-PowerArchitecture.pdf

View solution in original post

0 Kudos
25 Views
Contributor I
Hi ufedor
Thank you for your support!
Our customer want a very large size SPI Flash for the firmware image.
Therefore, I refered the application note, and created new Flash Device XML Configuration File.
I assume that <algorithm> and <utility> can be used without any changes.
I'll use this XML file when the board is complete.
I'll report here if it works fine.

<?xml version="1.0" encoding="UTF-8"?>
<device-file>
<device>
 <version>0.1</version>
<content>
   <name>MT25QL01GB</name>
   <device_type>spi</device_type>
   <manufacturerid>0x20</manufacturerid>
   <chiperase>true</chiperase>
<sectors>
   <sectorcount>2048</sectorcount>
   <sectorsize>0x10000</sectorsize>
</sectors>
   <ontargetverify>true</ontargetverify>
<organization>
        <name>128Mx8x1</name>
        <id>0xBA21</id>
        <algorithm>MT25QL512A_SPI.elf</algorithm>
        <utility>N25Q512A_SPI_Utility.elf</utility>
</organization>
<protecttype>spi</protecttype>
<verifyafterprogram>true</verifyafterprogram>
<autodetectprocessorinfo>true</autodetectprocessorinfo>
</content>
</device>
</device-file>

*The differences from the MT25QL512A.xml are the four places shown in bold.

0 Kudos
25 Views
Contributor I

Hi

I had a successful SPI flash boot.
The file of "MT25QL01GB.xml" I used are shown below.

I fixed the algorithm file name.

<?xml version="1.0" encoding="UTF-8"?>
<device-file>
<device>
    <version>0.1</version>
<content>
    <name>MT25QL01GB</name>
    <device_type>spi</device_type>
    <manufacturerid>0x20</manufacturerid>
    <chiperase>true</chiperase>
<sectors>
    <sectorcount>2048</sectorcount>
    <sectorsize>0x10000</sectorsize>
</sectors>
    <ontargetverify>true</ontargetverify>
<organization>
    <name>128Mx8x1</name>
    <id>0xBA21</id>
    <algorithm>MT25QL512AB_SPI.elf</algorithm>
    <utility>N25Q512A_SPI_Utility.elf</utility>
</organization>
<protecttype>spi</protecttype>
<verifyafterprogram>true</verifyafterprogram>
<autodetectprocessorinfo>true</autodetectprocessorinfo>
</content>
</device>
</device-file>

0 Kudos
25 Views
NXP TechSupport
NXP TechSupport

Thank you for the important detail about the selected algorithm.

0 Kudos