• LPC2148 timer0 not working as expected

    kamalpancholi
    kamalpancholi

    I am new to ARM and I am trying to produce 1 second delay using timer 0 in LPC2148. But in debug session in Keil, it is giving delay of 4 seconds with 15MHz and 5 seconds with 12 MHz. What is the issue ?

    Here is my code.

    #include <lpc214x.h>
    int main…

    • 11 months ago
    • Software Tools
    • Keil forum
  • Debugging memory issues ARM7, Keil µVision 4

    stephen13
    stephen13

    I am having some issues trying to debug what appear to be some very strange behaviors. For example, we have:

    static const char* LOG_FORMAT = "0x%02x,%.5f,";

    and the pointer changes for no obvious reason. Sometimes to garbage, sometimes to other…

    • over 2 years ago
    • Software Tools
    • Keil forum
  • View related content from anywhere
  • More
  • Cancel