I wanted to use the r_flash_rx API to reprogram internal flash of my RX631 controller.Unfortunatley the support of the fit-modules for this controller ended with driver package 1.19 and there only the RX Compiler was supported.Newer versions of the r_flash_rx API seem to support GCC but not for my controller.
Has anybody ported the lib to this controller? I want to try to add a target header for my controller(did not start yet). Would this be possible and just nobody did it yet or are there some blocking elemets i don't know of yet?Regards
Hello dear user. Thank you for posting on the Renesas community. There's another Library for older RX devices you can't use "Flash Module Using Firmware Integration Technology" instead you need to use "Simple Flash API for RX".
This supports the RX631 for the CC-RX compiler. Check out this link for sample codes and its user manual.
I hope you find it useful.
Kind regards,
Hossein.
If this or any other user's response answers your concern, kindly verify the answer. Thank you!
Renesas Engineering Community Moderatorhttps://community.renesas.com/https://academy.renesas.com/en-support.renesas.com/.../
thanks, i will check it out.
but i need support for GCC and not the old RX compiler :(
Unfortunately, you're using the oldest RxV1 core on RX631, so the related compilers are also older than newer products.
btw, you can manually add your .c files and startup files to GCC and set up your desired compiler, if IDE doesn't support that. but it can be a burden to your project. according to this link, it should be possible to compile C for RXv1 core by GCC. But I prefer to stick with CC-RX.
r_flash_rx_v3.51.tar.gz
Give this "patch" a try with GCC for RX, no promises but it has at least most of the necessary mods to support GCC from r_flash_rx_v3.50 FIT package.
thanks a lot. will give this a try. i modified my flash_rx last week so i could comile everything but unfortunatley i always got a flash error. even when i wanted to write to the data flash(if you want to write to flash you need to copy your functions to RAM which i did not do yet so i was not not surprised it did not work) but write to dataflash should not be affected by this but even that i did not get to work