• Accessing application section from boot program
    I am working with Atmega128 and i want to write a program that enters the boot section when a particular pin is low and after executing boot program looks in the application area of Atmega128. If some...
  • Accessing application section from boot program
    I am working with Atmega128 and i want to write a program that enters the boot section when a particular pin is low and after executing boot program looks in the application area of Atmega128. If some...
  • How to place a "short string" into [RO-DATA] section, but not in [RO-CODE(inc. data)] section?
    I use Keil uVision4 to build my project. Here is my test C code: void func(void) {     //do something     printf("I hope to be recognized as RO-DATA!\n"); } But assembler code is below. As u see, the...
  • How to place a "short string" into [RO-DATA] section, but not in [RO-CODE(inc. data)] section?
    I use Keil uVision4 to build my project. Here is my test C code: void func(void) {     //do something     printf("I hope to be recognized as RO-DATA!\n"); } But assembler code is below. As u see, the...
  • pragma for code section
    Dear Sir, for example,I am written the following code in main. #include........ #pragma arm section code="foo" int add1(int x) { return x++; } #pragma arm section codee int main() {unsigned...