You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/manual/installing.rst
+20
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,26 @@ The communication parameters are 115200 8-N-1.
168
168
.. note:: The reset button of the KC705 board is the "CPU_RST" labeled button.
169
169
.. warning:: Both those instructions will result in the flash storage being wiped out. However you can use the test mode to change the IP/MAC without erasing everything if you skip the "fserase" command.
170
170
171
+
* (optional) Flash the ``idle`` kernel
172
+
173
+
The ``idle`` kernel is the kernel (some piece of code running on the core device) which the core device runs whenever it is not connected to a PC via ethernet.
174
+
This kernel is therefore stored in the :ref:`core device configuration flash storage <core-device-flash-storage>`.
175
+
To flash the ``idle`` kernel:
176
+
177
+
* Compile the ``idle`` experiment:
178
+
The ``idle`` experiment's ``run()`` method must be a kernel: it must be decorated with the ``@kernel`` decorator (see :ref:`next topic <connecting-to-the-core-device>` for more information about kernels).
179
+
180
+
Moreover, since the core device is not connected to the PC: RPC are forbidden in this ``idle`` experiment.
181
+
::
182
+
183
+
$ artiq_compile idle.py
184
+
185
+
* Write it into the core device configuration flash storage: ::
186
+
187
+
$ artiq_coreconfig -f idle_kernel idle.elf
188
+
189
+
.. note:: You can find more information about how to use the ``artiq_coreconfig`` tool on the :ref:`Utilities <core-device-configuration-tool>` page.
Copy file name to clipboardExpand all lines: doc/manual/utilities.rst
+4-5
Original file line number
Diff line number
Diff line change
@@ -117,12 +117,11 @@ To write the value ``test_value`` in the key ``my_key``::
117
117
$ artiq_coreconfig -r my_key
118
118
b'test_value'
119
119
120
-
You can also write entire files in a record using the ``-f`` parameter::
120
+
You can also write entire files in a record using the ``-f`` parameter. This is useful for instance to write the ``idle`` kernel in the flash storage::
0 commit comments