我正在研究PIC16F688,并使用MPLAB 8.92运行
仿真,当时这两个文件都是使用Project-->Quickbuild构建的。自从将两个.ASM文件移动到一个新的项目中,它们就可以很好地建立起来。当我运行模拟时,我看到模拟看门狗超时,如果我停止模拟器,我会得到“在当前PC 0x0上没有找到源代码行”。运行W0004-CORE:看门狗定时器已经导致重置。没有许可。所以我将描述我的项目设置。当处理器运行在4MHz时,我认为指令频率是1MHz。不确定RC振荡器用于什么。项目特性-->仿真-->振荡器选项-->指令频率:1项目特性-->仿真-->振荡器选项-->频率输入:MhzProject特性-->仿真-->振荡器选项-->RC振荡器频率:250Project Proper
ties-->.-->振荡器选项-->RC振荡器频率In:Khz Project Properties-->Looad:选中“编程时加载符号...”。主要工具栏选项:Tools-->Options-->Miscell.-->Files-->File Extension:asmMy问题搜索使waTCHEFE超时成为可能的候选人,但我不确定到底是什么引起了这个问题。我也无法得到一个反汇编列表,如显示“无法生成反汇编列表文件”。我错过了什么显而易见的东西?谢谢,John C.
以上来自于百度翻译
以下为原文
I'm working on a PIC16F688 and have run simulations using MPLAB 8.92 when the two files were built using the Project-->Quickbuild. Since moving the two .asm files into a new project they build fine. When I run the simulation I see the simulation watchdog timing out and if I stop the simulator I get "No source code lines were found at current PC 0x0".
Running
W0004-CORE: Watchdog Timer has caused a Reset.
MPLABX 3.2
mpasm v5.65
I'd like to post the some screen snip's but for some reason I still don't have permission. So I'll describe the project settings I have. The Instruction Frequency I would think is 1Mhz as the processor runs at 4Mhz. Not sure what the RC Oscillator is for.
Project Properties-->Simulation-->Oscillator Options-->Instruction Frequency: 1
Project Properties-->Simulation-->Oscillator Options-->Frequency In: Mhz
Project Properties-->Simulation-->Oscillator Options-->RC Oscillator Frequency: 250
Project Properties-->Simulation-->Oscillator Options-->RC Oscillator Frequency In: Khz
Project Properties-->Loading: Checked "Load symbols when programming....."
Main toolbar options:
Tools-->Options-->Miscellaneous-->Files-->File Extension: asm
My problem searches make the watchdog timeout to be the likely candidate but I'm not sure what is really causing the issue. I also can't get a disassembly listing as is shows "Unable to generate the disassembly listing file. "
Anything obvious I'm missing?
Thanks,
John C.