Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Access violation with CyConsole

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Access violation with CyConsole
Moderator:
RSKV

Post Reply
Follow this topic



Access violation with CyConsole

ac posted on 17 Sep 2009 2:33 AM PST
Member
3 Forum Posts
Hello

I loaded a new *.iic File to the 24lc128 eeprom that we are using. In the software I changed some Registers settings and (that's maybe the problem) changed some settings in the descriptor file (descriptors.asm). The EEProm was reprogrammed succesfully but now I have no more connection to the Device.

The exact Error massage what I get in the CyConsole is:
Access violation at address 0041B58D in module 'CyConsole.exe'. Read of address 0000000A.

I have the Cypress USB Console Version 1.5.1.1.The Device Manager shows the proper driver.

What could this be? Is there a chance to erase or reload the eeprom?

Best regards,
Andreas


Re: Access violation with CyConsole

aasi posted on 17 Sep 2009 03:38 AM PST
Cypress Employee
1090 Forum Posts
What VID/PID is device manager showing for that device???
The latest version of cyconsole can be found in suiteusb 3.4... you might want to download that... Which field did u click to get this access violation... i.e. steps to replicate your issue...

Re: Access violation with CyConsole

ac posted on 17 Sep 2009 05:39 AM PST
Member
3 Forum Posts
I found this in the device manager:
USB\VID_0852&PID_0081\6&BB9CF62&0&5 ... seems to be OK.

I'm using the latest Version 1.7.0.2 now.

Here step by step what I am doing:
1. I pluged in our device (device manager loaded the proper driver)
2. started the CyConsole --> got the Error message: Access violation at address 00418059 in module 'CyConsole.exe'. Read of address 0000000A.
3. Open EZ-USB Interface (I can not see our device in the devicelist. It's empty...)
4. clicked LgEEPROM button --> got the Error message: Access violation at address 0040FFA8 in module 'CyConsole.exe'. Read of address 00000978.
5. clicked Bulk Trans button --> got the Error message: Access violation at address 0040E55E in module 'CyConsole.exe'. Read of address 00000978.
6. click GetDevie button --> got the Error message: Access violation at address 0040D8C1 in module 'CyConsole.exe'. Read of address 00000978.

Any idea? why does the firmware totaly block the cyConsole?

Thanks,
Andreas



Re: Access violation with CyConsole

aasi posted on 17 Sep 2009 06:26 AM PST
Cypress Employee
1090 Forum Posts
Here is what might be happening... the device is enumerated and so the host knows the device config and stuff... when the driver enumerates the device it will do the same set of descriptor requests again... if the device doesn't respond properly at this stage then the driver will communicate that device is there to cyconsole but won't be able to give the capabilities to the device properly.... this will cause the cyconsole to access places which it doesn't have proper access to....
Here is what you can do... if you have a CATC tracer... hook it up and observe the enumeration sequence... if possible upload your iic file here... i'll see if i'm able to figure out the exact cause...

Re: Access violation with CyConsole

ac posted on 17 Sep 2009 07:35 AM PST
Member
3 Forum Posts
Yes something like this might happen. Unfortunatly we don't have a CATC tracer.

It's impossible to upload anything. I get this message: "The maximum attachment directory size has been reached, no further attachments can be uploaded." I will try it again later...

It would be nice if u could figure out something. But is there no possibility to erase the eeprom? Or something like an emergency-tool or so...?






Re: Access violation with CyConsole

aasi posted on 22 Sep 2009 05:15 AM PST
Cypress Employee
1090 Forum Posts
In the DVK there is a switch using which you can disable the EEPROM... after booting up you can enable it and then overwrite it with a working iic file... are you using the DVK or a custom board????




ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20