
PIC单片机
jinxueHou专栏
当你还不能写出自己满意的程序时,你就不要去睡觉.
展开
-
用MPLAB IDE编程时,软件总是弹出一个窗口提示: “the extended cpu mode configuration bit is enabled,but the program that
用MPLAB IDE编程时,软件总是弹出一个窗口提示:“the extended cpu mode configuration bit is enabled,but the program that was loaded was not built using extended cpu instructions.therefore,your code may not work proper原创 2017-04-14 13:22:16 · 1543 阅读 · 0 评论 -
PIC单片机PIC18F26K80中断优先级图
上图中,高优先级为红色线的上半部分,低优先级为红色的下半部分。其中一个中断源在上半部分和下半部分都有的,表示它既可以设为高优先级,也可以设为低优先级。如TMR0(定时器0)在上半部分和下半部分都有;而INT0(外部中断0)只在上半部分有,在下半部分没有,表示它只能设置为高优先级,不能设置为低优先级。原创 2017-04-16 23:59:22 · 3197 阅读 · 0 评论 -
Error - section 'InterruptVectorLow' can not fit the absolute section. Section 'InterruptVectorLow'
在写PIC单片机中断或中断嵌套时,如果没有注意,写好以后编译会报错,报错信息如下:Error - section 'InterruptVectorLow' can not fit the absolute section. Section 'InterruptVectorLow' start=0x00000018, length=0x00000006以下是问题的解决原创 2017-04-26 15:23:21 · 1105 阅读 · 0 评论 -
PIC单片机软件平台----MPLAB IDE和MPLAB X IDE
这里主要是针对PIC18单片机开发平台,当然对于16位或32位单片机的开发平台是一样的,只是编译器不一样。PIC18单片机有两个开发平台,一个是MPLAB IDE,对应的编译器为MPLAB C Compiler for PIC18 MCUs.exe;一个是MPLAB X IDE,对应的编译器为xc8-v2.00-full-install-windows-installer.exe。下载链接如下...原创 2019-01-01 17:06:24 · 11289 阅读 · 0 评论