Sorry for the mistake. It's due to a lot of try. But it's not the problem. For example, I've tried with : if(cpt & 0x40) cpt = 0; else cpt++; test_flash = cpt; For example, I've tried with : if(cpt >= 34) cpt = 34; else cpt++; test_flash = cpt; In both cases, the value read is 0x00. After compilation and upload program to µC, the value at @1040 is already 0x00. Execution of program doesn't change any value... Is it possible to associate "#pragma location" directive with a variable ? #pragma location 0x____ unsigned char _____
↧