MPC5777C-DEVB2 openSDA not working

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

MPC5777C-DEVB2 openSDA not working

Jump to solution
659 Views
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 Kudos
Reply
1 Solution
174 Views
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

View solution in original post

Tags (1)
13 Replies
609 Views
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 Kudos
Reply
605 Views
IvanIvanenkoTechSAT
Contributor II

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

0 Kudos
Reply
578 Views
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 Kudos
Reply
576 Views
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 Kudos
Reply
555 Views
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 Kudos
Reply
551 Views
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 Kudos
Reply
385 Views
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 Kudos
Reply
294 Views
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 Kudos
Reply
259 Views
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 Kudos
Reply
403 Views
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 Kudos
Reply
175 Views
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

Tags (1)
627 Views
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 Kudos
Reply
625 Views
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

 

Tags (1)
0 Kudos
Reply