Announcements

Equip yourself to optimize AURIX™ MCUs for Evs at the EV Webinar. Click here to register.

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

AURIX™ Forum Discussions

zhouyi_NJ
Level 2
Level 2
10 replies posted 25 sign-ins First solution authored

Hi, Infineon expert:

The environment is TC367 ADSV1.8   TC367-5V-TFT EVB. 

DFlash writing test code and  STM ISR are added ,   LED is toggled cyclically with STM ISR.

The strange behavior is :

1) if enable DFalsh writing ,  the SW can run correctly after start debugger and keep debugger activated. The DFlash is also written correctly.

2) if un-plug the USB cable, then plug on,  the SW can't run ( LED doesn't toggle)

3) if remove the DFlash writing code, the LED can toggle with debugger activated or without debugger 

Could you please give me some hint what is the conflict?

The whole project is attached 

thanks and BR

ZhouYi

0 Likes
2 Replies
dw
Moderator
Moderator
Moderator
100 likes received 750 replies posted 10 likes given

Hi ZY, I suggest to start from this example code: https://github.com/Infineon/AURIX_code_examples/blob/master/code_examples/Flash_Programming_1_KIT_TC...

And then migrated to your project.

dw

0 Likes
zhouyi_NJ
Level 2
Level 2
10 replies posted 25 sign-ins First solution authored

Hi, dw:

thank you very much. 

But, my DFlash erasing/writing code is copied from that GitHub example. 

thanks and BR

Zhou Yi

0 Likes