• Help me jump into ARM world !(I know nothing but AVR)

    Hi,  Sorry if this is a long thread but i'm really confused.

    I program for AVR MCUs and also know about Arduino, I can program for different ATMEL MCUs with looking at datasheets, And i also programmed a few basic stuff on Cortex-M3 LPC1768, without…

  • updating CPSR in USER UNPRIVILEGED mode

    as we know supervisor mode is priviliged and user is not. at reset time in debugging mode, i read the cpsr it is 0x1d3 means in supervisor mode, so i can change CPSR so i changed it to 0x1d0 which is user mode, since user mode is unpriviliged so i must…

  • STRD ATOMIC?

    Hi, I make a software for Cortex-A9 and Cortex-M4 (both uni-processor system).

    Question.

    Is 64bit-aligned STRD(64bit memory access) atomic ?

    (I know tha It is not atomic, but i don't know behavior.)

    For example:

    LDR R2,=buff

    mov R0, #1

    mov R1, #2

    STRD R0…

  • 'Sort and Count' program using Cortex-M3 Assembly (or less preferably in C language)

    Construct the following null terminated string in code area (i. e. in ROM)

    str         DCB       “p1er3fec6tst1r2an5ge7rs8”.0

    Write an assembly program that will count and…

  • Usage of generic register in CPU reset

    Hi All,

    Could anyone please tell me which generic register/location in memory can be used for storing a bit value which will not get reset after a CPU reset? I need the register to hold the value after a CPU reset so that I can know if a reset has happened…

  • Cortex-M3 or -M4: Which is better?

    Hi,

    I need some clarification about which one is better either Cortex-M3 or -M4. Which one is present trending and which one having good future.

    Thanks in advance.

  • Loop unrolling on Cortex-M3 vs. Cortex-M0

    In the DSP lib files like arm_conv_f32, arm_fir_f32, the algorithm implementation in Cortex-M3/M4 and in Cortex-M0 is different. i.e., loop unrolling is used in M3/M4 and it is not used in M0.

    Pls tell me the reason behind it. Is there any advantage of…