On 16 February 2012 09:56, Noel Diviney <div...@hotmail.com> wrote: > Hi all, > > I am trying to program a stm32l-discovery board using openocd and stlink-v2 > > This is my script stored in the file Stm32Lx_STLink_Program.cfg > > # > # Flash programming script for stm32l discovery > # Using the swd transport > # >
OpenOCD does include a cfg for this board source [find board/stm32ldiscovery.cfg] I generally just program and erase at the same time flash write_image erase image.elf and to verify while testing verify_image image.elf mass erase would be stm32f1x mass_erase stm32lx.flash Cheers Spen ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel