Skip to main content
tran
Associate III
February 9, 2009
Question

How to use fprintf in mode debug

  • February 9, 2009
  • 1 reply
  • 629 views
Posted on February 09, 2009 at 07:31

How to use fprintf in mode debug

    This topic has been closed for replies.

    1 reply

    tran
    tranAuthor
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:02

    Hello all!

    I'm using IAR workbench to program a STM32 ( accessline lowdensity) via JTAG

    Because we dont have ETM to do some trace and inspecte the data in real time, so we want to save the data or some variables in a file, and analysize it.

    By using the DLIB_Full, i can compile and make the program work, but the problem is ''the time execute is so long'' when i do fopen fprintf and fclose, it slow down my system and all interrups.

    HOW can i fix it?

    How does the fprintf work with STM32? Are there a lot of data that was sent via the JTAG to PC?

    Thanks