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

📄 trouble

📁 MIPS处理器的bootloader,龙芯就是用的修改过的PMON2
💻
字号:
	PMON - Troubleshooting	TroubleshootingThis page contains some hints and tips about solving problems thatyou might encounter when using PMON. Note that many of thesesolutions apply as much to IMON as they do PMON.I can't get my Interrupts to workThe first thing to check is whether your peripheral's interrupts arereaching the CPU. You can do this very simply from the PMON command line.This example is for the 2681 DUART that LSI uses on most of its evalboards. The values shown here are for the BDMR4101 eval board.PMON fill . .+100 0	-- fill memory with nops.PMON m be000017 ff	-- enable the 2681's interrupt mask.PMON m be000017	-- check the 2681's Interrupt status register.be000017 09 .		-- looks good. TXA, TXB, and Timer ints are asserted.PMON t			-- single step. This causes PMON to reread 			-- the CAUSE register.PMON r cause		-- read the CAUSE value.C0_CAUSE: BD CE   IP   SW EXCODE          0  0 000001 00   Bp	-- Good. Int0 is asserted.2-port Download Hangs	This is usually caused by a download record that contains a	reference to an unimplemented address.  Check the .map file for	strange addresses. You can also use rdfrec -n (or rdsrec -n) to check the addresses	that appear in the download record file.	If you are suspicious about your cables, try using PMON's	tr command to check out the connection. For	example,	PMON tr	% edown < file.rec	-- one line of data should appear in the PMON console window	press cntrl-F in the console window	-- another line of data should appear in the PMON console window	press cntrl-K in the console window to return to the PMON promptSingle-port Download Hangs	This is usually caused by either,				  

⌨️ 快捷键说明

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