Spencer Oliver wrote: > On 16 January 2012 19:10, Jonathan Dumaresq <jdumar...@cimeq.qc.ca> > wrote: >> Hi, >> >> I just dig into the openocd source code and I don't see any >> information about the Armv6-M arch. Is there eny one here that have >> use the cortex-m0 with openOCD ? >> >> The flash loader must be updated to have the cortex-m0 asm code >> working on the target. I don't know if the armv6 target should be >> added or if I can use the armv7 target ? >> >> This is really to new for me to be able to answer thoses question. >> Anybody here can give some pointer ? >> > > Is this using the stlink? Yes,
The stlinkV2. I got some of the protocol working but I could not get the flash programmed. I can write to ram but could not get it work with the flash. I try to disable the working area to have the jtag adapter to write directly thru the register but this is not working too. I try to bisect the st-link Utility but if I write to 1 word of flash or 1024 byte of flash they always download the flash helper in ram. Until now, I can get the device reconised by openOCD with the device ID. and Revision too. Regards Jonathan > > Cheers > Spen ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel