This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:programming_setup [2024/03/21 16:34] admin |
products:programming_setup [2025/01/13 22:38] (current) admin |
||
---|---|---|---|
Line 9: | Line 9: | ||
Before we do that, we'll cover how to get the device seen by your computer. | Before we do that, we'll cover how to get the device seen by your computer. | ||
- | Depending on the device you have you may need to insert a paperclip and hold down a button or you will need to open the bottom using a Phillips screwdriver, locate a small PCB wrapped in blue tape, and then press a black dot on the tape. | + | Depending on the device you have you may need to insert a paperclip and hold down a button or you will need to open the bottom using a Phillips screwdriver, locate a small PCB wrapped in blue tape, and then press a black dot on the tape. (See the [[http://codex.2xlnetworks.net/products:firmware_update|Firmware Update Guide]] for more info.) |
You will need to hold this reset button down while plugging the USB cable into your computer. Wait a few seconds after you plug it in and then release the button. | You will need to hold this reset button down while plugging the USB cable into your computer. Wait a few seconds after you plug it in and then release the button. | ||
Line 21: | Line 21: | ||
{{:products:02-rpi-rp2-files.png?direct&600|}} | {{:products:02-rpi-rp2-files.png?direct&600|}} | ||
- | The drive will contain two files. Ignore the files, **do not delete or attmept to edit them**. | + | The drive will contain two files. Ignore the files, **do not delete or attempt to edit them**. |
---- | ---- | ||
Line 86: | Line 86: | ||
---- | ---- | ||
- | Now we'll select the port. Since we pressed the reset button | + | Now we'll select the port. Since we pressed the reset button to get the board to mount as a UF2 drive we'll select that. |
+ | {{:products:08-select-port.png?direct&800|}} | ||
+ | |||
+ | Under the **Tools** menu select **Port** and then **UF2 Board**. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | Finally if you are programming the device as a keyboard, mouse, or joystick/game controller you can use the **Pico SDK**. | ||
+ | |||
+ | (If you want a USB MIDI device **Adafruit TinyUSB** is the option to choose.) | ||
+ | |||
+ | {{:products:09-select-pico-sdk.png?direct&800|}} | ||
+ | |||
+ | Under the **Tools** menu select **USB Stack** and then **Pico SDK**. | ||
+ | |||
+ | We are ready to load the code! | ||
+ | |||
+ | Download this {{ :products:example_code.zip |}} to get started. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | {{:products:10-upload.png?direct&800|}} | ||
+ | |||
+ | Once you have your code ready you can upload it to the board. Use the **Upload** button found in the upper left part of the application window. (It looks like an arrow pointing to the right.) | ||