-
Jason Kridner authorede08e1b10
BeaglePlay & Zephyr Development
BeaglePlay includes a Texas Instruments CC1352P7 wireless microcontroller that can be programmed using the Linux Foundation Zephyr RTOS.
Developing directly in Zephyr will not be ultimately required for end-users who won't touch the firmware running on the CC1352 on BeaglePlay™ and will instead use the provided wireless functionality. However, it is important for early adopters as well as people looking to extend the functionality of the open source design. If you are one of those people, this is a good place to get started.
Further, BeaglePlay is a reasonable development platform for creating Zephyr-based applications for :ref:`beagleconnect_freedom_home`. The same Zephyr development environment setup here is also described for targeting applications on that board.
Install the latest software image for BeaglePlay
Note
These instructions should be generic for BeaglePlay and other boards and only the specifics of which image was used to test these instructions need be included here moving forward and the detailed instructions can be referenced elsewhere.
Download and install the Debian Linux operating system image for BeaglePlay.
- These instructions were validated with the BeagleBoard.org Debian image am625x-emmc-flasher-debian-11.5-xfce-arm64-2023-01-04-10gb.img.xz.
- Load this image to a microSD card using a tool like Etcher.
- Insert the microSD card into BeaglePlay.
- Power BeaglePlay via the USB-C connector.
Note
#TODO: describe how to know it is working
Log into BeaglePlay
Please either plug in a keyboard, monitor and mouse or ssh
into the board. We can point
somewhere else for instructions on this. You can also point your web browser to the board to log
into the Visual Studio Code IDE environment.
Note
TODO A big part of what is missing here is to put your BeaglePlay on the Internet such that we can download things in later steps. That has been initially brushed over.
Flash existing IEEE 802.15.4 radio bridge (WPANUSB) firmware
If you've recieved a board fresh from the factory, this is already done and not necessary, unless you want to restore the contents back to the factory condition.
Background
This WPANUSB application was originally developed for radio devices with a USB interface. The CC1352P7 does not have a USB device, so the application was modified to communicate over a UART serial interface.