📄 notes
字号:
===========================================================================####COPYRIGHTBEGIN####-------------------------------------------The contents of this file are subject to the Cygnus eCos Public LicenseVersion 1.0 (the "License"); you may not use this file except incompliance with the License. You may obtain a copy of the License athttp://sourceware.cygnus.com/ecosSoftware distributed under the License is distributed on an "AS IS"basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See theLicense for the specific language governing rights and limitations underthe License.The Original Code is eCos - Embedded Cygnus Operating System, releasedSeptember 30, 1998.The Initial Developer of the Original Code is Cygnus. Portions createdby Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved.-------------------------------------------####COPYRIGHTEND####===========================================================================15 Jan 1999How to build and install the GDB module on the PID1. Configure a minimal eCos system with all packages except 'infra' disabled.2. Edit <hal/hal.h> to enable GDB: #define CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS #undef CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT #undef CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT3. make;make -C hal/arm/pid/current/misc4. Download the image onto the PID board: arm-elf-gdb -nw hal/arm/pid/current/misc/gdb_module.img You can connect to the board using either existing GDB stubs or Angel. This will download the stubs onto the board at 0x60000..0x640005. Configure a separate eCos system with all packages enabled.6. make misc7. Now download the FLASH programmer tool arm-elf-gdb -nw hal/arm/pid/current/misc/prog_flash8. Run the tool. The GDB stubs will now be programmed into the FLASH.eCos GDB stubs should now be installed and set up as the default monitor when yourun from FLASH.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -