This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error in minicom uboot configuration script

I am using the DM816x/C6A816x/AM389x Evaluation Module

The uboot parameters can be modified using a generated minicom script that starts as follows:

timeout 300

verbose on

expect {

    "stop autoboot:"

}

send ""

... rest of script.

However although the "Hit any key to stop autoboot:" string does appear the script doesn't appear to see it.

A bit of experimentation showed that the string only seemed to be recognised when a CR/LF was issued.

CR/LF doesn't get issued in this case presumably because the count down probably uses backspaces or CR.

Changing the script to recognise the line before and putting in a delay works but is there a better way?

I did try to use /c at the end of the string but this had no effect.