This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

XC16x , simulator, vector table starting in 0c0h segment

How is it possible to start the XC16x debugger (for example simulator) at the vector table address in 0C00000h?

It seems that debugger is not able to take care of vector table base address, it always start like in c167 at 0h!

remark: code is correctly placed.

Parents
  • To setup the startup behaviour of the simulator do following:
    In uVision do right mouse click on target and select under options for target
    DEBUG - check simulator and press the settings button.

    There it is important to set ALE high by checking it and in SMOD line choose
    standart start
    the other settings you have select as you need it.

    Otherwise you can wrote an *.ini file like
    that

    EA=1
    reset
    g, main

    this is the initialization file you should specify.In this case please uncheck the Go til main option.

    First way is the better one.

    Do not forget to tell Linker/Locator
    the vectortable for later times.

    Stefan

Reply
  • To setup the startup behaviour of the simulator do following:
    In uVision do right mouse click on target and select under options for target
    DEBUG - check simulator and press the settings button.

    There it is important to set ALE high by checking it and in SMOD line choose
    standart start
    the other settings you have select as you need it.

    Otherwise you can wrote an *.ini file like
    that

    EA=1
    reset
    g, main

    this is the initialization file you should specify.In this case please uncheck the Go til main option.

    First way is the better one.

    Do not forget to tell Linker/Locator
    the vectortable for later times.

    Stefan

Children