Yannick Hildenbrand wrote: >Hello, > > > >I just would like to add a small remark to this excellent analysis > > > >The BLX instruction is available on architectures V5 and above (see the >Addison-Wesley ARM Architecture Reference Manual). The LPC 2000 family uses >the V4T architecture, and this means that BLX cannot be used. Be careful >when specifying the core variant in the assembler argument list. If the >right architecture is not correctly specified (or the default is e.g. V5 or >above), the assembler may accept BLX but the code may have strange behavior >on a LPC2000. Double checking this may avoid long hours of debugging. > > > > I had been wondering which arch type was for the LPC2xxx family, thank you. So, I would imagine that even if I built an arm9tdmi (armv5t) GCC compiler that I could restrict the code generation with "-mcpu=arm7tdmi -march=armv4t" then? I'm asking as I also have an ARM920T system that I also build code for. I'm still pretty new to the details of the ARM variants (seems to be a lot of them ;-). TomW -- Tom Walsh - WN3L - Embedded Systems Consultant http://openhardware.net, http://cyberiansoftware.com "Windows? No thanks, I have work to do..." ----------------------------------------------------
Message
Re: RE : [lpc2000] ARM mode
2005-10-17 by Tom Walsh
Attachments
- No local attachments were found for this message.