Document number
204911
Version
Rev. K
Issue date
2016-10-11
Sirius Breadboard User Manual
www.aacmicrotec.com
Page
3
of
106
TABLE OF CONTENT
1. INTRODUCTION ............................................................................................................... 7
1.1. Applicable releases ........................................................................................................................................ 7
1.2. Intended users ................................................................................................................................................ 7
1.3. Getting support ............................................................................................................................................... 7
1.4. Reference documents .................................................................................................................................... 7
2. EQUIPMENT INFORMATION ........................................................................................... 8
2.1. System Overview with peripherals ............................................................................................................... 9
3. SETUP AND OPERATION ...............................................................................................10
3.1. User prerequisites ........................................................................................................................................ 10
3.2. Connecting cables to the Sirius Breadboard ............................................................................................. 11
3.3. Installation of toolchain ............................................................................................................................... 12
3.3.1. Supported Operating Systems ................................................................................................................. 12
3.3.2. Installation Steps ...................................................................................................................................... 12
3.4. Installing the Board Support Package (BSP) ............................................................................................. 13
3.5. Deploying a Sirius application .................................................................................................................... 13
3.5.1. Establish a debugger connection to the Breadboard................................................................................ 13
3.5.2. Setup a serial terminal to the device debug UART................................................................................... 14
3.5.3. Loading the application ............................................................................................................................ 14
3.6. Programming an application (boot image) to system flash ...................................................................... 15
4. SOFTWARE DEVELOPMENT .........................................................................................16
4.1. RTEMS step-by-step compilation ................................................................................................................ 16
4.2. Software disclaimer of warranty ................................................................................................................. 16
5. RTEMS .............................................................................................................................17
5.1. Introduction ................................................................................................................................................... 17
5.2. Watchdog ...................................................................................................................................................... 18
5.2.1. Description ............................................................................................................................................... 18
5.2.2. RTEMS API .............................................................................................................................................. 18
5.2.3. Usage ....................................................................................................................................................... 19
5.3. Error Manager ............................................................................................................................................... 21
5.3.1. Description ............................................................................................................................................... 21
5.3.2. RTEMS API .............................................................................................................................................. 21
5.3.3. Usage ....................................................................................................................................................... 24
5.3.4. Limitations ................................................................................................................................................ 26
5.4. SCET .............................................................................................................................................................. 27
5.4.1. Description ............................................................................................................................................... 27
5.4.2. RTEMS API .............................................................................................................................................. 27
5.4.3. Usage ....................................................................................................................................................... 29
5.5. UART .............................................................................................................................................................. 33
5.5.1. Description ............................................................................................................................................... 33
5.5.2. RTEMS API .............................................................................................................................................. 33
5.5.3. Usage description .................................................................................................................................... 36
5.5.4. Limitations ................................................................................................................................................ 37
5.6. UART32 .......................................................................................................................................................... 37
5.6.1. Description ............................................................................................................................................... 37
5.6.2. RTEMS API .............................................................................................................................................. 37