![]() ![]() In the “File” menu, select “Project Properties”. ![]() We need to configure the project’s linker setting to properly account for the P-Star’s bootloader, which takes up the first 8 KB of flash memory.For the Project Name, choose something like “p-star1”, and choose the folder you want it to be in.On the “Select Tool” screen, you can select “PICkit 3” but this choice does not matter because we will not use MPLAB X to the load the program onto the board.For the Device, type the name of the microcontroller on your P-Star, which is either “PIC18F25K50” or “PIC18F45K50”.On the first screen of the New Project wizard, select the “Microchip Embedded” category and then select “Standalone Project”.From the File menu, select “New Project”.Find “MPLAB X IDE” in your Start Menu and run it.Download and install the latest versions of MPLAB X and XC8.Both programs run on Windows, Max OS X, and Linux. XC8 is a C compiler from Microchip for 8-bit PICs. MPLAB X a free integrated development (IDE) from Microchip for programming their PIC microcontrollers. This section explains how to get started programming the P-Star in the C language using MPLAB X and XC8. The P-Star can be programmed using standard development tools from Microchip. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |