• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
  • slider image 488
  • slider image 491
:::

論壇索引


Board index » All Posts (michaelzjd)




Re: .hex檔的燒錄
#1
新會員
新會員


烧写程序如何加密?

發表於: 2008/6/10 9:35
頂部


Re: 如何同時輸出五組不同頻率的PWM訊號 ?
#2
新會員
新會員


可以自己在外面加分频器啊,如果成本控制不是很严格的话

發表於: 2008/6/6 16:35
頂部


Re: 看門狗復位之後如何處理?
#3
新會員
新會員


RAM是否丢失不确定,因为有的SFR也会被清除的。
我做过这个实验:
把wdt打开,但是不clrwdt,让它溢出;同事把ram清除的程序去掉,但是运行的结果还是不理想。
如果发生WDT overtime时,我希望保存的RAM数据也是错误的,那即使保存也没有意义了啊,你认为呢?

發表於: 2008/6/6 16:34
頂部


Re: 看门狗复位之后如何处理?
#4
新會員
新會員


每次reset前,儲值進eeprom...?
我们不知道看门狗什么时候复位,那么在什么时候调用写eeprom的程式呢?

發表於: 2008/6/6 16:30
頂部


Re: .hex檔的燒錄
#5
新會員
新會員


2. Programmer選取燒錄器?
ICD2不可以直接烧写HEX嘛?

發表於: 2008/6/6 16:28
頂部


after watchdog reset, what should i do?
#6
新會員
新會員


Product: PIC16F883<br />I use it to design a timer relay to realize a longtime delay, such as 5 hours. 2 hours later, the MCU resets because of the watchdog, for example, it may be caused by EMI. It will run at 0000h again. Although the MCU runs correctly again, because of the reset, the Related RAMs and SFRs have been changed. The delay time will be calculated from zero again. The total delay time will be 7 hours, not 5 hours if the MCU will not reset again. So, this watchdog reset has no sense for this timer relay product. Do you have any methods to store the correct information before reset? And after reset, the delay time will be calculated from 2 hours not zero. Then we will get not 7 hours but 5 hours delay totally. Do we have any chance to realize this function?<br />

發表於: 2008/6/5 15:03
頂部


看门狗复位之后如何处理?
#7
新會員
新會員


Product: PIC16F883
用它做一个长时间定时的时间继电器,比如定时5个小时,当2个小时已经过去了,此时,由于看门狗复位,比如EMI导致的,程序重新从0000h开始运行,那么运行的数据全部丢失了,时间继电器又重新开始计时了。这样的看门狗复位对于时间继电器这种产品没有意义了。有什么方法能够保存复位前的正确信息,可以让看门狗复位之后,得到正确的5小时定时,而不是7小时?有没有可能实现?

發表於: 2008/6/5 14:41
頂部


看门狗复位之后的处理
#8
新會員
新會員


Product: PIC16F883

Problem Description:
if overtime reset is caused by watchdog. it is hot-start. do i need to store the RAMs and PCs? after reset, POP them or repleces current RAMs and PCs with the value i have stored?
my boss let me do this,but i think, except i have not clear watchdog correctly, since overtime reset happens, it indicates that something is wrong,caused by such as EMI.
The current RAMs and PCs is absolutely wrong. Restore them may cause "Death cycle" or not? i think it is not a good idea. thank you.

發表於: 2008/6/5 14:35
頂部


Re: 100ms中断中做两层循环实现较长定时
#9
新會員
新會員


good idea
thank you very much

發表於: 2008/5/10 11:14
頂部


bank的切换
#10
新會員
新會員


BANKSEL OPTION_REG;bank1
BSF OPTION_REG,7
CLRF TRISB
BANKSEL PORTB;bank0
CLRF PORTB

"BANKSEL PORTB"

这句不加,一样可以将PORTB清零,有点困惑

我用的是16F883的芯片。
bank的切换是针对SFR还是GPR,还是全部RAM


發表於: 2008/5/10 9:32
頂部



(1) 2 »



:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------