• Please Advice
    I am in the same situation where I have a Stellaris EKK-LM3S9B96 Evaluation Kit, which uses the Keil uVision3 V3.90 in support of embedded software development for the Cortex M3 based Micro-controller...
  • Pointer conversion / arithmetic
    Hello, I am trying to create an address (memory model huge) by adding an offset to a base address: void test (unsigned short offset) { unsigned char *adr; adr = 0x120000 + (long) adr; } ...
  • User Stack Pointer Corruption with Double Precision Arithmetic
    When using C167 simulation and double precision arithmetic, I ran into a problem. Things didn't seem to be working properly, so I inspected the generated assembly and found that the user stack pointer...
  • unexpected results in integer arithmetics
    Hello experts, to avoid a division, I use integer arithmetics. The unsigned int x which is in the range of 2000 is first multiplied by a number s which is 2048 plus/minus 1000 and then shifted by 11...
  • An advice for ARTX
    The LPC2200 have 3 timer: Timer0,Time1,PWM timer. But the ARTX just can use Timer0 or Timer1 as ARTX Kernel timer. In some situation, we need the capture or match funtion of the Timer0 and Timer1 but...