KhiCAS/XCAS
Connexion kit for Numworks calculators
Beware, don't upgrade your N0110 calculator from Numworks site!+ More info
If you have upgraded from Numworks site, your calculator is locked and therefore partially incompatible with KhiCAS. Thanks to M4x1m3, there is temporarily a workaround to unlock your N0110 Numworks, follow instructions here. If the workaround fails (if you made an update from Numworks site after 22/03/28), the locking process is (almost) irreversible, the only known workaround for N0110 is explained here (French) it requires some additional hardware and opening the calculator (beware it does not work on N0115 and N0120).
If your calc is a locked N0110 or a N0115 or a N0120 you can still install a version of KhiCAS from this page, but it will need partial reinstallation after any RESET or crash.
If you install Khi+KhiCAS from this site, it will protect your calc against lock from USB connection. You will have to press reset and 4 simultaneously to open the bootloader in order to access flash. Beware, don't do reset+4 or reset+6 unless you are sure to be on a safe site, if you do that on Numworks site, you might end up with a locked calculator.
If this page does not work, clear the browser cache and retry
🛈Connect your calculator to the computer. If the calculator connection does not work:

- If the calculator screen remains black, even after you have pressed the Power black button on the calculator:
  - Unlocked N0110 model: go to the rescue section.
  - Other models: go to Numworks site
- If the calculator is on and the calc does not display "Calculator connected", unplug and plug the calc
- If the calculator is on and the calc displays "Calculator connected", try the Detect button.

### Python scripts

- Detect the Numworks.
- Numworks→ ou Backup→ : get Python scripts from the calculator or from a backup.
- →Backup : get all scripts from the calculator in one archive and save it
- →Numworks : send a script (`.py` extension) or restore a backup (`.nws`) to the calculator.

### Install, upgrade ...

- Documentation (English), Licences, Source.
- Installation on a locked N0110, or a N0115/N0120 (recent models): tested with Epsilon >= 19.5 (N0110) or 20.1 (N0120)
  - step 1: Detect the calc.
  - step 2: install KhiCAS short version or complete version on your calculator.
    For the short version, you can optionnaly install examples scripts.
    On N0120 models, RESET the calculator.
  - step 3: if step 2 did not work (or if you want to upgrade Epsilon), press the 6 key and RESET at the back simultaneously keeping the 6 key pressed, then release. Now make a firmware upgrade
    - from an Epsilon firmware image you have downloaded somewhere (19.5 recommended on N0110/N0115) on tiplanet webdfu site
    - or otherwise from Numworks site
    and run step 2 again.
  - step 4 : if you do not have other external apps, you can install the launcher compatible with
    - N0110: 19.5.0, 19.5.9, 20.1.0, 20.2.0, 20.3.0, 20.4.0, 21.1.1, 21.2.0, 21.3.0, 22.1.0, 22.2.0, 23.0.0, 23.1.0, 23.2.0, 23.2.3 (last public source), 23.2.5, 23.2.6, 24.1.0, 24.5.0, 24.6.0, 24.8.0
    - N0115: userland with the same version number and same source sha256 fingerprint are identical between N0110 and N0115 up to 1 byte (the model number digit 5 or 0). Launcher should be compatible. Kernels for N0110 can run on N0115 if the LCD controler of the N0115 is recognized by the N0110 kernel. Conversely N0115 kernels should work on N0110.
    - N0120: 20.1.0, 20.2.0, 20.3.0, 20.4.0, 21.0.0, 21.1.1, 21.2.0, 21.3.0, 22.1.0, 22.2.0, 22.2.1, 23.0.0, 23.1.0, 23.2.0, 23.2.2, 23.2.3, (last public source), 23.2.4, 23.2.5, 23.2.6, 24.1.0, 24.5.0, 24.6.0, 24.8.0
    N.B.: if you have dfu-utils installed (Linux/Mac), click on the link above corresponding to your calculator/firmware, then you will be able to send the launcher locally with a command like
    `dfu-util -i 0 -a 0 -s 0x901x0000 -D sector1xvxx.x.x.1x0`
    where 1x is the sector number, vxx.x.x the version number, 1x0 the calculator model.
    Otherwise download khicas.nwa, close this tab (this will free the calculator). and install khicas.nwa from external apps (Numworks page.
  - step 5: you should now see KhiCAS from the calculator Home screen.
  - Note that KhiCAS will be partially erased at each RESET/crash with Epsilon version 20 and above, or will need to be reactivated with Epsilon version 19.5 (N0110/N0115).
    With Epsilon version 20 or above or on N0120, you will have to reinstall khicas every time the calculator RESETs or crashes (keep this page in your bookmarks) or does an exam activation/deactivation cycle. If you have to do this frequently, it will erase and erase again the same flash sector, this may be bad because the number of erase/rewrite cycles is limited. It is therefore recommended on N0110/N0115 to install Epsilon 19.5.
    With Epsilon 19.5 on N0110/N0115, external apps are automatically reactivated when you leave exam mode. After a crash or reset, you can reactivate external apps without flashing the calculator, connect the calc and click on reactivate external apps (19.5).
    Under Linux or Mac OS with `dfu-utils`, you can reactivate external apps without connexion with the following command:
    `dfu-util -i 0 -a 0 -s 0x90200000:leave`
    I can not change this myself, this is the consequence of design decisions made by Numworks.
- Installation for unlocked N0110 (old models)
  - Detect the calc.
  - multi-boot, Khi+KhiCAS (20.0.03, 2025/07/10)
  - Update (type on the calculator Power ln OK): KhiCAS stable, Khi slot 1, Khi slot 2
    Latest version (alpha) khialpha.zip.
  - Press reset-1 or 2 or Power ln OK Back 1 or 2 in order to boot from slot 1 or 2. Run KhiCAS from slot 2 if you need more memory.
- Archive flash from your Numworks
- Customize flash
  Init from calculator→ or script examples (all models except unlocked N0110) or KhiCAS (unlocked N0110 with Khi) or or Clear
  Add files:

  Install or save customization.

### Install or certification log Clear

### Unlocked N0110 exam mode :

If you want to certify that a N0110 calculator firmware is a genuine version of Khi+KhiCAS, click here Certification
This test takes about 30 secondes These tests may be done by a proctor during an exam with a smartphone from this link using a smartphone-Numworks link.

### Unlocked N0110 calculator blocked:

-Rescue : Click here if your N0110 is stuck.
Connect the calculator, press the 6 key, enter a pin in the RESET button on the back (keeping 6 pressed), release the 6 key. The screen should remain black, while the red led is visible. Otherwise your calculator is probably locked, click here.
-If you see `http://... tries to connect`, click on `STM32 BOOTLOADER` then click on `Connect`.
-If rescue does not work, try with Xcas PC. On windows, check that you have a driver for STM32 BOOTLOADER, you can install one from Zadig.
This kit works only with a webusb compatible browser, like Chromium, Chrome or Edge and from a web server. Firefox does not have support for webusb for security reasons. If you don't want to run a webusb compatible browser, you can connect your Numworks with Xcas (version Windows, Linux et Mac).
For experts who want to run this page locally, activate a local webserver, for example by running from a Terminal the following command
`python3 -m http.server`
from the directory where you have unzipped xcashtml.zip, then click on this link.
Thanks to Maxime Friess for his script Numworks.js (MIT licence). This page is also using tarballjs JSZip to read zip files and FileSaver.js to save files.
Thanks to Yaya.Cout for insightfull discussions about locked firmwares slot informations.
Thanks to Zexi Ru and Elio Poletti for the initial page style.