• Cycle counter: on which ARM will the code successfully run?
    On a Raspberry Pi 3b, which is ARM Cortex-A5 processor, ARMv7 architecture, I am reading the cycle counter registers from the PMU (Performance Monitor Unit): uint32_t cycle_counter_read (void) { uint32_t...
  • Cycle counter: on which ARM will the code successfully run?
    On a Raspberry Pi 3b, which is ARM Cortex-A5 processor, ARMv7 architecture, I am reading the cycle counter registers from the PMU (Performance Monitor Unit): uint32_t cycle_counter_read (void) { uint32_t...
  • How to implement a function which will give the address of the calling function during runtime.
    I am working on a complex project written in C for 8051 arhitecture with Keil C. And unfortunately no real debugger. There are many functions called from various c files. Some times hundereds of different...
  • How to implement a function which will give the address of the calling function during runtime.
    I am working on a complex project written in C for 8051 arhitecture with Keil C. And unfortunately no real debugger. There are many functions called from various c files. Some times hundereds of different...
  • printf corruption while called in a sunroutine with inrelated interupts running
    I'm having a major problem with printf. The code is set up so that the printf's are used in subroutines, 1 maybe 2 deep. There is a separate RTC routine running that has nothing to do with the printf...