This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

JTAG Communication failure after programming

BUG in c51v808a.exe?

When i first connect the ULink the JTAG device ID is found and it is possible to program the device.
After programming the device ID cannot been found anymore.
Tried it with two units and both do not show up AFTER programming.
The third (last) shows up all the time but i don't want to programm it because i don't know what happend.

Programmer: Keil ULink
Device: ST upsd3434EV
Software NOW: Keil uVision3 (eval c51v808a.exe) NOW
Software Prev: Keil uVision3 eval uPSD (ST DK3400 kit)

Does the programmer blow op the device's JTAG interface. (uC is working afterwards, can't see if software is updated)

The hardware worked before because al three devices have been programmed and re-programmed various times.
The only difference is:
- I got a new PC and installed the newest Keil software to see if there are any changes since hte uPsd version.

NOW the question: Are there other people which have got the same problem?

Parents
  • Partly solved.
    I took a RLINK programmer + CAPS software and all the devices could be Erased/Verified/Programmed again so nothing was wrong.
    I again connected the unit to de ULINK programmer and it could only see the empty devices.

    Continued testing and it turns out the ULINK doesn't show the devices if the security bit has been set!

    The uVision3 menu options flash->program and flash->erase both don't work because no device is detected (when the security bit has been set).

    It seems the detection of locked devices has been changed in the newest software version (BUG?) because in the past the unit would mention the security bit and do a full chip erase. Very strange that the flash->erase also doesn't detect the devices. This means that i always need a second programmer (RLINK) to erase the devices.
    I could install the old Keil software again but that can't be the solution, i think i just will have to fill in a possible bug report.

Reply
  • Partly solved.
    I took a RLINK programmer + CAPS software and all the devices could be Erased/Verified/Programmed again so nothing was wrong.
    I again connected the unit to de ULINK programmer and it could only see the empty devices.

    Continued testing and it turns out the ULINK doesn't show the devices if the security bit has been set!

    The uVision3 menu options flash->program and flash->erase both don't work because no device is detected (when the security bit has been set).

    It seems the detection of locked devices has been changed in the newest software version (BUG?) because in the past the unit would mention the security bit and do a full chip erase. Very strange that the flash->erase also doesn't detect the devices. This means that i always need a second programmer (RLINK) to erase the devices.
    I could install the old Keil software again but that can't be the solution, i think i just will have to fill in a possible bug report.

Children