GCC 4.7.2 EEMEM storage Hi David,
Thanks for the reply. Even if linker/compiler(s) change, the approach of pointer with fixed address will solve this issue.
Wednesday, 8 April 2015 - 07:04
GCC 4.7.2 EEMEM storage Thanks for your feedback David. So programmer has really no control over Compiler/Linker
Wednesday, 8 April 2015 - 06:08
GCC 4.7.2 EEMEM storage Hello all,
Thank you for all your suggestions and comments. To keep the order of variables one possibility is to use structure(s). This method may be acceptable if order of...
Wednesday, 8 April 2015 - 01:46
GCC 4.7.2 EEMEM storage Agreed that the order of structure members is not meddled by the compiler. Assuming no padding, nothing prevents compiler/linker from moving the entire structure from one memory...
Tuesday, 7 April 2015 - 10:43
GCC 4.7.2 EEMEM storage Hi clawson,
Thanks for the reply. My problem is, we have some boards at our customer sites whose code was compiled using the older GCC 4.3 and some EEPROM locations were written...
Debugger showing archive source Hello Senthil,
Thanks for the clarifications. That answers why my code just stepped through.
Monday, 11 March 2013 - 11:14
Debugger showing archive source Somehow the results I am getting are different from what you (clawson) got. Here is my code snippet
char buf[30];
sprintf (buf,"hello");
Init_System (2); // This...
Monday, 11 March 2013 - 03:58
Debugger showing archive source Nope. If I step through sprintf (as a test) the entire function gets executed and next line is highlighted for stepping/debugging. The same is not happening to a call to my...
Hello all, Thanks a lot for all your time.
Hi David, Thanks for the reply. Even if linker/compiler(s) change, the approach of pointer with fixed address will solve this issue.
Thanks for your feedback David. So programmer has really no control over Compiler/Linker
Hello all, Thank you for all your suggestions and comments. To keep the order of variables one possibility is to use structure(s). This method may be acceptable if order of...
Agreed that the order of structure members is not meddled by the compiler. Assuming no padding, nothing prevents compiler/linker from moving the entire structure from one memory...
Hi clawson, Thanks for the reply. My problem is, we have some boards at our customer sites whose code was compiled using the older GCC 4.3 and some EEPROM locations were written...
Thank you very much. Problem solved.
Thanks for your advice Clawson. I will use, as suggested, 0xA00000.
Thanks a lot. It works.
Hello Senthil, Thanks for the clarifications. That answers why my code just stepped through.
Somehow the results I am getting are different from what you (clawson) got. Here is my code snippet char buf[30]; sprintf (buf,"hello"); Init_System (2); // This...
Nope. If I step through sprintf (as a test) the entire function gets executed and next line is highlighted for stepping/debugging. The same is not happening to a call to my...
Pages