Hello all,
I have received my GR-SAKURA and I have loaded the LED demo via the web compiler just fine. The problem I am having is that the offline IDE is not finding my board when I hit reset and put it into flash drive mode. I have tried version 0.7.0 and version 0.8.0 and both have the same issue.
Does anyone know if the GR-SAKURA is fully supported yet?
Thanks,
James
Hi Tobash,
Is this the IDE that you are using and having issues with?
gadget.renesas.com/.../ide4gr.html
As stated on the renesas website, the Sakura is fully supported. When you say that it is not finding your board, does it return any error or warning at all?
Best,
MarkBau
RenesasRulzModerator
Solved my problem.
It is a problem in version 0.8.0 and version 0.7.0 of the ide4gr and yes I grabbed it from the hyperlink you supplied.
In the file ide4gr\hardware\tools\rx\CheckVolume.bat line 7 has "tokens=5". Changing this to be "tokens=6" fixes the script and is now runs fine.
The problem was the script was setting the VOLNAME="is".
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>CheckVolume.bat I GR-SAKURA
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>rem ÄwÆΦé╡é╜â{âèâàü[âÇé¬ÄwÆΦé╡é╜û╝æOé╞êΩÆvé╖éΘé⌐â`âFâbâNé╖éΘâoâbâ`âtâ@âCâï
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>rem I èmöFé╖éΘâ{âèâàü[âÇû╝üiâAâïâtâ@âxâbâgüj
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>rem GR-SAKURA îƒì⌡é╖éΘâ{âèâàü[âÇû╝üiGR-?üj
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>set VOLNAME=0
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>for /F "tokens=5" %v in ('vol I:') do set VOLNAME=%v
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>set VOLNAME=is
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>set VOLNAME=0000-0000
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>if "0000-0000" == "GR-SAKURA" (exit /b 0 )
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>exit /b 1
the output of command "vol i:":
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>vol I:
Volume in drive I is GR-SAKURA
Volume Serial Number is 0000-0000
so you can see that it was off by one token, therefore I set the value to be 6 and the out put of the script is:
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>for /F "tokens=6" %v in ('vol I:') do set VOLNAME=%v
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>set VOLNAME=GR-SAKURA
D:\Sakura\ide4gr-E0.8.0\hardware\tools\rx>if "GR-SAKURA" == "GR-SAKURA" (exit /b 0 )
Hope this helps people in the future......
Hello James, I did like you said. Changed the .bat file and replace "tokens=5" to "tokens=6" but i have the same trouble. Everytime i want to upload the file into the Sakura, IDE shows me a message "GR-SAKURA not found"
Can you tell me more in detail what you did and from where you got that script that tells how it's working. This is what i have from IDE's log
C:\Users\Lourdes\Downloads\ide4gr-1.10-windows\ide4gr-1.10/hardware/tools/gcc-rx/rx-elf/rx-elf/rx-elf/lib/64-bit-double\libc.a(lib_a-closer.o): In function `_close_r':(.text._close_r+0x10): warning: _close is not implemented and will always failC:\Users\Lourdes\Downloads\ide4gr-1.10-windows\ide4gr-1.10/hardware/tools/gcc-rx/rx-elf/rx-elf/rx-elf/lib/64-bit-double\libc.a(lib_a-fstatr.o): In function `_fstat_r':(.text._fstat_r+0x12): warning: _fstat is not implemented and will always failC:\Users\Lourdes\Downloads\ide4gr-1.10-windows\ide4gr-1.10/hardware/tools/gcc-rx/rx-elf/rx-elf/rx-elf/lib/64-bit-double\libc.a(lib_a-signalr.o): In function `_getpid_r':(.text._getpid_r+0x1): warning: _getpid is not implemented and will always failC:\Users\Lourdes\Downloads\ide4gr-1.10-windows\ide4gr-1.10/hardware/tools/gcc-rx/rx-elf/rx-elf/rx-elf/lib/64-bit-double\libc.a(lib_a-isattyr.o): In function `_isatty_r':(.text._isatty_r+0x10): warning: _isatty is not implemented and will always failC:\Users\Lourdes\Downloads\ide4gr-1.10-windows\ide4gr-1.10/hardware/tools/gcc-rx/rx-elf/rx-elf/rx-elf/lib/64-bit-double\libc.a(lib_a-signalr.o): In function `_kill_r':(.text._kill_r+0x12): warning: _kill is not implemented and will always failC:\Users\Lourdes\Downloads\ide4gr-1.10-windows\ide4gr-1.10/hardware/tools/gcc-rx/rx-elf/rx-elf/rx-elf/lib/64-bit-double\libc.a(lib_a-lseekr.o): In function `_lseek_r':(.text._lseek_r+0x14): warning: _lseek is not implemented and will always failC:\Users\Lourdes\Downloads\ide4gr-1.10-windows\ide4gr-1.10/hardware/tools/gcc-rx/rx-elf/rx-elf/rx-elf/lib/64-bit-double\libc.a(lib_a-readr.o): In function `_read_r':(.text._read_r+0x14): warning: _read is not implemented and will always failC:\Users\Lourdes\Downloads\ide4gr-1.10-windows\ide4gr-1.10/hardware/tools/gcc-rx/rx-elf/rx-elf/rx-elf/lib/64-bit-double\libc.a(lib_a-writer.o): In function `_write_r':(.text._write_r+0x14): warning: _write is not implemented and will always failBinary sketch size: 32,868 bytes (of a 458,752 byte maximum) - 7% usedMinimum Memory usage: 7,613 bytes (of a 98,304 byte maximum) - 7% used..........................GR-SAKURA is not found.
I have a Windows 10 OS and mi IDE is version 1.10
Thanks
Michael
Hi Mike,
Let me say one thing. When you set check for "compilation" to show verbose output,
You can open the folder where .bin file output by copying the pass shown in the console as below.
When you couldn't solve, please try the above though it's a bit troublesome.