How to dump the program in Kaede board?

hi there. i received the board yesterday. Now im trying to dump basic led program from web compiler.

I downloaded the Source.bin file to GR-KAEDE folder. But within a sec, it goes to the initial state(LED 1 alone constantly glowing). I cannot get the output.

Executed program is..

/* GR-KAEDE Sketch Template V1.00 */
#include <Arduino.h>

#define INTERVAL 100

void setup()
{
pinMode(PIN_LED0,OUTPUT);
pinMode(PIN_LED1,OUTPUT);
pinMode(PIN_LED2,OUTPUT);
pinMode(PIN_LED3,OUTPUT);
Serial.begin(9600);
}

void loop()
{

digitalWrite(PIN_LED0, 1);
delay(INTERVAL);
Serial.println("Start");
digitalWrite(PIN_LED1, 1);
delay(INTERVAL);
digitalWrite(PIN_LED2, 1);
delay(INTERVAL);
digitalWrite(PIN_LED3, 1);
delay(INTERVAL);
digitalWrite(PIN_LED0, 0);
delay(INTERVAL);
digitalWrite(PIN_LED1, 0);
delay(INTERVAL);
digitalWrite(PIN_LED2, 0);
delay(INTERVAL);
digitalWrite(PIN_LED3, 0);
delay(INTERVAL);

}

But the output im getting is LED_1 glowing continuously.

Please say me how to run my program in Kaede board in a perfect way. 

  • We're sorry, but 1st lot of GR-KAEDE has a problem with USB firmware.

    So please refer to below forum to re-write the USB firmware

    renesasrulz.com/.../5618.aspx

  • In reply to Okamiya Yuuki:

    Which software should i choose whether Evaluation Software or Upgraded one?

  • In reply to Krishnaraj V:

    Which?

    Sorry, but I don't understand "Evaluation Software or Upgraded one"

    Anyway, in case of using web compiler, the way as below forum is easy to start GR-KAEDE.

    renesasrulz.com/.../my-first-kaede.aspx

    And then, you need to write the USB firmware before web compiler.

    This USB firmware enables you to dump sketch.bin into GR-KAEDE.

  • In reply to Okamiya Yuuki:

    What should i choose in this?

  • In reply to Krishnaraj V:

    I didn't get any .mot file in my Workspace.

    When I click Add Program, it shows as blank. There is no supported files are shown.

    When I choose "All files" and below as shown. From that i chosen 2nd one.

    Im getting Invalid Program

    Please help me to get the board as working!

  • In reply to Krishnaraj V:

    You can find out the .mot at the top of forum.

    renesasrulz.com/.../5618.aspx

  • In reply to Okamiya Yuuki:

    Thank you sir..

    I rewrited the flash but im facing some problem as described below.

    On writing..

    After writing

    After disconnecting and changing switches.

    After connecting USB, the LEDs are not glowing.

    I tried twice but I didn't get it.

    Kindly, help me. what i have to do?

  • In reply to Krishnaraj V:

    Try to remove the Serial.println line and execute your code, all LED should blink.

    Have you installed GR USB Driver for your windows system? if yes then there is some connection problem with your serial communication initialization!

    Windows 8 system won't allow you to install 3rd party driver automatically, you need to add them manually,

    you can add new hardware from Device Manager and find Ports you'll be find GR KAEDE driver and install.

  • In reply to RiteshGohil:

    Before rewriting, all led glows and GR KAEDE is showing in Other Devices in Device Manager but now Im not getting connection with the board.

    From the beginning, there is no Port is showing when i connected.

    Now what should I do?

  • In reply to Krishnaraj V:

    Connect your board with USB cable, then press Reset button on board, at this time you will be able to see the GR Kaede drive.

    Reset button will reset your old code and board will ready to program with new, if you don't press the reset button it will run your old code.

    As your screenshot is not displaying Ports that means your board is not connected with the PC, your board must be detected by your PC

    as you said you got the gr kaede in other devices earlier, so this time also you'll get it, right click on gr kaede and click update driver software and browse manually to search for it, download the GR_KAEDE_USBCDC.inf  file form the web compiler or unzip from this posts attachment, and use this file to install as it is driver for your baord.

    it seems that you are using windows 8 system, so suppose if it will not allow you to install 3rd party software directly without digital signature so follow the steps,

    1) Restart to the pc with windows 8.1 (the pc you need to install the driver)
    2) Go to side menu that comes on the right when you hover up the right corner and select Settings (Last icon) and Power
    3) Press Shift and select Restart, it will start closing windows programs, but it will stop in a menu
    4) Select, Troubleshoot, Advanced, Startup Settings and press Restart
    5) After restart select option 7. Disable Driver Signature Enforcement
    6) Find the driver you need (e.g. GR_KAEDE_USBSDC.inf)

    Now it will allow you to install renesas driver, this process is only for one time install, after that you don't need to do it again,

    unplug you USB and plug it again, Port section will not see until you are using it, so even if you are connected and not using the serial interface or not debugging the Port section will not see.

    To check your program flow, you need to install serial terminal software such as Hyper terminal to connect your device serially.

    This is steps looks pretty unfamiliar for windows 7 but for 8 or 8.1 this things are required .

    GR_KAEDE_USBCDC.zip
  • In reply to RiteshGohil:

    Thank you so much RiteshGohil !

    Now my Board is on working condition.

  • In reply to Krishnaraj V:

    Is there any problem will occur on Formatting GR KAEDE drive?

  • In reply to Krishnaraj V:

    I never tried, also suggest you to do not try,

    you can do is Reset the code using Reset button on your Kaede board, that will erase your code, Formatting drive may loose it's original File System.

  • Thankyou for suggesting, RiteshGohil