TCL commands for NOR Flash

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

TCL commands for NOR Flash

1,475件の閲覧回数
monalihaware
Contributor III

i want to read the manufacture ID of NOR flash on T2080 RDB in debugger shell. i tried the following TCL commands:

for unlock:

change [expr {0xe8000000 + 0x555}] 16bit 0x00aa

change [expr {0xe8000000 + 0x2aa] 16bit 0x0055

change [expr {0xe8000000 + 0x555}] 16bit 0x0090


then to read man id:
set res[expr [mem i: 0xe8000000 16bit -np]]

It reads only the flash contents but doesnt read the man id. 

Can any one tell me TCL commands to read man id from debugger shell?

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 返信

1,339件の閲覧回数
Pavel
NXP Employee
NXP Employee

There is missing curly bracket in your code.

It should be the following:

change [expr {0xe8000000 + 0x555}] 16bit 0x00aa

change [expr {0xe8000000 + 0x2aa}] 16bit 0x0055

change [expr {0xe8000000 + 0x555}] 16bit 0x0090

Have a great day,
Pavel Chubakov

 

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

0 件の賞賛
返信