• Store code in RAM
    Hello, I'm working on XC164CM. I'd like to store code in RAM, not in flash memory. The code is simple : #pragma RENAMECLASS (FCODE=RAMPROG) void CallProgRam(void) { int i; for(i=0; i<666;...
  • Embedded programs stored in FLASH memory run incorrectly. why?
    I write a simple embedded program. It transmit data by CAN1 Interface. I debug it using uVision2.When I download it into flash ,it work incorrectly. The evalution board is mcb167 net.
  • 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...
  • How to store program code in flash?
    Hello. I'm am a postgraduate engineering student and I'm currently working on a project that requires more than the available 1000H of program space and need to use the flash memory to store the program...
  • fix address for variables which are stored in flash
    I want allocate the fix address for variables which are stored in flash. for example: const float engine_speed[6]={0,1000,2000,3000,4000,5000}; after compiling it, the address of these variables (engine_speed...