cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

doch_3739346
Contributor

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

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

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