AN75778 UVC Framework porting to CYUSB3012

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

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

Hi,

The AN75779 runs properly on the Cypress evaluation board, which uses a CYUSB3014 device. We want to port this application to run on a CYUSB3012 which has only the half of internal memory (256K instead of 512K).

The first try was to change the memory setting in the file: "cyfxtx.c" and also to use the appropriate linker file: "fx3_256k.ld". The result was, that the application complains about a memory allocation error.

QUESTIONS:

1) Is the described way to specify the device restriction regarding memory correct? Is anything missing or does there exist another method to specify the used device?

2) Is it possible to modify the application to work also with less memory? And if yes, what must be changed?

3) There are a lot of functions which are not available as source code. Is it possible to publish those source files?

Kind Regards

Cromagnon

 

 

0 Likes
1 Solution
Rashi_Vatsa
Moderator
Moderator
Moderator
5 likes given 500 solutions authored 1000 replies posted

Hello,

Please find my comments below

1) Is the described way to specify the device restriction regarding memory correct? Is anything missing or does there exist another method to specify the used device?

>> Please confirm if you have only enabled CYMEM_256K macro in cyfxtx.c and didn't modify the cyfxtx.c. Also, let me know the firmware size when build 512 KB RAM

2) Is it possible to modify the application to work also with less memory? And if yes, what must be changed?

>> For 256 KB RAM , 128 KB code area is supported. So, the firmware size should be < = 128 KB. 

3) There are a lot of functions which are not available as source code. Is it possible to publish those source files?

>> Please confirm if you have referred to the source in SDK  (Path:   FX3 SDK Installation Path\Cypress\EZ-USB FX3 SDK\1.3\firmware\fx3_sdk_1_3_4_src). If yes, please let me know for which API source are you looking for

Regards,
Rashi

View solution in original post

0 Likes
3 Replies