Programming from DOS shell MCU MM9Z1J638 problem

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

Programming from DOS shell MCU MM9Z1J638 problem

1,779件の閲覧回数
evm11
Contributor I

Hello

I try to programming MM9Z1J638 from DOS shell. I use CW 11.1 and programmer Multilink Universal FX.

I made tcl file for that:

fl::disconnect
fl::target -lc "LC for Simple Flash"
fl::target -b 0x1000 0x2000
fl::target -v off -l off
cmdwin::fl::device -d "MM9Z1J638_FLASH" -o "128Kx32x1" -a 0xfe0000 0xffffff
cmdwin::fl::protect all off
cmdwin::fl::device -d "MM9Z1J638_EEPROM" -o "4Kx32x1" -a 0x100000 0x100fff
cmdwin::fl::protect all off
cmdwin::fl::device -d "MM9Z1J638_FLASH" -o "128Kx32x1" -a 0xfe0000 0xffffff
cmdwin::fl::image -f "C:\\LEM\\IN200\\BATS2_prj\\G16001C-Volvo-embBoot.elf" -t "Auto Detect" -re on -r 0xfe0000 0xffffff -oe off
cmdwin::fl::erase image
cmdwin::fl::write
cmdwin::fl::device -d "MM9Z1J638_EEPROM" -o "4Kx32x1" -a 0x100000 0x100fff
cmdwin::fl::image -f "C:\\LEM\\IN200\\BATS2_prj\\G16001C-Volvo-embBoot.elf" -t "Auto Detect" -re on -r 0x100000 0x100fff -oe off
cmdwin::fl::erase image
cmdwin::fl::write
fl::disconnect
quitIDE
exit

But after run this script I receive error:

CodeWarrior Debugger Shell v1.0
%>source C:\LEM\IN200\BATS2_prj\bats2\b_t.tcl
cmdwin::fl::disconnect
cmdwin::fl::target -lc LC for Simple Flash
cmdwin::fl::target -b 0x1000 0x2000
cmdwin::fl::target -v off -l off
cmdwin::fl::device -d MM9Z1J638_FLASH -o 128Kx32x1 -a 0xfe0000 0xffffff
cmdwin::fl::protect all off
Flash Programmer internal error: connection list is empty
Beginning Operation ...
-------------------------
Error: Operation failed. GetFlashDriverFile: Algorithm file C:\Freescale\CW MCU
v11.1\MCU\bin\Plugins\Support\Flash_Programme
r\ is not an elf file. Flash drivers must be elf images.
Error: Couldn't open flash driver file.
Error: Operation failed.GetFlashDriverFile: Algorithm file C:\Freescale\CW MCU
v11.1\MCU\bin\Plugins\Support\Flash_Programmer\ is
not an elf file. Flash drivers must be elf images.

What I can do with that or where I mistake?

0 件の賞賛
返信
3 返答(返信)

1,763件の閲覧回数
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Jevgeni,

I have contacted an application engineer with your description of the issue. He need some additional data. Please provide them. Please see the description.

DESCRIPTION

Could you show me the content of b_t.tcl so I can take a look at whether the tickle script has the right commands?

With Best Regards,

Jozef

0 件の賞賛
返信

1,759件の閲覧回数
evm11
Contributor I

Hello Jozef

Thanks for you replay.

The script file b_t.tcl is attached.

BR, Jevgeni

0 件の賞賛
返信

1,755件の閲覧回数
JozefKozon
NXP TechSupport
NXP TechSupport

Hello Jevgeni,

could you please send the content of the b_t.tcl file in .pdf or in any other text document? I cannot open it on my computer and I can send the application engineer in a community text only. 

With Best Regards,

Jozef

0 件の賞賛
返信