wiki:TBR/BSP/Jmr3904

Version 3 (modified by JoelSherrill, on 01/07/09 at 21:36:00) (diff)

switch to infobox

Jmr3904

{{Infobox BSP | BSP = jmr3904 | Manufacturer = Toshiba | Architecture = MIPS | CPU Model = TX3904 }}

The jmr3904 BSP is a Toshiba evalutation board for the TX3904. The TX3904 is an R3000 class system on chip with some timers and UARTS.

The most important thing about this BSP is that gdb has a simulator for it. The simulator is reasonably fast and accurate with the capability to simulate a clock interrupt source. It is one of the most frequently tested BSPs in RTEMS.

NOTE: GDB must be configured for mipstx39-* for this simulator to function correctly. This is why the mipstx39-rtems* RPMs are provided. The BSP can be built with mips-rtems* tools but can only be executed by the more specifically targetted gdb.

Using The BSP

The following is a session using the RTEMS 4.6 toolset to run hello.

$ mipstx39-rtems-run --board=jmr3904 hello.exe 
   *  HELLO WORLD TEST ***
Hello World
   *  END OF HELLO WORLD TEST ***

The following is a session using the RTEMS 4.6 toolset to run ticker.

$ mipstx39-rtems-run --board=jmr3904 ticker.exe 


   *  CLOCK TICK TEST ***
TA1  - rtems_clock_get - 09:00:00   12/31/1988
TA2  - rtems_clock_get - 09:00:00   12/31/1988
TA3  - rtems_clock_get - 09:00:00   12/31/1988
TA1  - rtems_clock_get - 09:00:05   12/31/1988
TA2  - rtems_clock_get - 09:00:10   12/31/1988
TA1  - rtems_clock_get - 09:00:10   12/31/1988
TA3  - rtems_clock_get - 09:00:15   12/31/1988
TA1  - rtems_clock_get - 09:00:15   12/31/1988
TA2  - rtems_clock_get - 09:00:20   12/31/1988
TA1  - rtems_clock_get - 09:00:20   12/31/1988
TA1  - rtems_clock_get - 09:00:25   12/31/1988
TA3  - rtems_clock_get - 09:00:30   12/31/1988
TA1  - rtems_clock_get - 09:00:30   12/31/1988
TA2  - rtems_clock_get - 09:00:30   12/31/1988
   *  END OF CLOCK TICK TEST ***

Test Reports

4.6.4: User:JoelSherrill? reports that it runs fine on gdb 5.3.

4.6.99.2: User::JoelSherrill? reports that it runs fine on gdb 6.3.