Skip to main content
mrsmile
Associate III
March 13, 2023
Question

i'm reading temp sensor value and store to SD card and my question is, it debugging successfully & if i run for 5 times only, it reads output from a sensor and storing to SD card 2.if I flash to the controller without Debugging, text file is not gene

  • March 13, 2023
  • 2 replies
  • 687 views

..

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    March 13, 2023

    Sounds like a coding or initialization issue.

    Perhaps timing different without the debugger, or the debugger initializes something you later depend on.

    If BOOT0 pin floats the chip may not start reliably.

    No idea about your code, board, or STM32

    Anecdotal descriptions are hard to diagnose.

    With SDIO/SDMMC implementations with FATFS, start by debugging the low level DISKIO layer, failure at the top-level/application won't identify a cause.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    mrsmile
    mrsmileAuthor
    Associate III
    March 15, 2023

    thank you for your response sir.