• Hard fault at misaligned memcpy memset
    we made some simple tests with STM32F100 Value Line Eval Board: //------------------------------------------------------------------------------ // Variables static unsigned char sDstBuf[1024...
  • ARM9 STR912FW44 word32 misalignment in external RAM
    I have a struct containing several word8, word16 and word32. Writing a full 32-bits value causes mis-writing to the previous 32-bits value. 2 bytes go to the correct place, and 2 bytes to the previous...
  • ldr (register, several values)
    Hello, I've a small simple question: ldr r4, =||Image$$ER_IROM1$$RO$$Length||+||Image$$RW_IRAM1$$RW$$Length|| At the moment I get an error message from Keil, using this code in the startup...
  • LDR Register Assignment
    Note: This was originally posted on 22nd February 2012 at http://forums.arm.com Here I'm doing basic assignments and read write routines for verfication: ldr r1, StartRegs   ...   StartRegs: .word 0x00000989...
  • Immediate offset problem with the LDR commands
    Compiler give error message for following codes. A1174E: "Data transfer offset 0x00000102 out of range. Permitted values are 0x00..0x1F" LDR R1,=USB_BASE LDRB R0,[R1,#USB0_CSRL0] ; Error code...