⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 debugcfe

📁 一个很好的嵌入式linux平台下的bootloader
💻
字号:
#!/bin/sh## First use sb1250-run to generate a hardware file.#    sb1250-run \        --sim-check-undefined \        --with-boot-flash-file cfe.srec \        --with-boot-flash-type ram \        --no-file \        --with-swarm-devs \        --with-sample-pci-devs \        --with-swarm-ide \        --with-swarm-ide-disk0-file disk0.dsk \        --with-swarm-ide-disk0-size 60 \        --with-memory-config 2x32 \        --with-swarm-rtc-eeprom-file x1240rom.bin \	--dump-config cfe## Now add some stuff to the generated GDB script# We add the "ss" command for single stepping instructions# in the rom, and we get into run mode by running to the boot vector.#cat >>cfe.gdbscript <<EOF       loadbreak *0xbfc00000rundelset \$pc=0xffffffffbfc00000define ssstepix/5i \$pcendEOF## Finally run the resulting script#sb1-elf-gdb --nx --command=cfe.gdbscript cfe

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -