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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

905件の閲覧回数
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.

ラベル(1)
0 件の賞賛
返信
1 返信

606件の閲覧回数
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 件の賞賛
返信