GR716-BOARD-QSG
April 2019, Version 1.0
2 www.cobham.com/gaisler
Table of Contents
1. Introduction ............................................................................................................................. 4
1.1. Overview ...................................................................................................................... 4
1.2. References .................................................................................................................... 4
2. Overview ................................................................................................................................. 5
3. Board Configuration .................................................................................................................. 8
3.1. Overview ...................................................................................................................... 8
3.2. Default configuration ...................................................................................................... 8
3.3. Power ........................................................................................................................... 8
3.3.1. Alternative power ................................................................................................ 9
3.4. Bootstrap ...................................................................................................................... 9
3.5. Reset .......................................................................................................................... 10
3.5.1. External Reset and break switch ........................................................................... 11
3.6. Clock .......................................................................................................................... 11
3.7. Pin multiplexing ........................................................................................................... 11
3.8. Pin properties ............................................................................................................... 11
3.9. Debug communication link ............................................................................................. 12
4. Software Development Environment ........................................................................................... 13
4.1. Overview .................................................................................................................... 13
5. GRMON hardware debugger ..................................................................................................... 14
5.1. Overview .................................................................................................................... 14
5.2. Debug links ................................................................................................................. 14
5.2.1. Connecting via the FTDI USB/UART interface ....................................................... 14
5.3. First steps .................................................................................................................... 14
5.4. Connecting to the board ................................................................................................. 14
5.5. GR716 License options .................................................................................................. 24
5.6. GR716 specific considerations ........................................................................................ 25
6. TSIM LEON simulator ............................................................................................................ 26
6.1. Overview .................................................................................................................... 26
6.2. Startup ........................................................................................................................ 26
7. Toolchains ............................................................................................................................. 29
7.1. Bare C Cross-Compiler System ....................................................................................... 29
7.1.1. Overview .......................................................................................................... 29
7.1.2. Compiling with BCC .......................................................................................... 29
7.1.3. Running and debugging with GRMON .................................................................. 29
7.1.4. Running and debugging with TSIM ....................................................................... 30
8. Software examples .................................................................................................................. 32
8.1. Overview .................................................................................................................... 32
8.1.1. BCC device driver library .................................................................................... 32
8.1.2. Custom GR716 interface examples ........................................................................ 32
8.2. Environment ................................................................................................................ 32
8.3. IO switch matrix configuration ........................................................................................ 32
8.3.1. Configuring with GRMON .................................................................................. 32
8.3.2. Configuring with the CPU ................................................................................... 33
8.4. BCC device drivers ....................................................................................................... 34
8.4.1. GPIO ............................................................................................................... 34
8.4.2. Clock gating unit ............................................................................................... 34
8.4.3. Memory protection unit ....................................................................................... 35
8.4.4. Memory scrubber ............................................................................................... 36
8.4.5. AHB status register ............................................................................................ 37
8.4.6. APBUART ........................................................................................................ 38
8.4.7. SPI master controller .......................................................................................... 39
8.4.8. I2C master controller .......................................................................................... 39
8.4.9. SpaceWire ........................................................................................................ 40
8.4.10. CAN .............................................................................................................. 41
8.5. GR716 interfaces .......................................................................................................... 43