David Brownell wrote: > With NAND it's easy to see why they won't use CPU addresses. :) > > In general, using { bank, sector } addressing gives finer control > over the actual chip resources, and is less error prone, even for > NOR flash. You kind of want to avoid accidentally erasing (or > even protecting) the wrong data. > However, it is not very useful if I need to write an image that spans multiple banks - I have boards where the addressable flash is made up out of multiple physical flash chips, each on its own chipselect, at adjacent addresses - and these may be different flashes, eg. one CFI and one non-CFI one, so that makes multiple banks in the OpenOCD configuration.
However, neither my bootloader not my kernel really care - they only see one big flash area, and when writing an image using OpenOCD, I need to do the same. Furthermore, I want to write *one* config file for such a type of board. I don't really care about what sector numbers in the flash are used - the addresses are constant, the sector numbers change depending on the particular flash that is stuffed on a board. cu Michael _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development