• Embedded programs stored in FLASH memory run incorrectly. why?
    I have problem with global variable, when run with debugger, it can run correctly, but when it loaded into flash it not working. when i change global varibale to local variable, it run correctly in flash...
  • large (>8k) array in xdata, program running incorrectly
    Hi guys, I tried to construct a waveform with more than 6000 points. the program is like: arg.h . . int xdata wave[6000] . . main(){ . . for...{ wave[i]=i*10; . } . it passed the...
  • Why is my CAN module used incorrectly
    #include <stdio.h> #include <string.h> #include "cmsis_os.h" #include "Driver_CAN.h" // CAN Driver Controller selector #define CAN_CONTROLLER 1 // CAN Controller number #define _CAN_Driver_...
  • LPC2148 ADC working but incorrectly
    hey i am using LPC 2148. and configured the hardware for taking the analog signal at P0.28 which is ADC0 channel 1. i am using following code but the output stays 0 or 1023 only. my hardware...
  • 24b LJMP assembles incorrectly?
    LJMP "label" in 24 bit contiguous mode (80c400) appears to always compile neumonics for a LJMP 000000. What gives? LJMP immediate works fine. Anybody else run into this? 200012 02000000 F 282 LJMP...