Why only one img generated?

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

cross mob
doch_3739346
Level 4
Level 4

Inside AN65974 example Release folder, there are 4 different img files.

pastedImage_0.png

But if I remove existing img files and run: Project - Build All, only one img generated.

How to generate all example img files?

pastedImage_1.png

0 Likes
1 Solution
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello,

- The AN65974 was built separately for each of the IMG files. At any one instance of a build operation, only one IMG file gets generated.

- The below macro definitions in the cyfxslfifosync.h file determine the behavior of the firmware. The difference between the IMG files that can be generated with these different macros is in the way the DMA channel is created. Kindly, refer to the parameters of the CyU3PDmaChannelCreate() API under different macro definition conditions.

     LOOPBACK_SHRT_ZLP

     STREAM_IN_OUT    

     MANUAL

Best regards,

Srinath S

View solution in original post

0 Likes
1 Reply
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello,

- The AN65974 was built separately for each of the IMG files. At any one instance of a build operation, only one IMG file gets generated.

- The below macro definitions in the cyfxslfifosync.h file determine the behavior of the firmware. The difference between the IMG files that can be generated with these different macros is in the way the DMA channel is created. Kindly, refer to the parameters of the CyU3PDmaChannelCreate() API under different macro definition conditions.

     LOOPBACK_SHRT_ZLP

     STREAM_IN_OUT    

     MANUAL

Best regards,

Srinath S

0 Likes