The change is ok for me.
I've not done the same way, but please not the stm32l is not the only
platform in openocd which have 0x00 flash erased value. The stm32f seems to
have the same trouble. I'm awaiting my support answer from ST to confirm
this.
Have a nice day,
Cheers,
Topaz
On Thu, Sep 19, 2013 at 1:11 PM, Spencer Oliver <s...@spen-soft.co.uk>wrote:
> On 19 September 2013 11:00, Olivier Tomaz <akato...@free.fr> wrote:
> >>
> >> Long term padding the image sections does need sorting out. However
> >> cannot see that being for a while so guess we need to add an option to
> >> set the default erased value.
> >
> >
> > What I did, I've just added a field to each flash_driver to set the
> > erased_value, which is used in core functions to perform correct padding.
> >
>
> I have uploaded two changes that add support for this, see:
> http://openocd.zylin.com/1635
> http://openocd.zylin.com/16356
>
> If you are able to test/review that would be great.
>
> Cheers
> Spen
>
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel