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?
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!
-----------------------------------------------------------------------------------------------------------------------