Configuring Your Paragon PCB with VIA
05.11.2023 Update:
- New hex files have been created for the Paragon PCBs which now provide support for customizing the encoder out of the box!
Prerequisites:
- Install QMK Toolbox to flash the PCB.
- USB C cable to connect the PCB to your device.
- Download and unzip the following file:
Flashing the PCB
Locate the appropriate hex file for your PCB. Make sure the file extension remains as
.hex
.- Solder: paragon_solder_via.hex
- Hotswap: paragon_hotswap_via.hex
Open QMK Toolbox.
Set the PCB into DFU mode. Note: the PCB must be connected to your device to be set into DFU mode.
DFU mode can be enabled through the following methods:
- Press the
RESET
button, located on the back of the PCB near the JST connector. - If you already built your PCB, hold down both
SHIFT
keys (left and right) and pressB
.- Note: We do NOT recommend building your PCB without testing it first.
- Press the
QMK Toolbox will tell you if the PCB is in DFU mode with the following message:
Atmel DFU device connected: ATMEL ATm32U4DFU (03EB:2FF4:0000)
In QMK Toolbox, click
Open
and load the downloaded hex file for your PCB.Click
Flash
. A successful flash will provide the following message:Attempting to flash, please don't remove device
> dfu-programmer atmega32u4 erase --force
> Erasing flash... Success
> Checking memory from 0x0 to 0x6FFF... Empty
> dfu-programmer atmega32u4 flash --force /Users/<your_user>/Downloads/paragon_<PCB_type>_via.hex
> 0% 100% Programming 0x5A80 bytes...
> [>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] Success
> 0% 100% Reading 0x7000 bytes...
> [>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>] Success
> Validating... Success
> 0x5A80 bytes written into 0x7000 bytes memory (80.80%)
> dfu-programmer atmega32u4 reset
Flash complete
Atmel DFU device disconnected: ATMEL ATm32U4DFU (03EB:2FF4:0000)
Configuring your PCB through VIA
Locate the VIA JSON configuration file for the Paragon. It is titled paragon_via_config.json.
Go to the VIA website.
Click the Authorize button and select
Paragon
from the pop-up dialogue that appears. Performing this action will not change the webpage.Click on the Settings icon on the far left side of the header tab.
In the Settings tab, enable the
Show Design tab
.Click on the
Load
icon and select theparagon_via_config.json
file you previously downloaded. Upon loading the file, VIA will ask you to authorize the Paragon PCB again.You should now be able to head to the Configure tab and start manipulating the keymap for your PCB.
Configuring the Encoder
To configure the behavior of the encoder, head over to the Configure tab in VIA.
Click on the encoder button located in the top right corner of the layout schematic.
Two options should appear:
Rotate Counterclockwise
Rotate Clockwise
By default, the
Rotate Counterclockwise
setting will be set toKC_VOLU
(volume up). TheRotate Clockwise
setting will be set toKC_VOLD
(volume down).To change the settings, click on the field associated with the turn direction, and enter your desired QMK Keycode. A list of QMK Keycodes can be found here: https://github.com/qmk/qmk_firmware/blob/master/docs/keycodes.md
- Keycode Examples:
- Brightness Up:
KC_BRIU
- Brightness Down:
KC_BRID
- Brightness Up:
- Keycode Examples:
Common Issues
My left
Alt
key isn't working.- Make sure you flashed the PCB with the correct hex file and loaded the JSON in VIA to configure the layout.
The VIA application/website is stuck at "searching for devices". The layout configurator is not appearing.
- Make sure you loaded the JSON file into VIA under the "Design" tab.
I received the following error when flashing my PCB:
erasing flash success.
checking memory 0x0 to 0x6fff empty.
error reading line 1.
atmega32u4 reset
flash complete- Make sure to download the hex file correctly and save it with the
.hex
extension.
- Make sure to download the hex file correctly and save it with the