Hi!
On Sat, Oct 5, 2013 at 3:55 AM, Nader <[email protected]> wrote:
>
> Info : device id = 0x10036419
> Info : flash size = 2048kbytes
> flash 'stm32f2x' found at 0x08000000
> #0 : stm32f2x at 0x08000000, size 0x00380000, buswidth 0, chipwidth 0
> # 0: 0x00000000 (0x4000 16kB) not protected
> # 1: 0x00004000 (0x4000 16kB) not protected
> # 2: 0x00008000 (0x4000 16kB) not protected
> # 3: 0x0000c000 (0x4000 16kB) not protected
> # 4: 0x00010000 (0x10000 64kB) not protected
> # 5: 0x00020000 (0x20000 128kB) not protected
> # 6: 0x00040000 (0x20000 128kB) not protected
> # 7: 0x00060000 (0x20000 128kB) not protected
> # 8: 0x00080000 (0x20000 128kB) not protected
> # 9: 0x000a0000 (0x20000 128kB) not protected
> # 10: 0x000c0000 (0x20000 128kB) not protected
> # 11: 0x000e0000 (0x20000 128kB) not protected
> # 12: 0x00280000 (0x4000 16kB) not protected
>
The offset for this sector and those following it looks wrong. The second
bank is adjacent to the first according to RM0090. I'll take a look at the
code to see what it's up to. I don't have the board to test unfortunately.
> # 13: 0x00284000 (0x4000 16kB) not protected
> # 14: 0x00288000 (0x4000 16kB) not protected
> # 15: 0x0028c000 (0x4000 16kB) not protected
> # 16: 0x00290000 (0x10000 64kB) not protected
> # 17: 0x002a0000 (0x20000 128kB) not protected
> # 18: 0x002c0000 (0x20000 128kB) not protected
> # 19: 0x002e0000 (0x20000 128kB) not protected
> # 20: 0x00300000 (0x20000 128kB) not protected
> # 21: 0x00320000 (0x20000 128kB) not protected
> # 22: 0x00340000 (0x20000 128kB) not protected
> # 23: 0x00360000 (0x20000 128kB) not protected
> stm32f4x - Rev: unknown
> requesting target halt and executing a soft reset
> Error: address range 0x08000000 .. 0x0811ffff is not sector-aligned
> Error: flash_erase returned -904
>
>
/Andreas
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel