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
  • What do you mean with debug mode and release mode? Compilation options? Or switching between simulator or real hardware? Running with or without JTAG adapter? Something else?

    You say the communication timing go haywire. But you don't tell how.
    - Wrong baudrate?
    - Received characters lost?
    - Transmitted characters lost?
    - Characters sent too close after each other?
    - ...

    Have you used a scope to look at the signals?
    What do they look like?
    What did you expect them to look like?

Reply
  • What do you mean with debug mode and release mode? Compilation options? Or switching between simulator or real hardware? Running with or without JTAG adapter? Something else?

    You say the communication timing go haywire. But you don't tell how.
    - Wrong baudrate?
    - Received characters lost?
    - Transmitted characters lost?
    - Characters sent too close after each other?
    - ...

    Have you used a scope to look at the signals?
    What do they look like?
    What did you expect them to look like?

Children