Hi, I have board which contains Silabs 8051F060 MCU. It is working fine when it is programmed with EC2 (RS232). It contains all protection circuit on JTAG as suggested by Silabs like Schottky diode, series resistors. When i try to connect this board with USB JTAG adapter (Ver. 1.6.0.0) gives error as "Communication could not be established with the specified adapter.Please confirm the adapter selection and cable connection."
Although my USB JTAG adaper working fine with Silabs DK. I am using same connections and setting for both boards.
My board is protected with secuirity bit. So first i have to erase the whole flash, when i try to erase flash (with USB adapter connected to PC and board) in Silabs IDE (Tools>Erase Code Space) it is showing "Preparing for flash erase" then showing "Do you want to erase" then gives error. "Failed setting suspend state to access flash. Invalid target response". Then it gives error "target failed to respond. system is being disconnected". Please suggest solution.
What is the possible problem ? Pls. suggest a way to out of this problem. Is there any change in protedtion circuit for EC2 and USB.
Thanks in advance.
Anyone is there to help me resovling this problem ?
Sounds like your CRP bit is enabled. I'd say you need to erase your internal flash with a tool like FlashMagic (NXP) or via your own internal bootloader/ISP.
Datasheet of C8051F060 says When the page containing the security bytes has been Write/Erase locked, a JTAG full device erase must be performed to unlock any areas of Flash protected by the security bytes. A JTAG full device erase is initiated by performing a normal JTAG erase operation on either of the security byte locations. This operation must be initiated through the JTAG port, and cannot be performed from firmware running on the device.
I have erased the flash with USB adapter. But when try to connect for programming it shows error message (as previous post).
the IDE can not erase a protected chip. To erase a protected chip you need to use the "Flash utilities"
Erik
HI, Which .ini (initialization file) i have to select in "Debug" tab in "Options for target" menu ?
I have selected "C:\SiLabs\MCU\USBXpress\Driver\setup.ini".
Is it correct ?
Can anyone help me ?