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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

662 Views
jikanghu
Contributor I

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(;;) {
                        counter++;

                        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.

Labels (1)
0 Kudos
1 Reply

363 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello ,

Please share your whole project ,I will test it on my side .

If it is a private one , you can also submit a service request to attach it :

https://community.nxp.com/docs/DOC-329745   

BR

Alice

0 Kudos