Problem when write P1010 norflash by usb tap

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Problem when write P1010 norflash by usb tap

跳至解决方案
1,314 次查看
xiejianwei
Contributor II

Hello everyone,

     I just want use CW10.3.3 ev and USB TAP for write bootloader to P1010 norflash.

but there have something wrong. how can I solve this problem.

 

    Ths.

 

this is console message:

fl::target -lc "LC for Simple Flash"

fl::target -b 0x2000 0x30000

fl::target -v off -l off

cmdwin::fl::device -d "JS28F256M29EWL" -o "32Mx8x1" -a 0xfe000000 0xffffffff

cmdwin::fl::image -f "C:\\NorFlashPro\\bootrom.bin" -t "Auto Detect" -re on -r 0xfe000000 0xffffffff -oe on -o 0x1e00000

cmdwin::fl::erase image

Beginning Operation ...   

-------------------------

Auto-detection is successful.  

  File is of type Binary/Raw Format.  

 

Image size is 0 bytes, nothing to erase.  

Nothing to erase.  No sectors selected

Performing target initialization ...   

Error: invalid argument "GUT/PORBMSR", should be a valid register

Erase Command Succeeded.  

Error: invalid argument "GUT/PORBMSR", should be a valid registerErase Command Succeeded.


I just modified the type of flash to "JS28F256M29EWL" in P1010RDB_NOR_FLASH.xml,  the connect configuration file is default. offset is :0x1e0000.:


12936_12936.jpgQQ图片20140630141150.jpg

标签 (1)
标记 (4)
1 解答
928 次查看
catalindemergia
Contributor IV

Hello,

Modifying that .xml file by hand is not advisable. You should use the CodeWarrior GUI instead.

There is an application note in <CW_Install_Path>\PA\PA_Tools\FlashToolKit\Documentation named

AppNote-FlashProgrammer-PowerArchitecture.pdf that contains more information on this subject.

regards,

Catalin

在原帖中查看解决方案

3 回复数
929 次查看
catalindemergia
Contributor IV

Hello,

Modifying that .xml file by hand is not advisable. You should use the CodeWarrior GUI instead.

There is an application note in <CW_Install_Path>\PA\PA_Tools\FlashToolKit\Documentation named

AppNote-FlashProgrammer-PowerArchitecture.pdf that contains more information on this subject.

regards,

Catalin

928 次查看
xiejianwei
Contributor II

Catalin,   

     I have use the configuration file correctly to write Nor Flash.

Thanks for your advice so I understand the process of programming Flash by Codewarrior.


Regards,

Jianwei

0 项奖励
回复
928 次查看
xiejianwei
Contributor II

Catalin,    

Thank you for you help , I have see the AppNote-FlashProgrammer-PowerArchitecture.pdf.

the document  is helpful for me!


Regards,

Jianwei

0 项奖励
回复