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


Browsing this Thread:   1 Anonymous Users






Re: 請問DEBUG時Failed to get PC~???
#9
新會員
新會員


查看用戶資訊
ICE跟MCU中間要跑的資料量很多又很快,你的版子上的線路沒設計好的話,可能會被雜訊影響導致資料錯誤,不然你可以試試step跑看會不會出現同樣狀況

發表於: 2009/9/25 16:43
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問DEBUG時Failed to get PC~???
#8
資深會員
資深會員


查看用戶資訊
參照:

small20310 寫道:
我用的是REAL ICE 接ICSP 再連接MCU 有相關需要注意的嗎??
RE你連接線有問題或是太長導致干擾~~所以電路上任何線都需注意長度嗎?還是單純只是ICE跟MCU間的線距??


引線長度包括PCB上面的路徑喔。尤其是自己Layout的板子特別要注意。

發表於: 2009/9/25 1:33
不要問我哪裡來,我只是個流浪天涯的工程師
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問DEBUG時Failed to get PC~???
#7
中級會員
中級會員


查看用戶資訊
這個也有時會出現有時又好好的.....

RIErr0040: The target device is not ready for debugging.
Please check your configuration bit settings and program
the device before proceeding.

發表於: 2009/9/24 14:38
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問DEBUG時Failed to get PC~???
#6
中級會員
中級會員


查看用戶資訊
參照:

wdszd 寫道:
你…會不會選錯裝置

應該不可能吧!?

還是…mcu沒通電??


PIC18F452蠻確定的阿

沒通電不能 RUN ...所以我確定有供電

發表於: 2009/9/24 14:15
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問DEBUG時Failed to get PC~???
#5
中級會員
中級會員


查看用戶資訊
你…會不會選錯裝置

應該不可能吧!?

還是…mcu沒通電??

發表於: 2009/9/24 13:27
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問DEBUG時Failed to get PC~???
#4
中級會員
中級會員


查看用戶資訊
我用的是REAL ICE 接ICSP 再連接MCU 有相關需要注意的嗎??
RE你連接線有問題或是太長導致干擾~~所以電路上任何線都需注意長度嗎?還是單純只是ICE跟MCU間的線距??

發表於: 2009/9/24 10:21
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問DEBUG時Failed to get PC~???
#3
新會員
新會員


查看用戶資訊
你連接線有問題或是太長導致干擾

發表於: 2009/9/24 9:23
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問DEBUG時Failed to get PC~???
#2
版主
版主


查看用戶資訊
沒遇過。Real ICE 發生此種狀況奇說明如下:
The MPLAB REAL ICE in-circuit emulator and the target device are out-of-synch with each other.

Select Reset and then try the action again.
Ensure that the cable(s) used are of the correct length.

發表於: 2009/9/24 9:16
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


請問DEBUG時Failed to get PC~???
#1
中級會員
中級會員


查看用戶資訊
每次DEBUG時有時可以跑有時卻會出現
RIErr0031: Failed to get PC
這是什麼問題呢?
我能想到的就是BRA時要跳偶數
還有什麼要注意呢?為啥會Failed to get PC

發表於: 2009/9/23 20:37
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

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... ]

教育訓練中心

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