Programming The EV-INVERTERHDBT kit

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

Programming The EV-INVERTERHDBT kit

714 Views
AhmedSamy76
Contributor I

I have MPC5775E-EVB which has a onboard debugger "OpenSDA" and i have a EV-INVERTERHDBT kit which has the same processor MPC5775E but it is programmed using PEmicro multilink debugger and i don't have this debugger can i program the kit using the first Microcontroller MPC5775E-EVB using JTAG daisy chain for example or any other method ? How i can do that?

0 Kudos
3 Replies

483 Views
Mehul_Patel_NXP
NXP Employee
NXP Employee

Hi, @AhmedSamy76 , 


Although it may be possible, but I would suggest to buy and use PE micro debugger

 

https://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320180&productTab=1

 

Thank you. Kind regards. 

- Mehul Patel

0 Kudos

671 Views
ramprakash08
Contributor IV

Indeed, you can program the EV-INVERTERHDBT kit through the MPC5775E-EVB's onboard OpenSDA debugger, but it requires additional steps:

1. Establish a proper JTAG chain by linking JTAG_TDI, JTAG_TDO, JTAG_TCK, and JTAG_TMS from OpenSDA to the kit. Connect their corresponding signals and ground (GND) between the boards.

2. Use OpenSDA to program the MPC5775E on the EV-INVERTERHDBT kit. Note, the OpenSDA might lack sufficient power; add an external power supply to the kit.

Here's a code snippet for programming the MPC5775E:

// Initialize JTAG chain
jtag_init();
// Select MPC5775E on EV-INVERTERHDBT kit
jtag_select_device(1);
// Program MPC5775E
jtag_program('path_to_your_program.hex');

Replace `'path_to_your_program.hex'` with your program's file path.

0 Kudos

661 Views
AhmedSamy76
Contributor I

@ramprakash08 what's the library which includes jtag APIs? 

0 Kudos