On Tue, Jan 24, 2012 at 4:01 PM, Jonathan Dumaresq <jdumar...@cimeq.qc.ca>wrote:
> HI all,
>
> I try my best to get the asm file work with the M0. I have modified the
> stm32f2x.S becaus eit look simpler than the on from the stm32f1x.S
>
But they are not equivalent and needs to be matched with their
corresponding C code!
It's fairly simple to replace the few instructions in stm32f1x.S that are
unavailable on the M0, with their equivalent multi-instruction sequence. In
fact I just did this, will try flashing the M3 and post to gerrit soon if
it works. I also caught a small bug in my assembler code, so I had to fix
that anyway. The performance penalty of limiting the stm32f1x flash loader
to M0 instructions should be insignificant.
/Andreas
------------------------------------------------------------------------------
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