This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Timing changing from debug mode to release mode in M3

In my project based on smartfusion, I am using UART of cortex M3 to communicate with PC. The problem i am facing is that when Cortex M3 program is running in debug mode i receive correct data in PC, but when i put the same in release mode timings go haywire and it does not work.

Please suggest what may be missing. Please Ask any additional input if required.

I will really appreciate early reply.

Thanks

Parents
  • Failure to enable clocks, the debugger may enable system features it uses.

    Dump internal register states (peripherals, clocks, etc), in the debug vs release modes.

    Failure to wait on status register bits.

    Perhaps you can add diagnostic output you can use to understand the flow and function of your code absent a debug pod being attached.

Reply
  • Failure to enable clocks, the debugger may enable system features it uses.

    Dump internal register states (peripherals, clocks, etc), in the debug vs release modes.

    Failure to wait on status register bits.

    Perhaps you can add diagnostic output you can use to understand the flow and function of your code absent a debug pod being attached.

Children