Is there a complete documentation of all openocd commands?
I’ve searched the offical homepage but I didn’t find something.
I only found an openocd quick guide which is incomplete, e.g. the command
“load” isn’t documented in it.
I also have problems to configure the cfi flash driver.
flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
Configures a flash bank at <base> of <size> bytes and <chip_width> and <bus_width> bytes using the selected flash <driver>.
My flash has a bus and chip width of 16bit. I read in the forum most people
use the value “2” for 16bit. Where is this documented? What values are
used for different bus-width?
I try to get flash debuging to work so I try to understand openocd but
sometimes it is not easy
It would be great if someone could help me with this.
Katagia:
I also have problems to configure the cfi flash driver.
flash bank <driver> <base> <size> <chip_width> <bus_width> [driver_options ...]
Configures a flash bank at <base> of <size> bytes and <chip_width> and <bus_width> bytes using the selected flash <driver>.
My flash has a bus and chip width of 16bit. I read in the forum most people
use the value "2" for 16bit. Where is this documented? What values are
used for different bus-width?
There may be some more explicit documentation somewhere, but everything that I have says almost the same thing that is in the “flash bank” comments in your quote above. That simply says that the “chip width” and “bus width” are specified in units of bytes. So, a 16 bit bus is TWO 8 bit bytes wide, the way that I read it?