CyU3PUsbJumpBackToBooter returns CY_U3P_ERROR_OPERN_DISABLED

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

cross mob
LiMa_282146
Level 4
Level 4
First like given

Hi,

   

When I run the USBBulkSourceSink example and try to get the FX3 to switch back to the 2 stage booter by calling the function CyU3PUsbJumpBackToBooter the function returns with  CY_U3P_ERROR_OPERN_DISABLED and according to the FX3APIguide this means that the FX3 2 stage booter doesn't support switching back. Before calling this function the CyU3PUsbSetBootSwitch(CyTrue) is called.

   

Could anyone help me to get this to work.

   

Thanks

   

Sodafarl

0 Likes
2 Replies
Anonymous
Not applicable

Hi Sodafarl,

You have to build your .img so that what gets control first is a subprogram based on the boot_fw. See here:

   

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

I realize that that thread isn't quite your scenario but I think the overall concept of a boot_fw subprogram and a "real" program is what you need. 

Steve

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


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

0 Likes
LiMa_282146
Level 4
Level 4
First like given

Hi Steve,

   

Thanks for you answer and link. I 'll try this out and report back if I get anywhere. When Cypress included the CyU3PUsbJumpBackToBooter function in the USBBulkSourceSink example I thought it would be as simple as just calling this function. Other people seem to be able to get it to work :

   

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

   

It would help if Cypress could come back on this one.

   

Thanks,

   

Liam

0 Likes