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
  • How can debug mode be both "running on PC" and "running with JTAG"?

    You connect a JTAG adapter to virtual hardware in the simulator???

    Next thing - the simulator doesn't emulate all hardware fully. How are you making sure your UART is ready to accept more serial data? If you don't have code pacing the transfer, then you are likely to lose characters. The simulator will probably not care about the baudrate when figuring out how fast a UART can swallow new data.

Reply
  • How can debug mode be both "running on PC" and "running with JTAG"?

    You connect a JTAG adapter to virtual hardware in the simulator???

    Next thing - the simulator doesn't emulate all hardware fully. How are you making sure your UART is ready to accept more serial data? If you don't have code pacing the transfer, then you are likely to lose characters. The simulator will probably not care about the baudrate when figuring out how fast a UART can swallow new data.

Children
No data