This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
iotsec-djw2/lab1/lab1.md
2024-11-04 16:19:58 -08:00

45 lines
1.5 KiB
Markdown

## Lab 1: Verification
This lab follows my efforts of flashing, verifying, and interfacing with the hardware kit introduced in Lab 0
### Part 0: Flashing firmware
To begin, I plug in my board to my PC and download the U2F file
![setup](./setup.jpg)
Per the instructions, I then hold the boot button and quickly press the reset button. Shortly after, the storage device appears as avaiable with the name `RPI-RPI2`
![pre-flash](./pre-flash.png)
After simply copying the file and waiting a few minutes, the storage device dissapears, and re-appears with the name `CIRCUITPY` as expected
![post-flash](./post-flash.png)
I can now move on to verify the radio activity functions correctly.
### Part 1: Verify Radio
### Part 2: Serial Console
To verify serial access capabilities with my featherboard, I will be following the linux instrutions provided
#### Determine the port
With the board connected, only one serial port appears. This is a good start
![port-check](./port-check.png)
#### Connect
I now run the `screen` command on the serial port with the baud rate given from the tutorial
![screen-cmd](./screen-cmd.png)
This is successfull, and I drop into the circuit python interpreter with ease!
![python-int](./python-int.png)
### Reflections
The overall process here of interfacing with the RP2040 featherboard and basic interactions with the radio and python interpreter were straightforward. This is convienent compared to my prior experience with embedded controller, and the need to often compile and push lower-level code to build features.