- Ensure that you have installed NFD and ndncert.
The purpose of this tutorial is to walk through the required steps to upgrade NXT chip (or pocketchip) from debian jessie to debian buster.
If you would like to start your Chip from scratch, follow the steps in the Preparation section.
A linux host machine, recommended Ubuntu 18.04. However I managed to do it with 20.10 with some tweak.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b = 0 | |
m_bits = 5 | |
m_max = (1<<m_bits) | |
for i in range(0,256): | |
e = i >> m_bits | |
m = i & ((1<<m_bits) - 1) | |
if e == 0: | |
x = (0 + m / m_max) * pow(2, 1 + b) |