1 # Defines basic Tcl procs for OpenOCD flash module
3 # Show flash in human readable form
4 # This is an example of a human readable form of a low level fn
8 foreach {a
} [ocd_flash_banks
] {
10 set result
"$result\n"
12 set result
[format "$result#%d: %s at 0x%08x, size 0x%08x, buswidth %d, chipwidth %d" $i $a(name
) $a(base
) $a(size
) $a(bus_width
) $a(chip_width
)]