Hot!A debug header is required to debug this device

Author
Andy_Taiwanese
Super Member
  • Total Posts : 508
  • Reward points : 0
  • Joined: 2014/12/19 02:59:38
  • Location: 0
  • Status: offline
2018/03/13 02:41:11 (permalink)
0

A debug header is required to debug this device

Hi, there.
 
I'm using the 12F675 to the project.
The message pops up when I click "debug main project", beyond that, it also displays:
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:347: warning: (1396) "_INTCONbits" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:239: warning: (1396) "_GPIObits" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:927: warning: (1396) "_OSCCAL" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:795: warning: (1396) "_TRISIO" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:216: warning: (1396) "_GPIO" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1422: warning: (1396) "_ANSELbits" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:987: warning: (1396) "_WPU" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:745: warning: (1396) "_OPTION_REGbits" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:70: warning: (1396) "_TMR0" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1691: warning: (1396) "_WR" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1304: warning: (1396) "_EEADR" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1324: warning: (1396) "_EECON1" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1617: warning: (1396) "_RD" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1266: warning: (1396) "_EEDATA" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1511: warning: (1396) "_CARRY" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1539: warning: (1396) "_GIE" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1693: warning: (1396) "_WREN" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1362: warning: (1396) "_EECON2" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\sources\common\lwtoft.c:31: warning: (1396) "NULL" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:347: warning: (1396) "_INTCONbits" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:239: warning: (1396) "_GPIObits" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:927: warning: (1396) "_OSCCAL" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:795: warning: (1396) "_TRISIO" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:216: warning: (1396) "_GPIO" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1422: warning: (1396) "_ANSELbits" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:987: warning: (1396) "_WPU" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:745: warning: (1396) "_OPTION_REGbits" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:70: warning: (1396) "_TMR0" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1691: warning: (1396) "_WR" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1304: warning: (1396) "_EEADR" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1324: warning: (1396) "_EECON1" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1617: warning: (1396) "_RD" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1266: warning: (1396) "_EEDATA" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1511: warning: (1396) "_CARRY" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1539: warning: (1396) "_GIE" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1693: warning: (1396) "_WREN" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\include\pic12f675.h:1362: warning: (1396) "_EECON2" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler
C:\Program Files (x86)\Microchip\xc8\v1.45\sources\common\lwtoft.c:31: warning: (1396) "NULL" positioned in the common memory region (0x0 - 0xFFFFFFFF) reserved by the compiler

 
The device is confirmed within project properties, xc.h is also included in the project,
The project is compiled successfully.
 
What should I do next? thx!
#1

6 Replies Related Threads

    qɥb
    Monolothic Member
    • Total Posts : 2648
    • Reward points : 0
    • Joined: 2017/09/09 05:07:30
    • Location: Jupiter
    • Status: offline
    Re: A debug header is required to debug this device 2018/03/13 03:56:47 (permalink)
    0
    There's something stramge with your project.
    We can only guess without seeing it.
    Can you zip up the whole project?
     

    This forum is mis-configured so it only works correctly if you access it via https protocol.
    The Microchip website links to it using http protocol. Will they ever catch on?
    PicForum "it just works"
    #2
    vloki
    Jo, alla!
    • Total Posts : 6729
    • Reward points : 0
    • Joined: 2007/10/15 00:51:49
    • Location: Germany
    • Status: offline
    Re: A debug header is required to debug this device 2018/03/13 12:13:20 (permalink)
    0
    Andy_Taiwanese
    What should I do next? thx!

    Get a debug header?
    post edited by vloki - 2018/03/13 12:14:35

    Uffbasse !
    #3
    Andy_Taiwanese
    Super Member
    • Total Posts : 508
    • Reward points : 0
    • Joined: 2014/12/19 02:59:38
    • Location: 0
    • Status: offline
    Re: A debug header is required to debug this device 2018/03/13 19:05:20 (permalink)
    0
    To qub:
    OK, here is my project.
    Plz change the extension name to .7z if it can't be opened
     
    To vloki:
    Thank you, I found that the header number of 12F675 is AC162050, but I don't see the download website in google, where can I find it?
    #4
    qɥb
    Monolothic Member
    • Total Posts : 2648
    • Reward points : 0
    • Joined: 2017/09/09 05:07:30
    • Location: Jupiter
    • Status: offline
    Re: A debug header is required to debug this device 2018/03/13 19:50:51 (permalink)
    0
    ok, I get the same errors with that device, if I do NOT select the debug header in the project properties.
    Do you actually have an AC162050 debug header?
    You cannot debug a PIC12F675 device without it.
    That is one drawback of using such a low pin count (and old) device.
     

    This forum is mis-configured so it only works correctly if you access it via https protocol.
    The Microchip website links to it using http protocol. Will they ever catch on?
    PicForum "it just works"
    #5
    Andy_Taiwanese
    Super Member
    • Total Posts : 508
    • Reward points : 0
    • Joined: 2014/12/19 02:59:38
    • Location: 0
    • Status: offline
    Re: A debug header is required to debug this device 2018/03/13 19:55:23 (permalink)
    0
    To qub:
    How do I check I have AC162050?
    #6
    qɥb
    Monolothic Member
    • Total Posts : 2648
    • Reward points : 0
    • Joined: 2017/09/09 05:07:30
    • Location: Jupiter
    • Status: offline
    Re: A debug header is required to debug this device 2018/03/13 19:57:51 (permalink)
    +1 (1)
    It you don't know, then you don't.
    It is a separate circuit board with a special PIC on it, like this:
    http://www.microchipdirec...ct/search/all/AC162050
     
    also see: http://ww1.microchip.com/...n/DeviceDoc/51292R.pdf
     
    post edited by qɥb - 2018/03/13 19:59:46

    This forum is mis-configured so it only works correctly if you access it via https protocol.
    The Microchip website links to it using http protocol. Will they ever catch on?
    PicForum "it just works"
    #7
    Jump to:
    © 2018 APG vNext Commercial Version 4.5