Kernel & SuperBASIC Updates: Difference between revisions
(Added the links to the different software needed to do the update) |
(better instructions with gen2) |
||
| (8 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
== Kernel and/or SuperBASIC Update Links == | == Kernel and/or SuperBASIC Update Links == | ||
Most people will prefer to rely on curated, prepared firmware collection to flash the whole flash memory blocks all at once, using a community driven firmware release that will routinely also improve superbasic and the Micro-Kernal, among other things. This is what most people will prefer to use. | |||
Here is a complete package of both latest instances (Scripts & bulk.csv files included as well as the foenixmgr utilities to perform the flash), check the '''Releases''' page of the following link: | |||
[https://github.com/FoenixRetro/f256-firmware Complete Package Kernal+SuperBASIC+Apps Link] | |||
If, for some reason, you really want to modify certain parts of the firmware in flash, you could do so piecewise by replacing only the superbasic or only the Micro-Kernel flash blocks. For the vast majority of users, this is NOT needed. | |||
Here are the GitHub Links where you will find the latest F256K / F256Jr Micro-Kernel load and/or SuperBASIC: | Here are the GitHub Links where you will find the latest F256K / F256Jr Micro-Kernel load and/or SuperBASIC: | ||
[https://github.com/ghackwrench/ | [https://github.com/ghackwrench/F256_MicroKernel F256x Micro-Kernel Github Link] | ||
[https://github.com/paulscottrobson/superbasic/releases F256x SuperBASIC Github Link] | [https://github.com/paulscottrobson/superbasic/releases F256x SuperBASIC Github Link] | ||
== | == USB Port == | ||
=== F256 Jr. / F256K === | |||
You will need to have the XR21B1411 USB Driver for PC/Linux. The MAC is outdated. (Note: Driver is not needed for the F256K2) | |||
[https://www.maxlinear.com/product/interface/uarts/usb-uarts/xr21b1411] | |||
=== F256K2 === | |||
On the F256K2 the XR21B1411 has been replaced by a FT4232, to allow direct use as a JTAG controller for the FPGA. There are 3 virtual serial ports (channels) enabled. The first connected to the Raspberry PI Nano (on-board) that manages the FPGA loading, the second one is the Debug port, and the third one is the system UART. This means that you only use a data supporting USB-C cable running from a modern computer to the back of the K2, no need for a specialty cable, nor a specialty adapter. | |||
Therefore, on a F256K2 you want to select the second COM port that gets added to your system. As an example, on one Windows 10 system, the F256K2 USB-C connection added ports COM5, COM6 and COM7. All three coming up just as generic FTDI manufacturer USB ports. | |||
== | === Update batch file to point at correct port === | ||
To perform a full Kernel & SuperBASIC update, I simply downloaded the Complete Package (above) and edited the update.bat batch file to instead specify my system's COM6 (i.e. the 2nd added Port). | |||
== Links to Software needed to do update with FoenixMgr (Python Script) == | |||
Python | Python | ||
[https://www.python.org/] | [https://www.python.org/] | ||
| Line 23: | Line 39: | ||
Foenix Manager (Collection of Python Scripts to use the USB Debug port) | Foenix Manager (Collection of Python Scripts to use the USB Debug port) | ||
[https://github.com/pweingar/FoenixMgr] | [https://github.com/pweingar/FoenixMgr] | ||
== Kernel and/or SuperBASIC Update Guide == | |||
Below, is a short video on how to install the software you will need to be able to reflash your Kernel and/or SuperBASIC. | |||
==== How to Update your F256 Jr. / F256K Short ==== | ==== How to Update your F256 Jr. / F256K Short ==== | ||
<youtube>Zgyhy_cBsM8</youtube> | <youtube>Zgyhy_cBsM8</youtube> | ||
==== How to Update your F256 Jr2 / F256K2 Video ==== | |||
<youtube>pOab0ocKqac</youtube> | |||
Starting at 6:46, this video dives into updating the firmware for a specific core (each core have their pocket of 512K of flash memory, not shared). | |||
Latest revision as of 15:38, 1 February 2026
Kernel and/or SuperBASIC Update Links
Most people will prefer to rely on curated, prepared firmware collection to flash the whole flash memory blocks all at once, using a community driven firmware release that will routinely also improve superbasic and the Micro-Kernal, among other things. This is what most people will prefer to use.
Here is a complete package of both latest instances (Scripts & bulk.csv files included as well as the foenixmgr utilities to perform the flash), check the Releases page of the following link:
Complete Package Kernal+SuperBASIC+Apps Link
If, for some reason, you really want to modify certain parts of the firmware in flash, you could do so piecewise by replacing only the superbasic or only the Micro-Kernel flash blocks. For the vast majority of users, this is NOT needed.
Here are the GitHub Links where you will find the latest F256K / F256Jr Micro-Kernel load and/or SuperBASIC:
F256x Micro-Kernel Github Link
USB Port
F256 Jr. / F256K
You will need to have the XR21B1411 USB Driver for PC/Linux. The MAC is outdated. (Note: Driver is not needed for the F256K2) [1]
F256K2
On the F256K2 the XR21B1411 has been replaced by a FT4232, to allow direct use as a JTAG controller for the FPGA. There are 3 virtual serial ports (channels) enabled. The first connected to the Raspberry PI Nano (on-board) that manages the FPGA loading, the second one is the Debug port, and the third one is the system UART. This means that you only use a data supporting USB-C cable running from a modern computer to the back of the K2, no need for a specialty cable, nor a specialty adapter.
Therefore, on a F256K2 you want to select the second COM port that gets added to your system. As an example, on one Windows 10 system, the F256K2 USB-C connection added ports COM5, COM6 and COM7. All three coming up just as generic FTDI manufacturer USB ports.
Update batch file to point at correct port
To perform a full Kernel & SuperBASIC update, I simply downloaded the Complete Package (above) and edited the update.bat batch file to instead specify my system's COM6 (i.e. the 2nd added Port).
Links to Software needed to do update with FoenixMgr (Python Script)
Python [2]
PySerial [3]
Foenix Manager (Collection of Python Scripts to use the USB Debug port) [4]
Kernel and/or SuperBASIC Update Guide
Below, is a short video on how to install the software you will need to be able to reflash your Kernel and/or SuperBASIC.
How to Update your F256 Jr. / F256K Short
How to Update your F256 Jr2 / F256K2 Video
Starting at 6:46, this video dives into updating the firmware for a specific core (each core have their pocket of 512K of flash memory, not shared).