T2080 : Loading RCW using Code Warrior Tool

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

T2080 : Loading RCW using Code Warrior Tool

Jump to solution
1,795 Views
Arathi
Contributor II

Hi NXP Support Team,

I am using T2080 custom board with NOR Flash (Part number : MT28FW02GBBA1HPC-0AAT).
I have code Warrior [CW_PA_v10.5.1] installed in my system.

For the initial board bring up, While creating Bareboard demo project for flashing the RCW , the flash part number mentioned above is not found in the following Path : CW_PA_v10.5.1\PA\bin\plugins\support\Flash_Programmer\EPPC 

Can you please provide me the procedure for T2080 board RCW bring up,
Please do share if you have any documents.

Thanks & Regards,
Arathi

Labels (1)
0 Kudos
1 Solution
1,500 Views
khushbur
NXP TechSupport
NXP TechSupport

Hi @Arathi 

 

Please modify the product manifest:

     ..support\Products\ProductData\FPDevices.mwpdb\product-manifest.xml

And add the following section at the end:

             <file>

               <name>MT28FW02GBBA1HPC</name>    

             <version>0.1</version>

             <path>FP/MT28FW02GBBA1HPC.xml</path>

           </file>

 

Thanks

Khushbu

View solution in original post

0 Kudos
9 Replies
1,743 Views
Arathi
Contributor II

Hi Team,

After Creating sample project in code Warrior, I am trying to flash the generated images into board.

When I am trying to add flash device in PA flash Programmer task window under target tasks tab, I am unable to find my flash device (Part number : MT28FW02GBBA1HPC-0AAT).

Hereby attaching the screenshot for the same.

Hi Team,

After Creating sample project in code Warrior, I am trying to flash the generated images into board.

When I am trying to add flash device in PA flash Programmer task window under target tasks tab, I am unable to find my flash device (Part number : MT28FW02GBBA1HPC-0AAT).

Hereby attaching the screenshot for the same.

Arathi_0-1694424570130.png

Regards,
Arathi 

0 Kudos
1,626 Views
Arathi
Contributor II

Hi @khushbur,

As mentioned in your reply, I have added my Flash device file (MT28FW02GBBA1HPC.xml) into the following Code Warrior installation path 
CW_PA_v10.5.1\PA\bin\plugins\support\Products\ProductData\FPDevices.mwpdb\FP\MT28FW02GBBA1HPC.xml

Attaching the flash device file contents below for your reference:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<device-file>
<device>
<version>0.1</version>
<content>
<name>MT28FW02GBBA1HPC</name>
<device_type>nor</device_type>
<manufacturerid>0x89</manufacturerid>
<chiperase>TRUE</chiperase>
<sectors>
<sectorcount>2048</sectorcount>
<sectorsize>0x20000</sectorsize>
</sectors>
<ontargetverify>true</ontargetverify>
<comment>
#######################################################################
</comment>
<organization>
<name>64Mx16x2</name>
<id>0x227E</id>
<algorithm>amd16x2.elf</algorithm>
<utility>FlashUtility.elf</utility>
</organization>
</content>
</device>
</device-file>


I am unable to detect my Flash device even after adding the above file.
After connecting to target , when I select Add Device under Target Tasks menu I am getting the below error window

Arathi_0-1694881735991.png

 

Please do help me resolve this error and Add my Flash device to proceed further.

Thanks and Regards,
Arathi

0 Kudos
1,501 Views
khushbur
NXP TechSupport
NXP TechSupport

Hi @Arathi 

 

Please modify the product manifest:

     ..support\Products\ProductData\FPDevices.mwpdb\product-manifest.xml

And add the following section at the end:

             <file>

               <name>MT28FW02GBBA1HPC</name>    

             <version>0.1</version>

             <path>FP/MT28FW02GBBA1HPC.xml</path>

           </file>

 

Thanks

Khushbu

0 Kudos
1,471 Views
Arathi
Contributor II

Hi @khushbur ,

Thanks for your reply.

After adding my device file in productmanifest.xml, I was successfully able to get my flash device listed under PA flash Programmer Task in target Tasks menu.

Arathi_0-1695117752184.png

 

Thanks and Regards,
Arathi

 

0 Kudos
1,369 Views
Arathi
Contributor II

Hi Support Team,

I am able to get my Flash device

But I am unable to know flash erase/program my device. Its is showing Sector protect error while erasing.

Can you please help me to select the algorithm for the flash device.

Thanks and Regards,
Arathi

0 Kudos
1,244 Views
khushbur
NXP TechSupport
NXP TechSupport

Hi @Arathi 

 

Please execute unprotection operation before doing flash programming.

 

Thanks

Khushbu

0 Kudos
1,223 Views
Arathi
Contributor II

Hi @khushbur ,

I tried executing unprotection operation before doing flash programming.

Attaching the error response received for unprotection operation

Arathi_0-1696313615694.png

Thanks and Regards,
Arathi

0 Kudos
1,136 Views
khushbur
NXP TechSupport
NXP TechSupport

Hi @Arathi 

 

Please modify Init_IFC section in your target init file according to your board and flash device.

 

If issue still persist than please share console logs and schematic for further debugging

 

Thanks

Khushbu

0 Kudos
1,731 Views
khushbur
NXP TechSupport
NXP TechSupport

Hi @Arathi 

 

You need to add your flash device to codewarrior. Please refer below link to add new flash device to codewarrior 10.x

 

https://community.nxp.com/t5/Qonverge-Knowledge-Base/Adding-a-new-Flash-Device-to-Codewarrior-10-x/t...

Also refer attached App Note 

 

Thanks

Khushbu

0 Kudos