Skip to main content
Graduate II
January 17, 2024
Question

how to see the received file in stm32f429zi

  • January 17, 2024
  • 3 replies
  • 1587 views

here, i was send the data from tera term with xmodem 1k protocol and the file completely send from tera term side but i don't know ,how to see the file name on stm32 side

    This topic has been closed for replies.

    3 replies

    Super User
    January 17, 2024

    In general with terminal programs, only the file content is sent, not the filename.

    Graduate II
    January 17, 2024

    thanks for your reply....i accept that but how will i find the file reception on stm32cube ide. i was planned after some delay send back the file to the terminal program, once i find the file reception then only i execute this...

    Super User
    January 17, 2024

    Not sure what you're asking here.

    Graduate II
    January 17, 2024

    You could dump the data, or portion of it, to the terminal in a more human readable form. You could checksum or CRC the data to confirm it got there correctly. The X-Modem-1K process will expand the field so it has a size rounded up to 1KB with fill data at the end.

    Y-MODEM sends a file size in bytes, and name on host, in the primary block it sends out.

    Perhaps send a text file first, as the memory dump for that would likely be easier to visually confirm. On the PC get a File / Hex Viewer type tool so you can inspect the file content at a byte level, especially if you're not familiar with how data is stored in memory and files.