On 27 July 2011 00:49, Matthew Lai <cyberf...@wecheer.com> wrote: > Hello! > > I just started working with a custom PCB STM32F2, and while I got most > things to work (including flash and verify), OpenOCD seems to detect the > size of flash on my chip wrong. > > OpenOCD ("poll") reports 1024KB, when the chip is a STM32F205RET6, with > 512KB flash. > > The flash size I believe is detected by the driver. > > Would something bad happen if I go ahead with it, as long as I stay below > 512KB? The linker script also has 512KB coded in. >
Looking at the code the flash size is hard-coded in this driver. ST's infinite wisdom decided to remove the flash size reg on this device - not sure if this will change. We either need to find out of ST have changed this or tweak the driver to allow manual flash bank config. Cheers Spen _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development