Skip to main content
Visitor II
October 27, 2004
Question

break points are not accepted

  • October 27, 2004
  • 5 replies
  • 909 views
Posted on October 27, 2004 at 05:59

break points are not accepted

    This topic has been closed for replies.

    5 replies

    raunaqueAuthor
    Visitor II
    October 27, 2004
    Posted on October 27, 2004 at 04:08

    Hi all

    i am working on ST7 device. I am using indart kit. i am trying to put breakpoints in some lones of the code but while i am debugging it i am getting error '' one or more breakpoints are not positioned in valid files( no debug information or not a project file ). These breakpoints are then removed''

    and the breakpoints are removed . can anybody tell what mistake i am doing

    thanks in advance

    Ronnie
    Visitor II
    October 27, 2004
    Posted on October 27, 2004 at 04:36

    I had also that problem, but it's solved.

    See Indart forum site:

    http://www.softecmicro.com/forum/forumdisplay.php?s=8a31d48df485973a088a70dfa5435c55&forumid=3

    Thread: Breakpoints

    (Problem was the *.map file)
    raunaqueAuthor
    Visitor II
    October 27, 2004
    Posted on October 27, 2004 at 05:14

    hi

    the address u gave me says to apply break points before debugging and i am doing the same thing but then also i get the same message . So can u give some more solution to these issue

    thanks

    ronnie

    Visitor II
    October 27, 2004
    Posted on October 27, 2004 at 05:42

    Can you show you'r build file?

    raunaqueAuthor
    Visitor II
    October 27, 2004
    Posted on October 27, 2004 at 05:59

    i have one more problem friend

    i am burning the firmware on the device but the device decriptor of the device is shown zero and all the descriptor is also 0x0 .i am able to see the descriptor by using the software . can u tell me what is the problem

    i am also attaching the make file

    thanks

    PRODUCT = 7265

    SIZE = 32K

    ENV = default.env

    CC = $(COMP) $(FLAGS)

    CONF = mcu_conf.h map_$(PRODUCT).h

    USBH = usb_reg.h usb_def.h usb_lib.h usb_eps.h user_usb.h

    #************************** OBJECT FILES DEFINES ******************************

    USB_LIST = usb_lib.o usb_int.o usb_ep1.o usb_ep2.o usb_eps.o

    OBJ_LIST = main.o application.o map_$(PRODUCT).o descriptor.o user_usb.o jtag_state.o RDI.o

    #******************************************************************************

    USB_FS_$(PRODUCT)_$(SIZE).abs : $(ENV) $(OBJ_LIST) usb.lib USB_FS_$(PRODUCT)_$(SIZE).prm

    $(LINK) USB_FS_$(PRODUCT)_$(SIZE).prm

    #*** BURNING ***

    $(BURN) -f Burner_$(PRODUCT)_$(SIZE).cmd

    #******************************************************************************

    main.o: $(ENV) main.c usb_lib.h $(CONF)

    $(CC) main.c

    RDI.o: $(ENV) RDI.c RDI.h

    $(CC) RDI.c

    jtag_state.o: $(ENV) jtag_state.c

    $(CC) jtag_state.c

    application.o: $(ENV) application.c $(CONF) $(USBH)

    $(CC) application.c

    map_$(PRODUCT).o : $(ENV) map_$(PRODUCT).c

    $(CC) map_$(PRODUCT).c

    user_usb.o : $(ENV) user_usb.c $(USBH) $(CONF) descriptor.h

    $(CC) user_usb.c

    descriptor.o : $(ENV) descriptor.c descriptor.h usb_lib.h

    $(CC) descriptor.c

    #***** USB files **************************************************************

    usb.lib: $(ENV) $(USB_LIST) usb_lib_$(PRODUCT).ln

    $(LIBM) usb_lib_$(PRODUCT).ln

    usb_lib.o : $(ENV) usb_lib.c $(CONF) $(USBH)

    $(CC) usb_lib.c

    int_usb.o : $(ENV) int_usb.c $(CONF) $(USBH)

    $(CC) int_usb.c

    usb_int.o: $(ENV) usb_int.c mcu_conf.h usb_libs.h $(USBH)

    $(CC) usb_int.c

    usb_ep1.o : $(ENV) $(CONF) $(USBH) usb_ep1.c

    $(CC) usb_ep1.c

    usb_ep2.o : $(ENV) $(CONF) $(USBH) usb_ep2.c

    $(CC) usb_ep2.c

    usb_eps.o: usb_eps.h usb_eps.c

    $(CC) usb_eps.c

    # EOF