Open main menu

Changes

m
In the image below the python code on the right, are the settings needed for a good read. The NOR flash is 16 bit wide, but the CPU is reading it in 8 bit mode (8 bit mode pin is tied low). SHARP LH28F400BVE Parallel NOR Flash 512kb. The chip is from the late 1990s as the device is also, turn of the century 2000s.
Although the strings are legible herein the T48 preview, this is because the T48 is re-arranging the byte order automatically. The byte order must be swapped (little endian) in order to correctly view and disassemble the firmware. I found this out after nonsensical strings were seen, without swapping byte order. I tried some 8 bit reads, but this garbled the strings in the T48. It was clear 16 bit wide was correct, but then byte order needed changing. I used a python script to swap the byte order of the entire dumped firmware file. <syntaxhighlight lang="python3">
# swap_bytes.py
135

edits