holo

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Real-time watch problems #10312
    holo
    Participant

    Ok that’s great, it’s all working now it’s updated properly.  Thanks for you help!

    in reply to: Real-time watch problems #10304
    holo
    Participant

    Thanks that’s really awesome you’ve added the features to support this.

    I have however had quite a few troubles getting it to work and am still having some issues if you can help:

    1.  I uninstalled the old version and installed 5.2R8 as required however it did not give me the “Use custom performance counter function” checkbox.  After a long while of trying to get it to work anyway I found adding “SYSPROGS_PROFILER_USE_DWT_CYCLE_COUNTER=0” to the preprocessor macros made it work and it started reporting.
    2. I had the error “multiple definitions of TIM3_IRQHandler” which was because “SAMPLING_PROFILER_TIMER_INSTANCE” was defined to use TIM3 also.  I can’t remember if I changed this to 3 in the old install but I thought as a new install it should probably work with your tutorial without needing any modifications?
    3. The “ReportTicksPerSecond()” function does not seem to exist anywhere so I am now stuck at this point in the tutorial and cannot get it to report the correct time periods.

    Hope you can help resolve points 1 and 3 for me.

    in reply to: Real-time watch problems #10218
    holo
    Participant

    Hi, thanks for the quick response.

    I’ve run the code you provided and the result is 0.  I’ve also waded through the Arm V6-M architecture reference manual and the registers you reference don’t seem to be implemented for these chips – the whole of the cortex M0, M0+ and M1 range!

    Hopefully you are able to get it working – what is the minor adjustment required?

Viewing 3 posts - 1 through 3 (of 3 total)