TWR-K60100M with MK60DN512VMD10 MCU not programmable

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TWR-K60100M with MK60DN512VMD10 MCU not programmable

Jump to solution
9,838 Views
yicui
Contributor I

Hi Everyone:

I am a starter with Freescale products. I currently have a Tower system TWR-K60100M with a MK60DN512VMD10 MCU.

I am using Win 7 and Codewarrior 10.6.

When I tried to download the program onto the board, the error window pop out:

If I click Abort, the error message is:

Error launching HelloworldBareBoard_FLASH_PnE U-MultiLink. ARM GDI Protocol Adapter : Can't connect. The Debugger can not connect to the P&E device

Error.jpg

Some other info for your consideration:

I have already updated the bootloader firmware so the hardware connection is OK.

I have tried both CodeWarrior 10.6 and 10.2. Neither works.

I have tried all BDM Debug Shift Freq. Doesn't help.

Labels (1)
Tags (2)
0 Kudos
Reply
1 Solution
9,466 Views
BlackNight
NXP Employee
NXP Employee

I suspect that some signals of the TWR-SER module interfer with the debug signals.

There is nothing in the IDE you can let it know about the TWR-SER present (and that would  not make sense).

Maybe a powering issue? Are you powering the system in addition (recommended) through the TWR-ELV USB connector too?

Erich

View solution in original post

0 Kudos
Reply
10 Replies
9,466 Views
BlackNight
NXP Employee
NXP Employee

Hello,

Are you using the card in a Tower? I suggest that you try it standalone, as there could be a power/JTAG issue. I have attached a CW for MCU10.6 project and a picture with my jumper settings. Can you try that?

I hope this helps,

Erich

9,466 Views
yicui
Contributor I

I tried and worked when MCU unattached from the TWR system. Is there any way that I can go around the power/JTAG issue?

0 Kudos
Reply
9,466 Views
BlackNight
NXP Employee
NXP Employee

What other boards do you have in your tower? Just the elevator? Or any other boards?

0 Kudos
Reply
9,466 Views
yicui
Contributor I

TWR-SER Serial Module and no other.

0 Kudos
Reply
9,466 Views
BlackNight
NXP Employee
NXP Employee

Can you verify if the problem exists if you have the TWR-SER removed (means: only having the cpu card and the two elevator boards plugged together)?

0 Kudos
Reply
9,466 Views
yicui
Contributor I

The system is programmable with TWR-SER module removed.

The whole system (MCU+2 elevators+TWR-SER) is programmable when the  serial module is at the second or the third floor from the bottom. I guess the system was just not recognizing the serial board in these cases.

Should I do something to let the IDE know there is a serial board in the system?

0 Kudos
Reply
9,467 Views
BlackNight
NXP Employee
NXP Employee

I suspect that some signals of the TWR-SER module interfer with the debug signals.

There is nothing in the IDE you can let it know about the TWR-SER present (and that would  not make sense).

Maybe a powering issue? Are you powering the system in addition (recommended) through the TWR-ELV USB connector too?

Erich

0 Kudos
Reply
9,466 Views
yicui
Contributor I

Exactly.

Once a second mini-USB is connected to the TWR-ELE board, the system is programmable.

Thanks for your help.

0 Kudos
Reply
9,466 Views
BlackNight
NXP Employee
NXP Employee

I don't have the problem. It works for me if I power the tower boards (elevator, cpu module and TWR-SER) only with the CPU card USB connector.

I suspect that your PC might not deliver the needed amount of current (mA) necessary. I have seen cases where e.g. with using SD card, a lot of cards/peripherals the power provided to the tower system was not enough, and caused debugging failure.

Erich

0 Kudos
Reply
9,466 Views
daweiyou
NXP Employee
NXP Employee

Hi:

If you have Jlink lite, you could program directly from JLink interface to check whther the K60 is OK.

If not, try other tool? IAR or Keil?

0 Kudos
Reply