mICROCHIP pIC32 EMBEDDED SYSTEM
The PIC32 is currently coded in C language. Microchip the manufacture of the PIC32 is looking to further develop a JavaScript interpreter in C. With the interpreter the PIC32 would allow programmers to create new programs quickly and efficiently. The interpreter will be able to interpret JavaScript and translate it to C for the microprocessor to understand. Which could potentially allow a program that would take a couple of weeks to be finalized in only two to three hours, which is an eighty five percent reduction in programming time. This would allow the programmers of the PIC32 to be extremely efficient when writing new programs.
Microchip created a very basic interpreter that would allow the PIC32 to run in JavaScript. They have been successful in making an LED blink on the board that has been written from code in JavaScript.
Currently there is a library for the PIC32 that has predefined functions that users can use either directly from GitHub or can manipulate the function to do something else without starting from scratch. This library is extremely beneficial to the programmers of the PIC32 because it allows them to use their time efficiently. Microchip has an Integrated Development Environment (IDE) named MPLAB X, and an integrated firmware development environment for the PIC32, called MPLAB Harmony. This allows real-time operating systems (RTOS) friendly libraries with Microchip support for third party software integration, which will help when importing our code to JavaScript. Studying and becoming familiar with this information will help us understand the development boards we are using, and the software that comes with it. Below is our requirements and specifications for this project
Software:
This project is mainly going to be software based in the fact we will not be building any devices. For this project we will be creating a JavaScript compiler to talk to the board. The board currently understands users coding in C. The embedded system needs to be coded in C that will need to interpret the JavaScript.
Requirements:
- Develop the JavaScript interpreter for the PIC32 using C language by the use of wrapper source files
- Program the Pico side by side with PIC32 to understand JavaScript
- Enable the digitalRead( ) function to work with the JavaScript Interpreter
Specifications:
- Be able to implement Espruino code from their GitHub website to the PIC32
General:
The overall general purpose of this project is to build an embedded system within the PIC32 board and program it in C to interpret the JavaScript language. At the end of our capstone project we need to show that a wide variety of peripherals can run on the PIC32 using the JavaScript interpreter the team developed.
Requirements:
- Client Preferences
- Reliability
- Easy to use