Programming The EV-INVERTERHDBT kit

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

Programming The EV-INVERTERHDBT kit

1,077 次查看
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 项奖励
回复
3 回复数

846 次查看
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 项奖励
回复

1,034 次查看
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 项奖励
回复

1,024 次查看
AhmedSamy76
Contributor I

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

0 项奖励
回复