Loading and Running RTEMS on Lattice Mico32
- Details
- Category: RTEMS lm32 Port
- Last Updated on Wednesday, 16 March 2011 10:36
- Hits: 5732
The following instructions assume you have Lattice ispLEVER tools and Lattice Mico32 tools installed on a Windows PC and you have your target connected to the PC using the Lattice JTAG cable.
- Configure your target board FPGA using ispVM.
- Start two instances of LatticeMico32 System SDK Shell
- In first instance of LatticeMico32 System SDK Shell enter command TCP2JTAGVC2
- In second instance change directory to b-rtems/lm32-rtems4.10/c/lm32_evr/testsuites/samples/hello and run lm32-elf-gdb and run commands:
file hello.exe
target remote localhost:1000
load
c
Now there should be output on the console:
*** HELLO WORLD TEST ***
Hello World
*** END OF HELLO WORLD TEST ***