Several years ago we developed a custom tool for configuring the B01 version of the CP2114 device. We recently populated a B02 device into a board and tried to use the same software and encountered errors. Is there known issues with using B02 devices with older versions of the SDK/DLLs?
Which kind of errors have you encountered?
It should be no difference in "software level" of B01 and B02 devices.
I am getting multiple failures, but as a start we can look at this call:
bootstat = CP2114_SetBootConfig(m_hidUart, boot);
which is returning a bootstat == 38; which I'm not even sure what that means since this isn't a defined status value in any documentation I have seen.
The return values listed in AN433 include only those errors that are set within the interface library; AN433 does not list the errors that are generated by the CP2114 device and simply passed through the library to the app code.
Is the return value in decimal? I am going to assume it is for now. Table 5.4 in AN433 has a list of all possible status values and 38d = 0x26. This is corresponding to HID_UART_BOOT_INDEX_UNCHANGED.
The CP2114 status is sticky, i.e. any error set by the firmware will persist until the CP2114_GetDeviceStatus function is called. This error is returned if the boot index is already stored in the OTP. It is possible that you're trying to set the boot config to the same value two times in a row.
Thanks for the reply marao
Finally my issue is solved! :D Thanks man!