CYT2B75CAD,after running a wrong Startup, CM4 can't debug any more.

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

cross mob
jita_4759146
Level 1
Level 1

After these code below run, the MCU can't be debugged any more.

It maybe wrong i think.

But, how can i establish connection again to the MCU.

        CPSID   I

        LDR  r0, =__vector_table

        LDR  r1, =VTOR

        STR  r0, [r1]

        DSB

        MOVS r0, #0 ; clear value

        MOVS r1, #0 ; clear value

        LDR  r2, Cy_u32StartupStackStartAddress

        LDR  r7, =WDT_Clear

        BLX  r7

startup_stack_ecc_init_loop:

        STRD r0, r1, [r2], #8

        CMP  r2, sp

        BNE  startup_stack_ecc_init_loop

...

Using IAR to develop.

This is debug log.

pastedImage_6.png

pastedImage_4.png

0 Likes
1 Solution
Roy_Liu
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 10 questions asked

Hi,

CYT2B9 is not supported in the public space (CDC: Cypress Developer Community), please contact you local Cypress(An Infineon Company now) Sales representatives for help.

Roy Liu

View solution in original post

0 Likes
2 Replies
Roy_Liu
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 10 questions asked

Hi,

CYT2B9 is not supported in the public space (CDC: Cypress Developer Community), please contact you local Cypress(An Infineon Company now) Sales representatives for help.

Roy Liu
0 Likes

OK!Thank you for replying.

0 Likes