Replies: 2 comments 1 reply
-
Thanks for providing this method to load the kernel image using the serial bootloader on Windows! There is another comfortable bootloader tool (Flashy), which runs on Windows, already integrated into Circle. It is described here. |
Beta Was this translation helpful? Give feedback.
-
Thank you. I see the alternatives all require installation of extra files and packages for Windows and paths to be setup correctly. I posted this method as it works without all that hassle even though it's a quick and dirty method so to speak. I use Windows mostly and a Linux box dedicated for compile and builds. After an hour of frustration downloading and installing the python3 package (over 5K files BTW) I was still unable to run the python scripts as the serial library was not part of the install. I then spent another hour installing and setting up "pip" in order to install the serial library. So, eventually I gave up and wrote this short batch file in 10 minutes. |
Beta Was this translation helpful? Give feedback.
-
I've written a small batch file for Windows which transfers the kernel generated hex file when using
make flash
for bootloader kernels. I know there is a python script to do this automatically but sometimes it is also useful to be able to do this from Windows. Also saves all the hassle of installing python and the missing serial scripts that don't get installed!. These commands can be typed directly into a console window (replace COM4 with the serial port assigned for the usb cable).I've REMed out the "magicstring" line as I don't know how it works exactly but the
reboottool.py
script uses it to reboot the kernel. There is no progress shown for the file copy part so give it time to finish. I hope this contribution proves useful to someone and please feel free to add it to the repo.Beta Was this translation helpful? Give feedback.
All reactions