Compiling problems with AN75779 example

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

cross mob
Anonymous
Not applicable

Hi,

   

I'm starting to discover the FX3 programation and I have encountered some problems.

   

I want to program a frame grabber that will get the input of my omnivision camera and send it via usb 3.0.

   

I use the AN75779 to guide me through this, even if I know this is an outdated document (SDK 1.1). 

   

I use the 1.2 firmware called cyfxuvcinmem. 

   

 

   

When loading this project, I had quite a number of errors. 

   

- uint8_t and such not recognized

   

-NULL not recognized

   

- Bad input for some #include

   

I think that I fixed those.

   

 

   

Yet I still have some problems

   

- A lot of constants are not known 

   

in cyu3uart.c:

   

CyU3PMutexCreate (&glUartLock, CYU3P_NO_INHERIT);

   

in cyfxuvcinmem.c:

   

 

   

status = CyU3PDmaChannelGetBuffer (&glChHandleUVCStream,                &dmaBuffer, CYU3P_WAIT_FOREVER);

   

 

   

CYU3P_NO_TIME_SLICE,         /* No time slice for the application thread */

   

CYU3P_AUTO_START             /* Start the Thread immediately */

   

 

   

 

   

in cyfxtx.c:

   

CyU3PDmaBufMgr_t glBufferManager = {{0}, 0, 0, 0, 0, 0};

   

status = CyU3PByteAlloc (&glMemBytePool, (void **)&ret_p, size, CYU3P_NO_WAIT);

   

 

   

Have I forgotten an include or something? Thanks for the help

   

Vincent

0 Likes
6 Replies
Anonymous
Not applicable

Hi Vincent,

   

Could you please attach the "Problems" and "Console" tab of Eclipse project.

   

Thanks,

   

Sai Krishna.

0 Likes
Anonymous
Not applicable

 The program doesn't seem to fin the makefile, so the console log won't show much I think

   

 

   

   

------------------------------------------------------------------------------------------------------------------------------

   

**** Build of configuration Default for project firmware ****

   

 

   

make all 

   

 

   

Cannot run program "make": Launching failed

   

Error: Program "make" is not found in PATH

   

 

   

PATH=

   

 

   

**** Build Finished ****

   
    ------------------------------------------------------------------------------------------------------------------------------   
   
        
   
        
   
    You'll find attached screenshots of the errors I've got.    
   
    Thanks for your help,   
   
        
   
    Vincent   
   
        
0 Likes
Anonymous
Not applicable

 Not sure if pictures have been attached, second try

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable
0 Likes
Anonymous
Not applicable

Hi Vincent,

   

 

   

Did you follow the steps mentioned in the following thread:

   

http://www.cypress.com/?app=forum&id=167&rID=69878

   

 

   

I can build the project attached to AN75779, using SDK 1.2.1 by following the above steps.

   

Please let me know if that does not help.

   

 

   

Thanks,

   

Sai Krishna.

0 Likes
Anonymous
Not applicable

Hi Sai

     I'm confused with the same question . And I can't open the link http://www.cypress.com/?app=forum&id=167&rID=69878  

0 Likes