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 22.2 and Epsilon 23
  - 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 Numworks site and run step 2 again.
  - step 4 : if you do not have other external apps, you can install the launcher (compatible with Epsilon 22 but not 23 on N0110/N0115).
    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 see KhiCAS from the calculator Home screen. Note that KhiCAS will be partially erased at each RESET/crash. You will have to reinstall khicas.nwa (step 4) every time the calculator RESETs or crashes (keep this page in your bookmarks).
- Installation for unlocked N0110 (old models)
  - Detect the calc.
  - multi-boot, Khi+KhiCAS (19.0.99, 2024/07/07)
  - Update (type on the calculator Power ln OK): KhiCAS stable, KhiCAS alpha, Khi slot 1, Khi slot 2
  - 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 KhiCAS alpha (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.