Hi,

freddie_chopin wrote:
> W dniu 2012-01-20 14:38:37 użytkownik Jonathan Dumaresq
> <[email protected]> napisał: 
>> The 2 thumb mode not supported I probably can try to modify it to use
>> more generic instruction. I try to find why the compile error with
>> 
>> cannot honor width suffix -- `ldrh r6,[r5],#2'
>> 
>> I have no idea why i get this error. I try to google it , but could
>> not find the clear answer to this.
> 
> Cortex-M0 supports just a subset of Thumb 2 instructions. LRD/STR
> with pre-/post-incrementation is not supported. Compare: 
> Cortex-M0 -
>
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0497a/CIHJJEI
H.html
> Cortex-M3 -
>
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0497a/CIHJJEI
H.html
> 
That help !

> You should write your code (in assembly or in C), cross-compile that
> for Cortex-M0 and you'll see whether it works or not and what
> instructions you can use (check the output assembly listing).  

This is exactly what I try to do now. 

Regards

Jonathan
> 
> 4\/3!!



------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to