Close

How to program the calculator using a KL25Z board

A project log for Scientific Calculator

An ARM based scientific calculator

ramn-calvoRamón Calvo 10/15/2017 at 17:451 Comment

Once the calculator is mounted, we no longer can program the MCU from a USB interface. To solve that inconvenience, we need to prepare the KL25Z so it can act as an SWD programmer. The theory is simple, disconnect the internal SWD to the KL25Z's MCU and connect it directly to the calculator's.

To isolate the MCU from the SWD interface, we need to cut J11, according to the manual.

KL25Z SWD
Credit to mcuoneclipse.com

And now we need to solder the male 1.27mm 2x5 pin headers so we can use a cable to connect the programmer and the calculator.

To program the calculator, since we are still using mbed's firmware, we can just drag and drop the files over USB, or as I do, use PlatformIO to automatically upload it.

Discussions

nerd wrote 12/13/2017 at 19:19 point

is possible to add solar panel to this calculator?

  Are you sure? yes | no