- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get the following error. I would like to know the solution.
CY4532
Flashing device is UFP, initiating DR_SWAP
DR Swap Successful
PD contract established.
Error: GET_SILICON_ID VDM failed
Retrying, ignore the above error message
Error: GET_SILICON_ID VDM failed
Retrying, ignore the above error message
Flash update mode (4b4, 1) entered
Error: Failed to update FW/Config Table of Type-C device
Error: DLL call returned error while flashing
Best Regards,
Solved! Go to Solution.
- Labels:
-
USB EZ-PD Type-C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
>> No, usb micro B cable cannot be used as this implies programming the ccg3pa controller over cc interface. The only workaround now is to program using miniprog kit. (https://www.cypress.com/documentation/development-kitsboards/cy8ckit-002-psoc-miniprog3-program-and-... ). This method of programming is called swd programming.
For SWD programming of CCG3PA the steps are as follows-
1) Remove any external supply to the kit.
2) Remove jumpers on J6 and J7 of the power board.
3) On jumper J6 of main board, short pins 2-3 (VDDD-VTARG).
4) Connect a MiniProg3 Programmer/Debugger (CY8CKIT-002) to the SWD header J1 on the main board and connect the MiniProg3 USB interface to a PC.
>> Regarding 3, yes I meant capturing cc logs using the CY4500 analyzer.
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't even read it.
Device Discovery completed.
PD contract established.
Error: GET_SILICON_ID VDM failed
Retrying, ignore the above error message
Error: GET_SILICON_ID VDM failed
Retrying, ignore the above error message
Flash update mode (4b4, 1) entered
Restarting the target device
Re-negotiating PD contract after switching target reset
Flashing device is UFP, initiating DR_SWAP
Error: DR_SWAP operation failed
Error: DLL call returned error while fetching info
Flashing device is UFP, initiating DR_SWAP
DR Swap Successful
PD contract established.
Error: GET_SILICON_ID VDM failed
Retrying, ignore the above error message
Error: GET_SILICON_ID VDM failed
Retrying, ignore the above error message
Flash update mode (4b4, 1) entered
Device is in boot mode: Starting FLASH update operation
Successfully read Config table
Restarting the target device
Re-negotiating PD contract after switching target reset
Flashing device is UFP, initiating DR_SWAP
Error: DR_SWAP operation failed
Error: Failed to read CCGx configuration.
Error: DLL call returned error while reading the configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please provide the following details,
>> Which firmware are you upgrading? Is it customized or is it the default firmware?
>> Are you using the CY4532 board?
Best Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
Yes, I use a firmware I created. I use CY4532.
I can write the PDO changes, but not the "Cable discovery enable".
The error that occurs when writing the "Cable discovery enable" change is as follows.
Device Discovery completed.
PD contract established.
Error: GET_SILICON_ID VDM failed
Retrying, ignore the above error message
Error: GET_SILICON_ID VDM failed
Retrying, ignore the above error message
Flash update mode (4b4, 1) entered
Restarting the target device
Re-negotiating PD contract after switching target reset
Flashing device is UFP, initiating DR_SWAP
DR Swap Successful
Error: GET_SILICON_ID VDM failed
Retrying, ignore the above error message
Flash update mode (4b4, 1) entered
PD contract established.
Device is in boot mode: Starting FLASH update operation
Programming data from file: C:\Users\1004531\Desktop\新しいフォルダー\CY4532 EZ-PD CCG3PA EVK\1.0\Firmware\20V 5A.cyacd
Firmware/Configuration write to flash completed
Firmware image (FW:1) is valid
Restarting the target device
Re-negotiating PD contract after switching target reset
Flashing device is UFP, initiating DR_SWAP
Error: DR_SWAP operation failed
Error: Flash update procedure failed
Error: DLL call returned error while flashing
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
>> Please try out changing the 'cable discovery enable' on the default firmware provided with Power SDK and let us know if the issue persists.
>> Kindly share the project or cyacd file of the customized firmware.
What other modifications have you made in the firmware?
Best Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Also, when writing, the display looks like this (Photo 1)
After many refreshes, the display looks like this (Photo 2), and the firmware with only PDO changes can be written.
Is this problem related to something else?
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Kindly zip the cyacd file and then try attaching it. It should work.
I need to check the file at my end.
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Under 'Device Identity' in AMA VDO, there is a parameter Vconn required.
Select that to Yes and then try flashing. Let us know if it works.
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the advice.
But, I couldn't download it.
The error message is as follows.
1 USB-Serial Bridge devices found.
Flashing device is UFP, initiating DR_SWAP
DR Swap Successful
PD contract established.
Error: GET_SILICON_ID VDM failed
Retrying, ignore the above error message
PD contract established.
Error: GET_SILICON_ID VDM failed
Retrying, ignore the above error message
Error: GET_SILICON_ID VDM failed
Retrying, ignore the above error message
Flash update mode (4b4, 1) entered
Restarting the target device
Re-negotiating PD contract after switching target reset
Flashing device is UFP, initiating DR_SWAP
DR Swap Successful
Error: GET_SILICON_ID VDM failed
Retrying, ignore the above error message
Flash update mode (4b4, 1) entered
PD contract established.
Device is in boot mode: Starting FLASH update operation
Programming data from file: C:\Users\1004531\Desktop\新しいフォルダー\CY4532 EZ-PD CCG3PA EVK\1.0\Firmware\20V 5A.cyacd
Firmware/Configuration write to flash completed
Firmware image (FW:1) is valid
Restarting the target device
Re-negotiating PD contract after switching target reset
Flashing device is UFP, initiating DR_SWAP
Error: DR_SWAP operation failed
Error: Flash update procedure failed
Error: DLL call returned error while flashing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Do you have a miniprog? If yes, please flash the default firmware over SWD interface. After this, the device's configuration can be changed using the EZ PD Configuration Utility.
Also, please let me know the exact steps you followed initially to configure the firmware? Did you start with the default firmware binary provided with Power SDK and after making the respective change, i.e. 'cable discovery enable to yes' tried to configure the device? Or did you started with and modified any other firmware? Was there any other custom firmware loaded on the kit?
Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I don't have miniprog.
Is the firmware version old?
Did it work with the program I gave you earlier?
The order in which the firmware is written is as follows
1. Download the default data
2. Change only the PDO of the default data
3. cable discovery enable to yes'.
I was able to download up to order 2, but only 3 is not possible.
Best Reards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I tried the following steps to successfully change the config:
1) Flash the default hex provided with the power sdk binary using miniprog.
Then I tried changing the configuration, i.e. Cable discovery enable to Yes and it got programmed successfully.
I would recommend you the same as flashing the hex allows the valid bootloader to be programmed as well. So the best way will be to swd program once and then program the config.
>> Also, can you please provide the cc logs while you are programming the config in the current scenario?
Best Regards,
Mallika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry, I have three questions.
1. I don't have miniprog. Can't I use USB microB to write?
2. What is the swb program? How do I put it in?
3. Do you mean to check the CC logs with the analyzer? If that is correct, I will measure it separately and contact you.
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
>> No, usb micro B cable cannot be used as this implies programming the ccg3pa controller over cc interface. The only workaround now is to program using miniprog kit. (https://www.cypress.com/documentation/development-kitsboards/cy8ckit-002-psoc-miniprog3-program-and-... ). This method of programming is called swd programming.
For SWD programming of CCG3PA the steps are as follows-
1) Remove any external supply to the kit.
2) Remove jumpers on J6 and J7 of the power board.
3) On jumper J6 of main board, short pins 2-3 (VDDD-VTARG).
4) Connect a MiniProg3 Programmer/Debugger (CY8CKIT-002) to the SWD header J1 on the main board and connect the MiniProg3 USB interface to a PC.
>> Regarding 3, yes I meant capturing cc logs using the CY4500 analyzer.
Regards,
Mallika