Re: [Openocd-development] STM32F2 flash size detected wrong

2011-07-27 Thread Spencer Oliver
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


[Openocd-development] rename st32 flash drivers

2011-07-27 Thread Spencer Oliver
Hi,

Idea is to bring the stm32 flash drivers inline with their actual names, eg.
stm32x to stm32f1x
stm32f2xxx to stm32f2x

This is also getting ready for the new stm32f4x family
Any comments?

Cheers
Spen
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development