Here's the so-far GNU toolchain for the RX62N cpu, and in specific the RPBRX62N board. It is so far untested and probably nonfunctional for the rpbrx62n, but it probably works for some of the other rx62n dev boards.
Download
Program versions:
- binutils-2.22.52.20120423 (cvs snapshot to provide -mpid for newlib)
- gmp-4.3.2
- mpfr-3.1.0
- mpc-0.9
- newlib-1.20.0
- gcc-4.7.0
- gdb-4.7
- rx-stick flash util
Details:
- PREFIX=/usr/local/rx-elf
- CFLAGS="-O2"
- target=rx-elf
- languages: c,c++
As such, it's not very optimized for the board right now. I'll be rebuilding in a bit once I've figured out what options are good for this specific board. In particular, newlib can support hardware floating point, and -fomit-frame-pointer would probably save us some memory/registers.
I also suspect that some of the basic pin mappings and other chip- and board-specific configs may be wrong, or not provided for the rpb. If that is the case, I'll be fixing that as soon as possible.
Flashing:
Currently, I'm figuring out how to flash the board. The executables rxs and rxusb should attempt to flash via serial or usb, but they are intended for a different rx62n dev board. Neither detects the rpb when connected via either usb port.
Flash util source (and toolchain build tutorial)
Not completed:
- Flashing the board
- Segger debugger circuit (is this even going to be possible?)