Back to home page

LXR

 
 

    


Warning, /bsps/lm32/lm32_evr/README.md is written in an unsupported language. File is not indexed.

0001 Lattice Mico32
0002 ==============
0003 
0004 The Lattice Mico32 port uses the system_config.h generated by the Mico
0005 System Builder to retrieve the properties of the peripherals.
0006 
0007 Implemented (in shared/ subdirectory)
0008 Polled console driver (uart)
0009 Clock interrupt with 10 ms tick
0010 Networking using Lattice tri-speed ethernet MAC
0011 
0012 TODO
0013 ----
0014 
0015 Support more peripherals:
0016   * uart driver using interrupts
0017 
0018 jukka.pietarinen@mrf.fi, 3.12.2008
0019    
0020 
0021 ```
0022 BSP NAME:           lm32_evr
0023 BOARD:              cRIO-EVR, Micro-Research Finland Oy
0024 BUS:                wishbone
0025 CPU FAMILY:         lm32 (Lattice Mico32)
0026 CPU:                small
0027 COPROCESSORS:       none
0028 MODE:               32 bit mode
0029 
0030 DEBUG MONITOR:      none
0031 ```
0032 
0033 PERIPHERALS
0034 -----------
0035 ```
0036 TIMERS:             clock
0037   RESOLUTION:       10 ms
0038 SERIAL PORTS:       uart
0039 REAL-TIME CLOCK:    none
0040 DMA:                none
0041 VIDEO:              none
0042 SCSI:               none
0043 NETWORKING:         tsmac
0044 ```
0045 To on the simulator included in lm32-gdb use these commands:
0046 
0047 ```shell
0048 tar sim --hw-device lm32cpu \
0049   --hw-device "lm32uart/reg 0x80006000 0x100" \
0050   --hw-device "/lm32uart > int int0 /lm32cpu" \
0051   --hw-device "lm32timer/reg 0x80002000 0x80" \
0052   --hw-device "/lm32timer > int int1 /lm32cpu" \
0053   --memory-region 0x08000000,0x4000000
0054 load
0055 ```
0056 
0057 The simulator is VERY VERY slow when RTEMS is idle.
0058 To speed this up, add SIMULATOR_FAST_IDLE=1 to the
0059 configure command.