Xmodem protocol error for eMMC

I have a board from a company that uses the A388 eMMC. I want to put it in my clearfog pro board and flash it with standard linux to repurpose the board. Following the instructions from the link below regarding installing software to eMMC, I get to line 17 where it says to kwboot and the output I get is this:
Sending boot image…
0 % [+xmodem: Protocol error

Am i going about this wrong? I am able to screen to the board when it boots and able to see it trying UART so I am thinking my hardware setup is correct.


You need to disconnect your terminal application when using kwboot. You can use the built in terminal functionality of kwboot to access u-boot immediately after loading it.

If I follow what you are saying, you are suggesting to not cause conflict with screen and kwboot. I used screen to confirm I had some sort of output and that i was using the correct serial port. I killed screen prior to kwboot. Am i following you correctly or are you going after something different?

okay, so your console program is not connected to the serial port. In that case can you post the full kwboot command you are using?

I get hung up when running the command below.
./kwboot -t -b u-boot-clearfog-base-uart.kwb /dev/ttyUSB0

i have made some progress here. I did make a slight adjustment to the command: sudo kwboot -b u-boot-clearfog-pro-uart.kwb -t /dev/tty/USB0 -B 115200. I now have gotten into u-boot using uart, i have a prompt

Now, i usb start, then usbboot usb 0
from there it loads the linux box on the eMMC which is what Im trying to overwrite. What is the right way to boot to usb here? I still have my dip switches set for uart if that matters. Is it possible to overwrite an existing emmc install or am i chasing a fools errand?

Anybody know how to reinstall over a image in eMMC? I think the eMMC is booting first so it never gets to the USB device. How can I tell it to ignore the eMMC image and look to the USB device?