Can PA Flash Programmer write to MT25QL01GB with P1010?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Can PA Flash Programmer write to MT25QL01GB with P1010?

ソリューションへジャンプ
2,007件の閲覧回数
tkato
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
ラベル(1)
0 件の賞賛
1 解決策
1,914件の閲覧回数
ufedor
NXP Employee
NXP Employee

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

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
1,915件の閲覧回数
ufedor
NXP Employee
NXP Employee

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

0 件の賞賛
1,914件の閲覧回数
tkato
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 件の賞賛
1,914件の閲覧回数
tkato
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 件の賞賛
1,914件の閲覧回数
ufedor
NXP Employee
NXP Employee

Thank you for the important detail about the selected algorithm.

0 件の賞賛