On Tuesday 19 January 2010, Øyvind Harboe wrote: > It should be fixed before 0.4 as this is a clear cut regression.
Let's fix the underlying bug though, not just paper over symptoms. > With the str710 we have something nice to test against since the > there are at least three sector sizes and two banks. Pretty messy :-) You sent the following memory map: > (gdb) info mem > 0 y 0x00000000 0x40000000 rw nocache > 1 y 0x40000000 0x40040000 flash blocksize 0x2000 nocache > 2 y 0x40040000 0x400c0000 rw nocache > 3 y 0x400c0000 0x400c4000 flash blocksize 0x2000 nocache > 4 y 0x400c4000 0x100000000 rw nocache That shows two banks, yes ... but only one sector size, not three. So it seems clear that there is a bug in how the flash is reported. SEPARATE ISSUE ... I think we should consider (for 0.5) adding ways to declare where RAM/SRAM regions exist. Both from C code (microcontrollers can often autoprobe that stuff) and Tcl. It's unwise to just anything about non-flash regions. - Dave _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
