I'm working on LS1021ATWR board for my client, I'm new to CodeWarrior and this board.
I want to devlope a TCL script to erase, write and verify boot elfs into NOR flash of LS1021ATWR.
I was going through many documents of CodeWarrior with QorIQ, but not able to determine the commands to flash, erase and verify.
Can anyone help me out on this?
已解决! 转到解答。
First, you should open Debugger Shell view. In Debugger Shell console, you can enter help command to see all supported commands.
Commands for flash programmer are:
fl::blankcheck b test that the flash device is in the blank state
fl::checksum c calculate a checksum
fl::device d define the flash device
fl::diagnose diag dump flash information
fl::disconnect dis close the connection to the target
fl::dump dump dump flash content
fl::erase e erase the flash device
fl::image i define the flash image settings
fl::protect prot protect sectors
fl::secure secu secure/unsecure device
fl::target t define the target configuration settings
fl::verify v verify the flash device
fl::write w write the flash device
Adrian
First, you should open Debugger Shell view. In Debugger Shell console, you can enter help command to see all supported commands.
Commands for flash programmer are:
fl::blankcheck b test that the flash device is in the blank state
fl::checksum c calculate a checksum
fl::device d define the flash device
fl::diagnose diag dump flash information
fl::disconnect dis close the connection to the target
fl::dump dump dump flash content
fl::erase e erase the flash device
fl::image i define the flash image settings
fl::protect prot protect sectors
fl::secure secu secure/unsecure device
fl::target t define the target configuration settings
fl::verify v verify the flash device
fl::write w write the flash device
Adrian
Thanks addiyi for such a quick reply.
I will first go through this commands using help in CW suite, and then I'll prepare TCL script and test it.
Will get back to you in case of any help needed.