Skip to main content
lowpowermcu
Associate III
August 10, 2011
Question

serial terminal with ymodem and hex string capability

  • August 10, 2011
  • 6 replies
  • 1883 views
Posted on August 10, 2011 at 17:15

Hi STM32 users,

I need a serial terminal able to

1. Send file using ymodem file transfer protocol

2. Send hex (not ascii) text format

I was using hyperterminal but it can't send hex format.

I have found hercules but it doesn't support the ymodem protocol.

Is there a tool that supports both ymodem and hex transfer.

MCU Lüfter

    This topic has been closed for replies.

    6 replies

    Andrew Neil
    Super User
    August 10, 2011
    Posted on August 10, 2011 at 17:34

    ''Send hex (not ascii) text format''

     

    What, exactly, do you mean by that?

    Do you mean the ability to send the non-printing codes (values 0x00-0x1F) and/or the ''extended'' codes above 0x7F ?
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    lowpowermcu
    Associate III
    August 10, 2011
    Posted on August 10, 2011 at 17:45

    Hi neil,

    I want to send the following bitstream:

    1122AABBCCDDEEFF

    In hercule I did it as in attachement (look at attachment).

    ________________

    Attachments :

    hercules_send_hex_string.bmp : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0uS&d=%2Fa%2F0X0000000bgg%2F36AFe7PCfv.wlOfDFAc9u07jCHJxQpDor655ng7QhWI&asPdf=false
    greg_t
    Associate III
    August 10, 2011
    Posted on August 10, 2011 at 17:53

    Convert HEX to BIN and send it 

    trevor23
    Associate III
    August 10, 2011
    Posted on August 10, 2011 at 17:58

    TeraTerm with its script language is quite useful for this kind of thing. It supports y-modem.

    John F.
    Associate III
    August 10, 2011
    Posted on August 10, 2011 at 18:14

    Also have a look at Docklight.

       

    http://www.docklight.de/

    lowpowermcu
    Associate III
    August 11, 2011
    Posted on August 11, 2011 at 11:00

    Hi Trevor,

    Thank you for your proosal. Now I resolved my problem with teraterm using scripts:

    To send the hex string:

    Send $11 $22 $33 $44 $55 $66 $77 $C9 $E4 $D4 $54 $B7 $62 $9F $35 $2A

    To send the file over ymodem:

    ymodemsend srcfile

    If there is another tool who can manage the transfer by simple GUI. It will more more helpful.

    Thanks again.

    MCU Lüfter