• Initialising Values to Structures
    Dear Sir, I am making a program using Keil PK51 package. I am using a structure of arrays declared as: #define MAX_TESTS 30 struct param{ /* 80 bytes per test */ char mode[MAX_TESTS]; float...
  • Initialising Values to Structures
    Dear Sir, I am making a program using Keil PK51 package. I am using a structure of arrays declared as: #define MAX_TESTS 30 struct param{ /* 80 bytes per test */ char mode[MAX_TESTS]; float...
  • Initialisation of structures in external memory
    I have a set of initialised data structures that are now located in external memory. The structures are each defined using __attribute__((section("menu_structures"))). A linker scatter file is used...
  • Initialisation of structures in external memory
    I have a set of initialised data structures that are now located in external memory. The structures are each defined using __attribute__((section("menu_structures"))). A linker scatter file is used...
  • 89LPC935 initialisation
    I was using the "Measure" program as the basis for an application. The target device was selected to be a P89LPC935 (I needed the A/D). Everything works fine in simulation with one annoying exception...