SourcePoint Intel Help
Table of Contents
- Using Help
- Contacting ASSET InterTech
- Introduction to SourcePoint
- SourcePoint Environment
- SourcePoint Overview
- SourcePoint Parent Window Introduction
- SourcePoint Icon Toolbar
- File Menu
- File Menu - Project Menu Item
- File Menu - Layout Menu Item
- File Menu - Program Menu Item
- File Menu - Macro Menu Item
- File Menu - Print Menu Items
- File Menu - Update Emulator Flash Menu Item
- File Menu - Program Target Device Menu Item
- File Menu - Other Menu Items
- Edit Menu
- View Menu
- Processor Menu
- Options Menu
- Options Menu - Preferences Menu Item
- Options Menu - Target Configuration Menu Item
- Options Menu - Load Target Configuration File Menu Item
- Options Menu - Save Target Configuration File Menu Item
- Options Menu - Emulator Configuration Menu Item
- Options Menu - Emulator Connection Menu Item
- Options Menu - Emulator Reset Menu Item
- Options Menu - Confidence Tests Menu Item
- Window Menu
- Help Menu
- How To -- SourcePoint Environment
- Add Emulator Connections
- Configure Custom Macro Icons
- Configure Autoloading Macros
- Display Text on the Icon Toolbar
- Edit Icon Groups to Customize Your Toolbars
- Modify a Defined Memory Region
- Refresh SourcePoint Windows
- Save a Program
- Start SourcePoint With Command Line Arguments
- Use the New Project Wizard
- Verify Emulator Network Connections
- SourcePoint Overview
- Breakpoints Window
- Breakpoints Window Overview
- How To - Breakpoints
- Code Window
- Command Window
- Command Window Overview
- Confidence Tests Window
- Confidence Tests Window Overview
- Descriptors Tables Window
- Descriptors Tables Window Overview
- How To - Descriptors
- Devices Window
- Devices Window Overview
- How To - Devices Window
- Log Window
- Log Window Overview
- Memory Window
- Memory Window Overview
- How To - Memory Window
- Page Translation Window
- Page Translation Windows Overview
- PCI Devices Window
- PCI Devices Window Overview
- How To - PCI Devices Window
- Registers Window
- Registers Window Overview
- How To - Registers
- Symbols Windows
- Symbols Window Overview
- How To - Symbols Window
- Trace Window
- Trace Window Overview
- How To - Trace Window
- Advanced
- Viewpoint Window
- Viewpoint Window Overview
- Watch Window
- Watch Window Overview
- How To - Watch Window
- Technical Notes
- Descriptor Cache: Revealing Hidden Registers
- UEFI Framework Debugging
- Memory Casting
- Microsoft PE Format Support in SourcePoint
- Multi-Clustering
- Python/CScripts
- OpenIPC Integration, Installation and Usage
- Registers Keyword Table
- SourcePoint Licensing
- Stepping
- Symbols Textsym Format
- Target Configuration
- Using Bookmarks
- Which Processor Is Which
- Getting Started with DbC
- SourcePoint Command Language
- Overview
- Commands and Control Variables
- aadump
- abort
- abs
- acos
- advanced
- asin
- asm
- asmmode
- atan
- atan2
- autoconfigure
- base
- bell (beep)
- bits
- break
- breakall
- cachememory
- cause
- Character Functions
- clock
- continue
- cos
- cpubreak commands
- cpuid_eax
- cpuid_ebx
- cpuid_ecx
- cpuid_edx
- createprocess
- cscfg, local_cscfg
- csr
- ctime
- cwd
- dbgbreak commands
- defaultpath
- #define
- define
- definemacro
- deviceconfigure
- devicelist
- devicescan
- disconnect
- displayflag
- do while
- dos
- dport
- drscan
- edit
- editor
- emubreak, emuremove, emudisable, emuenable
- emulatorstate
- encrypt
- error
- eval
- evalprogramsymbol
- execution point ($)
- exit
- exp
- fc
- fclose
- feof
- fgetc
- fgets
- first_jtag_device
- flist
- flush
- fopen
- for
- forward
- fprintf
- fputc
- fputs
- fread
- fseek
- ftell
- fwrite
- getc
- getchar
- getnearestprogramsymbol
- getprogramsymboladdress
- gets
- globalsourcepath
- go
- halt
- help
- homepath
- idcode
- if
- include
- invd
- irscan
- isdebugsymbol
- isem64t
- isprogramsymbol
- isrunning
- issleeping
- issmm
- itpcompatible
- jtagchain
- jtagconfigure
- jtagdeviceadd
- jtagdeviceclear
- jtagdevices
- jtagscan
- jtagtest
- keys
- last
- last_jtag_device
- left
- libcall
- license
- linear
- list, nolist
- load
- loadbreakpoints
- loadlayout
- loadproject
- loadtarget
- loadwatches
- log, nolog
- log10
- loge
- logmessage
- macropath
- Memory Access
- messagebox
- mid
- msgclose
- msgdata
- msgdelete
- msgdr
- msgdump
- msgir
- msgopen
- msgreturndatasize
- msgscan
- msr
- num_activeprocessors
- num_all_devices
- num_devices
- num_jtag_chains
- num_jtag_devices
- num_processors
- num_uncore_devices
- openipc
- pause
- physical
- port
- pow
- print cycles
- printf
- proc
- processorcontrol
- processorfamily
- processormode
- processors
- processortype
- projectpath
- putchar
- puts
- rand
- readsetting
- reconnect
- Register Access
- reload
- reloadproject
- remove
- reset
- restart
- return
- right
- runcontroltype
- safemode
- save
- savebreakpoints
- savelayout
- savewatches
- selectdirectory
- selectfile
- shell
- show
- sin
- sizeof
- sleep
- softbreak, softremove, softdisable, softenable
- sprintf
- sqrt
- srand
- step
- stop
- strcat
- strchr
- strcmp
- strcpy
- _strdate
- string [ ] (index into string)
- strlen
- _strlwr
- strncat
- strncmp
- strncpy
- strpos
- strstr
- _strtime
- strtod
- strtol
- strtoul
- _strupr
- swbreak
- switch
- swremove
- tabs
- tan
- tapdatashift
- tapstateset
- targpower
- targstatus
- taskattach
- taskbreak, taskremove, taskdisable, taskenable
- taskend
- taskgetpid
- taskstart
- tck
- time
- uncoreconfigure
- uncorescan
- #undef
- unload
- unloadproject
- upload
- use
- verify
- verifydeviceconfiguration
- verifyjtagconfiguration
- version
- viewpoint
- vpalias
- wait
- wbinvd
- while
- windowrefresh
- wport
- writesetting
- yield
- yieldflag
How to Create a Simple Devices Window
The Devices window is a versatile user content-defined window to display memory mapped I/O devices.
Creating a Devices File
The file used for the Devices window is an ASCII text file with particular formatting described in detail in the Devices ย window introduction. This file can be created using your favorite text editor.
-
Open your text editor.
-
The first active lines in your devices file should begin with the keyword [Group]. This will be the primary text displayed in the Devices window. We will use the Altera Excalibur SOPC as our example.
Input:
[Group]
Name=Altera Excalibur EPXA1/4/10 Device Registers
-
The next portion of your device file describes groupings of particular devices. You can have multiple devices groupings using the syntax Device0, Device1, ...
Input:
[Device0]
Name=Reset and Mode Control Regs
-
Type the following to create the Device window shown below:
Note: Each device is composed of cell entries built in a row/column grid fashion. Cells MUST be numbered in sequential fashion. You can create your cell contents with text, memory data, or register values. Review the information found in "Devices Window," under Devices Overview," part of Devices Window for specifics on each type. Flyover tooltips can also be included for each cell. Spaces are not allowed between fields. Comment lines are delineated with a // at the beginning of the line.
ย
//-----------------------------------------------------------
// Column Headers
// format is shown as:
// cell#,row,col,type,string,bkgd color,text color,tooltip
//-----------------------------------------------------------
cell0=0,0,text," ย REGISTER NAMES ย ย ย ",back=gray,text=white ย
cell1=0,1,text," ย VALUE ย ย ",,back=gray,text=white,
//-----------------------------------------------------------
// Register Names ย
// format is shown as:
// cell#,row,col,type,string,text color,tooltip
//-----------------------------------------------------------
cell2 =1,0,text,"BOOT_CR",text=blue,tooltip="boot control" ย
cell3 =2,0,text,"RESET_SR",text=blue,tooltip="reset status"
cell4 =3,0,text,"IDCODE",text=blue,tooltip="identity and ver"
cell5 =4,0,text,"SRAM0_SR",text=blue,tooltip="SP SRAM0 size"
cell6 =5,0,text,"SRAM1_SR",text=blue,tooltip="SP SRAM1 size"
cell7 =6,0,text,"DPSRAM0_SR",text=blue,tooltip="DP SRAM0 size"
cell8 =7,0,text,"DPSRAM0_LCR",text=blue,tooltip="DP SRAM0 lock"
cell9 =8,0,text,"DPSRAM1_SR",text=blue,tooltip="DP SRAM1 size"
cell10=9,0,text,"DPSRAM1_LCR",text=blue,tooltip="DP SRAM1 lock"
//-----------------------------------------------------------
// Memory Mapped locations for registers listed above
// format is shown as:
// cell#,row,col,type,memory location,access,tooltip
//-----------------------------------------------------------
cell11=1,1,mem,0x7fffc000,4,access=rw,tooltip="base+000H BUS 2" ย
cell12=2,1,mem,0x7fffc004,4,access=rw,tooltip="base+004H BUS 2"
cell13=3,1,mem,0x7fffc008,4,access=r,tooltip= "base+008H BUS 2"
cell14=4,1,mem,0x7fffc020,4,access=r,tooltip= "base+020H BUS 2"
cell15=5,1,mem,0x7fffc024,4,access=r,tooltip= "base+024H BUS 2"
cell16=6,1,mem,0x7fffc030,4,access=r,tooltip= "base+030H BUS 2"
cell17=7,1,mem,0x7fffc034,4,access=rw,tooltip="base+034H BUS 2"
cell18=8,1,mem,0x7fffc038,4,access=r,tooltip= "base+038H BUS 2"
cell19=9,1,mem,0x7fffc03C,4,access=rw,tooltip="base+03CH BUS 2"
-
Save the file with the extension ".dev".
Loading the Devices File
-
Select the Devices window icon, or from the View menu select Devices. ย A file dialog displays asking for the file.
-
Select your device.dev file and click on Open.
ย Note: You can add additional views by right clicking in the devices side (left) of the Devices window pane.
Sample device files may be found in the \Samples\Devices directory of your SourcePoint installation.