background image

S I G N U M   S Y S T E M S  

8 3 0

 

                       - RAM for the flash programmer, 16k@0x0. 
  -no-flash-write      - Restrict flash write to context defined by commands 
                         monitor flash before-load and  
                         monitor flash after-load. 

Examples 

C O N N E C T   T O   T H E   I M X 3 1   P R O C E S S O R   ( V E R B O S E   V E R S I O N )  

sigGdbServer -emu iMX31.par -init iMX31.ini  

C O N N E C T   T O   T H E   I M X 3 1   P R O C E S S O R    

sigGdbServer -cpu iMX31 -init  
This is a short version of the previous command line. The processor is 

specified using the –cpu iMX31 option. The emulation parameter file 

iMX31.par will be used if present. The –init option without a file name will 

use the iMX31.ini file if present. 

C O N N E C T   T O   T H E   I M X 3 1   P R O C E S S O R ,   L O A D   P E R I P H E R A L   R E G I S T E R S  

sigGdbServer -cpu iMX31 -init –reg iMX31 
Additional peripheral register definitions will be loaded from the 

targets\iMX31.def file. 

C O N N E C T   T O   T H E   I M X 3 1   P R O C E S S O R   W I T H   A   N O R   F L A S H   A T   0 X A 0 0 0 _ 0 0 0 0  

sigGdbServer -cpu iMX31 –init \ 
-flash cfi@0xA000_0000 –ram 16k@0x1FFF_C000 

C O N N E C T   T O   T H E   L U M I N A R Y   M I C R O   L M 3 S X X X   P R O C E S S O R   W I T H   A N   I N T E R N A L  
F L A S H  

sigGdbServer -emu LM3S.par \ 
-flash LM3S -ram 2k@0x20000000 

C O N N E C T   T O   A T M E L   A T 9 1 S A M 3   P R O C E S S O R   W I T H   A N   I N T E R N A L   F L A S H  

sigGdbServer -cpu ARM7TDMI -flash SAM7S 

C O N N E C T   T O   S T   M I C R O E L E C T R O N I C S   S T M 3 2   P R O C E S S O R   W I T H   A   5 1 2 K B   I N T E R N A L  
F L A S H  

sigGdbServer -cpu STM32 –init \ 
-flash STM32@0x08000000,size=512 -ram 32k@0x20000000 

C O N N E C T   T O   T H E   T O S H I B A   T M P M 3 X X   P R O C E S S O R   W I T H   A N   I N T E R N A L   F L A S H  

sigGdbServer -cpu CORTEX-M3 \ 
-flash TMPM3,TMPM330FDFG -ram 32k@0x20000000 

C O N N E C T   T O   T H E   N X P   L P C 1 7 X X   P R O C E S S O R   W I T H   A N   I N T E R N A L   F L A S H  

sigGdbServer -cpu Cortex-M3 -flash LPC 

C O N N E C T   T O   T H E   N X P   L P C 2 X X X   P R O C E S S O R   W I T H   A N   I N T E R N A L   F L A S H   R U N N I N G  
A T   1 2 M H Z  

sigGdbServer -cpu ARM7TDMI-S -flash LPC,f12000 

 
 
 

Содержание GDB Server

Страница 1: ...SIGNUM SY STEMS CORPORATION GDB Server for ARM XScale and Cortex User Manual Server series...

Страница 2: ...tion of such revision or changes WARRANTY Signum Systems warrants to the original purchaser that this product is free of defects in material and workmanship and performs to applicable published Signum...

Страница 3: ...the Server 3 Usage 3 Emulation Parameter File 5 Macro Initialization Files 5 Board and CPU Customization 6 Loading to Flash 6 Configuring the Debugger 7 GNU GDB Debugger 7 Code Sourcery G IDE 8 Using...

Страница 4: ...er emulator tandem requires a license If your emulator does not have it an external license file must be obtained from Signum Systems Once received the Jxxxxx Gdb lic file needs to be placed in the di...

Страница 5: ...finition files boards par ini CPU and target specific parameter and board initialization files targets def Peripheral register definition files Drivers USB JTAGjet USB driver TABLE 1 The contents of t...

Страница 6: ...will make the license available to all your Signum applications To make the license available exclusively to the Signum GDB server put the license file in the directory where you installed SigGdbServ...

Страница 7: ...T H A N O R F L A S H A T 0 X A 0 0 0 _ 0 0 0 0 sigGdbServer cpu iMX31 init flash cfi 0xA000_0000 ram 16k 0x1FFF_C000 C O N N E C T T O T H E L U M I N A R Y M I C R O L M 3 S X X X P R O C E S S O R...

Страница 8: ...SB S16 SW S32 SD addr value OR value with memory at addr S8 SB S16 SW S32 SD addr value AND value with memory at addr S8 SB S16 SW S32 SD addr value XOR value with memory at addr D8 DB D16 DW D32 DD...

Страница 9: ...figure the GDB server for several microcontrollers with internal flash memory are shown on page 4 The current version of the server supports the following flash types external CFI compatible NOR flash...

Страница 10: ...ecting to the server on the local machine gdb target remote localhost 2000 The server will report a successful connection If GDB can read an XML target description from a target the server will load t...

Страница 11: ...t simultaneously The server may also be started directly from the GDB debugger using a pipe So started SigGdbServer receives commands from the debugger on its standard input and sends answers on its s...

Страница 12: ...g External Embedded Server and connection parameters 3 JTAGjet GDB Server ver 1 06 and earlier require the verbose resume mode to be disabled Add the following command to your gdbinit file set remote...

Страница 13: ...e described in section Loading to Flash page 6 The set verify memory command controls memory verification by the server after writing As write operations involving 4 or less bytes may be attempts to a...

Страница 14: ...nual for the format description If the file name extension or the file path matches its default value it can be omitted The default extension of the register definition file is def and the default fil...

Страница 15: ...command gdb set var CP15 CONTROL 0x51078 Alternatively coprocessor registers may be accessed using one of the monitor commands See Table 2 on page 5 for a list of available commands For instance gdb...

Страница 16: ...ead size 0x240 lma 0x90008000 Loading section init size 0x1edc0 lma 0x90008240 Loading section text size 0x34f5b8 lma 0x90027000 Loading section text init size 0xd4 lma 0x903765b8 Loading section __ks...

Страница 17: ...Set a hardware breakpoint at start_kernel gdb hbreak start_kernel Hardware assisted breakpoint 6 at 0xc00087b0 file init main c line 547 gdb c Continuing Breakpoint 6 start_kernel at init main c 547 5...

Отзывы: