• Global & Static initialization problem
    Hi, I am developing a firmware for EZUSB FX based board. I am facing a small problem. I am not able to initialize a Global variable in my firmware. Even though I assign the global variable with 0 initial...
  • Global Variables
    I have had a hard time creating a global variable. In other C progams, all I have to do is just declare it above the Main() function. I am using Dave and the Keil evaluation compiler. I am trying to creat...
  • Global variables
    I have a problem running my program into ram memory if i declare a global variable into my code i have to unchecked the option "use memory layout from target dialog" from L166 options menu. Once i have...
  • Interrupt and global variable
    Hello! I've an Timer-Interrupt Routine (timer 3 with reload) with will served every 10 ms! In this Interrupt-Routine, I send 2 Messages via the CAN Interface. Now, I send the second message straight...
  • Problem with static variable in the functions.
    Hi all. The source C file is... ============================= void a(void) { static unsigned char var1; ... switch(var1){ ... } } ============================== and the error message...