User Tools

Site Tools


This is an old revision of the document!

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /nfs/c02/h06/mnt/17167/domains/ on line 1458

Warning: preg_match(): Compilation failed: invalid range in character class at offset 3417 in /nfs/c02/h06/mnt/17167/domains/ on line 118
A PCRE internal error occured. This might be caused by a faulty plugin

====== Layerone Demoscene Board - Getting Started ====== ---- ====== Power Up ====== There are two ways to power the Layerone Demoscene Board: USB microAB or External power. === USB microAB - 5V: === {{:usbpower.png?400|}} === External power input range: 4.75v to 15.0v: === {{:extpwr.png?400|}} ---- ====== Development Environment ====== The Layerone Demoscene Board is based on the PIC24FJ256DA206. You can program this microcontroller using MPLAB X and the XC16 Compiler. You will need both. __ Instructions:__ - MPLAB X Download Site: [[]] - Click the "Downloads Archive" tab and download the latest version of MPLAB X - XC16 Compiler: [[]] - Click the "Downloads Archive" tab and download the latest X16 compiler ---- ====== Example Code ====== L1 Demoscene Board - Getting Started Example Code - GitHub Repository: ---- ====== Programming ====== Once you've compiled your code using MPLAB X, you can upload the ".hex" file using either method: - USB Progamming via Bootloader (default, requires no additional hardware) - Programming via PICKIT3 (highly-recommended, requires additional hardware) ==== USB Bootloader Programming ==== The Layerone Demoscene Board ships with a USB Bootloader programmed to Flash Memory so that anyone with a Mac or PC can program the board without any additional hardware such as a debugger. __ Instructions: __ - Download and Install Mono: \\ [[]] - Download and Install the L1Demo GUI Loader (Mac/Windows/Linux): \\ [[]] - Run the "L1Demo GUI Loader" application. On newer Macs, you may need to right-click on the app icon and hit "Open". - Connect your L1 Demoscene Board to your Mac/PC using a USB A to USB MicroAB cable - Power-up the L1 Demoscene Board using either USB or external power (see "Power Up" section) - Click "Choose File" on GUI and navigate to the .hex file you wish to flash to the board: \\ {{:usbprogram.png?400|}} - IMPORTANT: *The next sequence of events are time sensitive* - Press the RESET button on the L1 Demoscene Board - On the GUI, under the "Device" drop down, select the USB COM/tty port for the L1 Demoscene Board - Press the RESET button on the L1 Demoscene Board - Click the "PROGRAM" button on the GUI: \\ {{:clickprogram.png?400|}} - The program will Verify, Load, and Write the hex file to the board: \\ {{:done.png?400|}} __ Additional Notes:__ - When you power up the board without a jumper, you have 5 seconds to upload your new hex file. After 5 seconds, the bootloader will automatically load the application from flash memory. If you need more than 5 seconds, you can place the Jumper on PGEC1 and PGED1 to force the bootloader to load indefinitely at reset: \\ {{:20150102_133814.png?500|}} - To force the application to load, place a jumper on PGED1 and GND: \\ {{:20150109_132603.jpg?500|}} ==== PICKIT3 Programming ==== - **__WARNING:__ The following procedure will erase the bootloader on the board!** - Purchase a PICKIT3: [[]] (or from your favorite vendor) - Connect the PICKIT3 to the L1 Demoscene Board: \\ {{:20141227_163805.jpg?500|}} - Open MPLAB X - Select the PICKIT3 as the programming device - For MPLAB X: Select PICKIT3 in the Project Properies -> Device - Upload by clicking the "Download" button ---- ====== Documentation ====== Datasheet for PIC24FJ256DA206: {{:pic24fj256da206.pdf|}} Graphics Controller Module datasheet for PIC24FJ256DA206: {{:39731a.pdf|}} ---- ====== Code ====== L1 Demoscene Board Github: [[|L1 Demoscene Board]] Getting Started Demo Github: [[|L1Demo Getting Started]] ---- ====== Hardware ====== Board and Schematic Files: [[|L1 Demoscene Board & Schematic]]

demoboard_getting_started.1523159335.txt.gz · Last modified: 2018/04/07 20:48 by arko