J-link debug setup

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AnMa_2111856
Level 1
Level 1
10 sign-ins 5 replies posted 5 sign-ins

Hi,

We have problems setting up debugging. 

We use WICED 6.4.0.61, and our debug target is STM32F427II on custom HW platform.  We use WLAN CYW43362 chip next to STM.

We can program target with both Olimex ARM-USB-TINY-H and Segger J-link Ultra+ via Segger driver. RTOS is ThreadX. 

Now we need to be able to debug the application. We are to single step until rtos is startet, then we stop at 

Program received signal SIGTRAP, Trace/breakpoint trap.
0x08046356 in mbedtls_pem_read_buffer (ctx=0x0, header=<optimized out>, footer=<optimized out>, data=<optimized out>, pwd=0xc1 "\004", pwdlen=1414025796, use_len=0x0) at WICED/security/BESL/mbedtls_open/library/pem.c:330
330 return( MBEDTLS_ERR_PEM_ALLOC_FAILED );

Note, when not debugging, the application continue running.

Yours sincerely,

Anton 

0 Likes
12 Replies