Step 5 : Flash and Boot the OS ============================== .. tab-set:: .. tab-item:: Flash and Boot the OS * In this program, you are going to learn .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow * How to ? .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Flash and Boot ` .. _zephyr_rpi_step7_0: .. tab-set:: .. tab-item:: Flash and Boot * Open one normal linux terminal and run minicom once you plug in the board. .. code-block:: c sudo minicom -D /dev/serial/by-id/usb-STMicroelectronics_STM32_STLink_0669FF30304B4E3043024711-if02 -b 115200 * You should see the following output .. code-block:: text Welcome to minicom 2.8 OPTIONS: I18n Port /dev/serial/by-id/usb-STMicroelectronics_STM32_STLink_0669FF30304B4E3043024711-if02, 21:01:28 Press CTRL-A Z for help on special keys *** Booting Zephyr OS build zephyr-v3.5.0-4086-g0a8d03b95f84 *** Hello World! nucleo_g0b1r * Now run west flash in the venv terminal .. code-block:: c $ west flash -- west flash: rebuilding [1/1] cd /home/test/zephyrproject/zephyr/build/zephyr && /home/test/zephyrproject/.venv/bin/python3 ...ts/build/check_init_priorities.py --elf-file=/home/test/zephyrproject/zephyr/build/zephyr/zephyr.elf -- west flash: using runner stm32cubeprogrammer ------------------------------------------------------------------- STM32CubeProgrammer v2.15.0 ------------------------------------------------------------------- ST-LINK SN : 0669FF30304B4E3043024711 ST-LINK FW : V2J37M27 Board : NUCLEO-G0B1RE Voltage : 3.24V SWD freq : 4000 KHz Connect mode: Under Reset Reset mode : Hardware reset Device ID : 0x467 Revision ID : Rev Z Device name : STM32G0B0xx/B1xx/C1xx Flash size : 512 KBytes Device type : MCU Device CPU : Cortex-M0+ BL Version : 0x92 Memory Programming ... Opening and parsing file: zephyr.hex File : zephyr.hex Size : 13.62 KB Address : 0x08000000 Erasing memory corresponding to segment 0: Erasing internal memory sectors [0 6] Download in Progress: [==================================================] 100% File download complete Time elapsed during download operation: 00:00:00.451 RUNNING Program ... Address: : 0x8000000 Application is running, Please Hold on... Start operation achieved successfully