Gadget Renesas

Linking Ideas and Electronics


GR-PEACH Special Page

Sketch on Web Compiler


This page introduce how to sketch on Web Compiler for GR-PEACH. Both Windows are availbale.


GR-PEACH and USB Cable(micro B type)

login login



1. Login to Web Compiler

Login to Web Compiler from the top page of GADGET RENESAS.
When you click the below image, the page is displayed on other tab page.
Then click [Log In] or [Guest Log In]. If you chose the guest login, your sketch is removed when log out.


Fill with your MyRenesas account and click [Sign in], when you entered from [Log In].


2. Create a New Project

To create a project, click the button as below. If you log in at the first time, skip this procedure.


Select an appropriate template, such as, where xxx indicates the version.


3. Displaying your sketch

Selecting the "Create Project" brings you to the Web Compiler IDE window. Click "gr_sketch.cpp" file under the explore menu. The source code of the file will appear in the right window. This is the sample code that will drive the LED on GR-PEACH.


4. Build the code

Since the code shown on the screen is a working sample, you don't need to debug the code. To build the code, click the "Execute Build" icon on the right navigation menu shown below. This should show you "The Compilation Is Complete" pop-up.
Note that it takes a little time to build at the first time because of compilation of all source files.


When the build is OK, the pop-up screen shows "Make process completed" at the bottom of screen. Then click the close button.


5. Download the sketch

When the build is successfully completed, Web Compiler creates binary file "peach_sketch.bin" under the .CPP file shown below. Move the mouse onto the bin file and click the right click - that shows the pop-up menu below. Then click "Download" menu.


6. Connect GR-PEACH

Connect GR-PEACH to PC with USB cable.


GR-PEACH is displayed as a USB storage named "MBED".


7. Flashing (Copy program to GR-KAEDE)

Copy & Paste the peach_sketch.bin to the storage.


8. Execute your Sketch

Push the RESET button on GR-PEACH. Now the LED on GR-PEACH is flashing, isn't it?