Skip to main content
Bumsik Kim
Senior
August 1, 2019
Question

Cannot get (download) a file using kermit.

  • August 1, 2019
  • 5 replies
  • 1228 views

Hi, I'm using STM32MP157A-DK1 with Starter Package.

I'm trying to follow instruction on how to using Kermit here:

https://wiki.st.com/stm32mpu/wiki/How_to_transfer_a_file_over_serial_console

I can successfully send files using the following command:

$ kermit kermit_ttyACM0.cfg -s myfile.txt

By using the command the file is downloaded in /home/root/myfile.txt

However, I cannot able to get (download) file using the following command:

$ kermit kermit_ttyACM0.cfg -g /etc/hosts

The prompt screen looks like it tries to get files several times but it failed:

C-Kermit 9.0.302 OPEN SOURCE:, 20 Aug 2011, KBUMSIK-Samsung-Arch.localdomain [125.132.95.109]
 
 Current Directory: /home/kbumsik/Dropbox/Projects/Current/stm32mp1/tmp
Communication Device: /dev/ttyACM0
 Communication Speed: 115200
 Parity: none
 RTT/Timeout: 08 / 08
 
 File Type:
 File Size:
 Bytes So Far:
 ...10...20...30...40...50...60...70...80...90..100
 Estimated Time Left: (unknown)
 Transfer Rate, CPS: 0
 Window Slots: 1 of 1
 Packet Type: %
 Packet Count: 1
 Packet Length: 28
 Error Count: 16
 Last Error: (resend)
 Last Message:
 
X to cancel file, Z to cancel group, <CR> to resend last packet,
E to send Error packet, ^C to quit immediately, ^L to refresh screen.

It is so weird that I can send a file but cannot get a file.

Do I need to do any setup on STM32MP157A-DK1 to get a file?

This topic has been closed for replies.

5 replies

Olivier GALLIEN
ST Technical Moderator
August 20, 2019

Hi @Bumsik Kim​ 

Reproduce the same at my end.

Escalate the point internally for investigation.

Keep you posted

Olivier

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Bumsik Kim
Senior
August 20, 2019

Good. Thanks for caring about this :)

Yves C
ST Employee
August 27, 2019

​Hi, unfortunately the Kermit application included in the starter package, was not built with the right compilation flags. So the the Kermit server mode is not allowed.  The command kermit kermit_ttyACM0.cfg -g /etc/hosts cant work.

 

Bumsik Kim
Senior
August 27, 2019

Thanks for reply. Then is it already fixed in the openstlinux distribution package, or do I need to fix ckermit_%.bbappend file?

Yves C
ST Employee
August 28, 2019

Hi,

​It isn't fixed in the distribution package.

find attached the bbappend file to update in your distribution environment  meta-st-openstlinux/oe-core/recipes-support/ckermit/ckermit_%.bbappend