Re: 請教12F629使用內部4M震盪時,的問題
|
||||
---|---|---|---|---|
資深會員
|
PS:
發表於: 2009/8/8 0:13
|
|||
|
Re: 請教12F629使用內部4M震盪時,的問題
|
||||
---|---|---|---|---|
中級會員
|
了解了 感謝各位的指導
發表於: 2009/8/7 22:22
|
|||
|
Re: 請教12F629使用內部4M震盪時,的問題
|
||||
---|---|---|---|---|
資深會員
|
參照:
解說的好 , 受教了.........
發表於: 2009/8/7 5:11
|
|||
|
Re: 請教12F629使用內部4M震盪時,的問題
|
||||
---|---|---|---|---|
資深會員
|
當你的 pic 的校正值不見之後,
你每次 call 0x3ff這個位置是不會return ,而會回到 0x00 也就是你做 校正的動作,結果對個程式一直在 3ff 0x000 這裏跑來跑去 重點: 看組合語言言最準
發表於: 2009/8/7 4:39
|
|||
|
Re: 請教12F629使用內部4M震盪時,的問題
|
||||
---|---|---|---|---|
資深會員
|
我只會寫 組語
發表於: 2009/8/6 0:27
|
|||
|
Re: 請教12F629使用內部4M震盪時,的問題
|
||||
---|---|---|---|---|
資深會員
|
有無調整 OSCCAL 與內部振盪有無起振並無關連, 與外部 RESET 也無關係
發表於: 2009/7/31 1:30
Edited by Beee on 2009年07月31日 01:56:58
|
|||
|
Re: 請教12F629使用內部4M震盪時,的問題
|
||||
---|---|---|---|---|
資深會員
|
由你的 1 2
可以得到 振盪器的校正值已經不見了
發表於: 2009/7/31 0:20
|
|||
|
請教12F629使用內部4M震盪時,的問題
|
||||
---|---|---|---|---|
中級會員
|
我配置如下(1)
1.使用12F629內部4M震盪(GP4=I/O) 2.MCLRE設為1(外部RESET) 3.程式在MAIN(使用PICC)下有加入OSCCAL = _READ_OSCCAL_DATA(); 結果:程式沒動作,可能是CLOCK沒振起 我配置如下(2) 1.使用12F629內部4M震盪(GP4=I/O) 2.MCLRE設為1(外部RESET) 3.程式在MAIN(使用PICC)下沒加入OSCCAL = _READ_OSCCAL_DATA(); 結果:程式正常執行 我配置如下(3) 1.使用12F629內部4M震盪(GP4=I/O) 2.MCLRE設為0(CPU內部RESET) 3.程式在MAIN(使用PICC)下有加入OSCCAL = _READ_OSCCAL_DATA(); 結果:程式正常執行 請問:1.是否使用外部RESET時,程式就不能加上 OSCCAL = _READ_OSCCAL_DATA(); ?
發表於: 2009/7/30 23:53
|
|||
|