[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
LogMeTT.com • Automating firmware upgrade/transfer using Tera Term ymodem interface.
Page 1 of 1

Automating firmware upgrade/transfer using Tera Term ymodem interface.

Posted: Sat May 06, 2017 5:18 pm
by yogeshk
I was wondering if I can get some advice on how best to achieve the same with a Macro, that I can do via the Tera Term UI to transfer fimrware to a micro controller using the ymodem file send interface.

Currently here is what I need to do via the Tera Term UI to upgrade the firmware on an existing ARM based micro controller.

1) Connect to the COMM port to which the Micro-controller has been connected via USB using Tera-Term.
2) Continuously send carriage return/press enter key via the keyboard, while hitting the reset on the Micro-controller, so it breaks into its
bootloader interface.
3) type "upgrade ymodem" at the bootloader prompt and hit enter.
4) Use the tera-term I send the firmware file via by clicking on the Menu "File->Transfer->Ymodem->Send".

I figured a way to do until step 2. But once the bootloader prompt shows up, I am not sure how to proceed ahead and transfer the file via the ymodem interface to the micro controller.

Has anyone done this before or if there was a forum article addressing something similar, can you please point me to that forum article?

Thanks,
Yogesh

Re: Automating firmware upgrade/transfer using Tera Term ymodem interface.

Posted: Sat May 06, 2017 5:45 pm
by Trevor

Re: Automating firmware upgrade/transfer using Tera Term ymodem interface.

Posted: Sat May 06, 2017 6:19 pm
by yogeshk
Thanks a lot Trevor for taking the time to respond. I will give that a shot. After the upgrade ymodem command, I usually immediately try to begin the transfer.

Thanks,
Yogesh

Re: Automating firmware upgrade/transfer using Tera Term ymodem interface.

Posted: Sat May 06, 2017 7:08 pm
by yogeshk

Re: Automating firmware upgrade/transfer using Tera Term ymodem interface.

Posted: Sun May 07, 2017 12:24 pm
by Trevor

Re: Automating firmware upgrade/transfer using Tera Term ymodem interface.

Posted: Sun May 07, 2017 8:46 pm
by yogeshk
Thanks once again Trevor for taking the time to respond. That helped a lot, it works much more better now.

Thanks,
Yogesh