MPC5777C-DEVB2 openSDA not working

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MPC5777C-DEVB2 openSDA not working

跳至解决方案
661 次查看
IvanIvanenkoTechSAT
Contributor II

Hello.

I have got new MPC5777C-DEVB2 and would like to flash/debug it with build-it openSDA. But after I connect micro-usb cable, both reset LED (D79 and D80) are red, and no openSDA port appears in windows device manager. Drivers from PEmicro are installed, all switches/jumpers on board are in default state. What can be the problem?

devman.pngdevb2.jpg

0 项奖励
回复
1 解答
176 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Application engineer was able to get openSDA up and running.

I have posted you the procedure and files in the ticket you have risen in NXP.com.

Best regards,

Peter

在原帖中查看解决方案

标记 (1)
13 回复数
611 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

petervlna_0-1719385311451.png

What comes to my mind is that you do not have SBC in debug mode. So your SBC SWT will trigger reset.

petervlna_1-1719386202564.png

Make sure your SBC is generating voltage for the K20.

To me Quick start guide seems very poor quality where no HW supply possibilities are discussed. Unfortunately I do not have the board so I cant test it for you. I will try to find author of it and force him to post here.

Best regards,

Peter

0 项奖励
回复
607 次查看
IvanIvanenkoTechSAT
Contributor II

P3V3_SDA is generated when microUSB is connected. LED D4 is on while pressing SW4 button.

0 项奖励
回复
580 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Do you have J45 populated?

Furthermore, do you see voltage on TP30?

Since your D14 is on, SBC must generated 3.3V output.

petervlna_0-1719487840655.png

Check also J7:

petervlna_1-1719488112780.png

the K20 is powered by USB by default. you can check the TP60

petervlna_2-1719489130119.png

petervlna_3-1719489159278.png

regarding the bootloader FW:

https://mcuoneclipse.com/2016/06/26/how-to-recover-the-opensda-v2-x-bootloader/

best regards,

Peter

0 项奖励
回复
578 次查看
IvanIvanenkoTechSAT
Contributor II

All as you described.
JP45 is set, J7 is in 1-2 positions. There is 3.3V in P3V3_SDA (TP60) and SBC_P3V3 (TP30) circuits.

About firmware. There are big number of boards to select firmware, but no MPC5777C-DEVB2 among them. Which should be selected?

IvanIvanenkoTechSAT_0-1719490380405.png

 

 

0 项奖励
回复
557 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I was talking with application engineer and he suspect that the board do not have programmed K20 with FW.

You will need specific FW for MPC5777C and also device which is able to program K20 , for example PE Cyclone.

But it is strange that it is not preflased with FW.

Which revision of the board you have?

Also application engineer promised me to take care of it and post here next week.

Best regards,
Peter

0 项奖励
回复
553 次查看
IvanIvanenkoTechSAT
Contributor II

Yes, it looks like there is no firmware in MK20
Board revision is "C", if I understand right.

IvanIvanenkoTechSAT_0-1719563279910.png

 

0 项奖励
回复
387 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

AS I have found the OpenSDA is property of PEMicro, so you have to update it via PE Utility.

I suggest you to contact PEMicro in case of any issues.

Here is the guidance:

https://www.pemicro.com/opensda/

Best regards,
Peter

0 项奖励
回复
296 次查看
IvanIvanenkoTechSAT
Contributor II

Here is the answer from PEmicro:


In most other cases, PEmicro did make an openSDA firmware for many of the NXP dev boards. Unfortunately we never made an openSDA firmware for the MPC5777C dev board. Therefore the firmware on that MK20 MCU is not made by PEmicro. However, we currently do not have plans to make any more openSDA firmware.
Please consult with NXP on finding an openSDA firmware to fit your needs.
If they are not able to assist you, I would highly advise in getting our cost effective Multilink Universal hardware to be able to enter debug on your MPC5777C device via JTAG and use NXP's S32 Power IDE or other IDE's.


PEmicro - 40+ years innovating in the embedded systems space. Flash Programmers, Cloud-based, Automa...

0 项奖励
回复
261 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Ok, let me talk to board owner so I can find out how to proceed here.

Best regards,

Peter

0 项奖励
回复
405 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Thank you for info.

I was out of office and seems application engineer did not take care of this query as he should.

He is now out for next week. I will try to get the FW for you ASAP.

I apologize for delay.

Best regards,

Peter

0 项奖励
回复
177 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Application engineer was able to get openSDA up and running.

I have posted you the procedure and files in the ticket you have risen in NXP.com.

Best regards,

Peter

标记 (1)
629 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Looks like you device is in reset:

petervlna_0-1719299857423.png

Did you configured SW18?

petervlna_2-1719301437696.png

best regards,

Peter

 

 

0 项奖励
回复
627 次查看
IvanIvanenkoTechSAT
Contributor II

Yes, it's in reset.

Looks like MK20 does nothing, as reset is only when SW18 are in "on" state and there is a power supply for MK20 via USB_K20. D510 is also dead all the time, both in normal work and in MK20 bootload mode (when usb is connected with pressed SW4), though according to descriptions it should blink in bootload mode.

I assume, that MK20 was not flashed. If it's possible to do with CycloneMX, I can do it, but I need correct binary.

IvanIvanenkoTechSAT_0-1719312207292.png

 

标记 (1)
0 项奖励
回复