Using flash programming in CW

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

Using flash programming in CW

685 Views
kuoweihsu
Contributor III

Hi,

We are new to CodeWarrior IDE and want to using "flash programming" function for our u-boot development.

Is there any doc we can find under PA/PA_Support or other path to understand more using "flash programming" function in CW?

We use 16-bit 128MB flash as Numonyx® Axcell™ P33-65nm Flash Memory.

Is there any settings or files we can reference for this flash ??

We have CW software and CW TAP in our P2020 development board.

Thanks for all your help in community.


Regards,

kuowei

Labels (1)
0 Kudos
2 Replies

350 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Kuowei,

1. For Freescale demo board, we suggest customers to use the following steps to do flash programing.

After create a sample project following the new bareboard project wizards, please connect to the target board from Run->Debug Configurations-><project>-core00_RAM_<platform>_Download->Debug.

Open "Target task" panel from Window->Show view->other->Debug->Target Tasks.

In "Target Tasks" panel, please right click "Root"->Import, and import the template file for NOR Flash, double click this task and open the "PA Flash Programmer Task" panel, please use the these configuration, and add erase and program tasks, Then execute these tasks in Target Tasks panel. Please note, in "Add Program/Verify Action" panel, please make sure "Apply Address offset" is checked, and you also need to specify the exact effective address(for u-boot) in CodeWarrior.

2. Since not sure what is the exact flash part number on your target, first please check whether your flash is supported in the device list of "PA Flash Programmer Task" panel. If no, please check whether there is other intel based compatible flash device could be used.

3. If there is no compatible flash algorithm in the current CodeWarrior, users could create and add new flash algorithm in CodeWarrior, please refer to CW_PA_v10.4.0\PA\PA_Tools\FlashToolKit\Documentation and examples CW_PA_v10.4.0\PA\PA_Tools\FlashToolKit.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

350 Views
catalindemergia
Contributor IV

Hi,

You can find everything there is to know about Flash Programmer in the Targeting_PA_Processors.pdf

document, look in chapter 11 - Working with Hardware Tools. This document is available in your CW installation

path in the PA\Help\PDF folder.

regards,

Catalin

0 Kudos