AnsweredAssumed Answered

ldr r0, =DefaultISR problem when used J-Link debug tool

Question asked by jikang hu on Jan 7, 2018
Latest reply on Jan 9, 2018 by Alice_Yang

When I used S32DS to start my design,  first i established a s32ds application project, the debugger tool which i chioced was segger J-Linker GDB server, after the project completed, it was build seccesfully, when i debuggered this project, it jumped to DefaultISR: ldr r0, =DefaultISR, the code showed below:


#include "derivative.h" /* include peripheral declarations SSKEAZ64M4 */
#include "gpio.h"

int main(void)
            CONFIG_PIN_AS_GPIO (GPIOB, PTG0, 1); // TLE7240_RST1_P48 Low active
            OUTPUT_SET(GPIOB, PTG0);

            #define COUNTER_LIMIT 100000

             int counter = 0;

            for(;;) {

                        if(counter > COUNTER_LIMIT) {
                         counter = 0;
                         OUTPUT_TOGGLE(GPIOB, PTG0);
            return 0;

but when i choiced PE Micro GDB server, the same project had no such problem, what's the reason? thanks for replay.