MPC8309 Flash Programmer S29GL256P

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

MPC8309 Flash Programmer S29GL256P

ソリューションへジャンプ
1,401件の閲覧回数
tom3721
Contributor I

hi:

My board uses S29GL256S, and the configuration is 32x16x1. However, I can only select 32x8x1 in the flash programmer. When trying to erase flash with 32x8x1 configuration, an error occurs. The error message is as follows:

fl::target -lc "flasher-test"
fl::target -b 0x2000 0x30000
fl::target -v on -l off
cmdwin::fl::device -d "S29GL256S" -o "32Mx8x1" -a 0xfc000000 0xfdffffff
cmdwin::fl::erase all
Beginning Operation ...
-------------------------
Performing target initialization ...
Downloading Flash Device Driver ...
Reading flash ID .......
Error: The algorithm was not able to run on the target or the flash is not configured properly.
Error: Getting flash ID failed
Error: The algorithm was not able to run on the target or the flash is not configured properly.

 

tom3721_0-1666334750802.png

 

0 件の賞賛
返信
1 解決策
1,397件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

You need to customize CodeWarrior initialization file C:\Program Files (x86)\Freescale\CodeWarrior PA V8.8\PowerPC_EABI_Support\Initialization_Files\PQ2\8309SOM_init.cfg to make it suitable for your custom board. 

1. Please modify Local Access Windows for NOR flash.

2. Please modify DDR2 Controller Registers settings according to your target board.

3. Please modify Local Bus Interface Configuration to configure OR0 and BR0 for your NOR flash.

You could refer to MPC8309 Reference manual for details.

First You could create a bareboard project for MPC8309SOM from File->New->EPPC New Project Wizard, then modify CW initialization file from Edit->Debug Version Settings->Debugger->EPPC Debugger->Use Target initialization, and click debug to check whether the sample program can run on your target board. 

At last, in "Program/Verify" panel in "Flash Programmer" you need to check "Apply Address Offset" and specify the address of NOR flash.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,398件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

You need to customize CodeWarrior initialization file C:\Program Files (x86)\Freescale\CodeWarrior PA V8.8\PowerPC_EABI_Support\Initialization_Files\PQ2\8309SOM_init.cfg to make it suitable for your custom board. 

1. Please modify Local Access Windows for NOR flash.

2. Please modify DDR2 Controller Registers settings according to your target board.

3. Please modify Local Bus Interface Configuration to configure OR0 and BR0 for your NOR flash.

You could refer to MPC8309 Reference manual for details.

First You could create a bareboard project for MPC8309SOM from File->New->EPPC New Project Wizard, then modify CW initialization file from Edit->Debug Version Settings->Debugger->EPPC Debugger->Use Target initialization, and click debug to check whether the sample program can run on your target board. 

At last, in "Program/Verify" panel in "Flash Programmer" you need to check "Apply Address Offset" and specify the address of NOR flash.

0 件の賞賛
返信
1,396件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

In addition for the flash algorithm, you could use S29GL256P to select 16Mx16x1.

0 件の賞賛
返信