Using RAppID with MPC5744P and CAN

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

Using RAppID with MPC5744P and CAN

Jump to solution
6,833 Views
andremeyer
Contributor II

Dear all,

I am try to flash the MPC5744P via CAN using the RAppID tool but I always get an error --> CAN error frame received.

 

The hardware I am using is the the original EVB with 144p device.

CAN hardware is a Vector CAN Case XL.

First I flashed the 5744p.rbf file using our Greenhills environment.

The I configured the RAppID tool for CAN operation. The EVB has a XOSC of 40MHz therefore I set the Baudrate to 100000 manually inside the .rbl file.

When I press "Start Boot Loader" I can see CAN frames from PC to µC but no response.

Maybe the the application running on the µC is not working correctly or the clock setting is wrong.

 

Or do I need to the the ABS pins accordingly?

 

 

I hope someone can help me with my problem.

 

BR;

André Meyer

Labels (1)
1 Solution
5,814 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I just got the feedback. Currently the bootloader for MPC574xP does not support CAN communication. There's a mistake in release notes. The support of CAN communication will be added in the future but the release day is not known yet because the team is working on other tasks right now.

Regards,

Lukas

View solution in original post

11 Replies
5,162 Views
saurabhkulkarni123
Contributor II

Hello,@andremeyer I'm also tried to flash via CAN0 to mpc5744P but I'm getting error like "CCP Communication Error. CAN port not open".  Can you please suggest me what kind of setting required.

THANKS

0 Kudos
Reply
5,814 Views
andremeyer
Contributor II

Hi,

I managed to write to flash using the serial interface instead of the CAN interface.

After adding the "Application Key" and "Time value" the Application is starting.

With CAN communication I still got no respose from µC.

After flashing the MPC5744p.rbf file I checked the register setting and it seems that only the LINFlex_0 module is initialized.

Only SIUL2_MSCR18 and SIUL2_IMCR165 are setup for LIN_0. (PB2, PB3)

SIUL2_MSCR_16 and SILU2_IMCR_32 are not setup for CAN_0. (PB0, PB1)

Maybe CAN is not supported by this RBF file?

BR,

André Meyer

0 Kudos
Reply
5,815 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I just got the feedback. Currently the bootloader for MPC574xP does not support CAN communication. There's a mistake in release notes. The support of CAN communication will be added in the future but the release day is not known yet because the team is working on other tasks right now.

Regards,

Lukas

5,814 Views
yankuang1
Contributor III

Hi Lukas,

Currently does the bootloader for MPC574xP  support CAN communication?I am try to flash the MPC5744P via CAN using the RAppID tool but after programming the rbf file to MCU,I always get an errorpastedImage_3.png

0 Kudos
Reply
5,814 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I shared the rbf file for MPC5744P above (https://community.nxp.com/servlet/JiveServlet/download/811936-1-382277/MPC5744P.rbf.zip). I got it from SW developers. I do not have tools to test it but it should work.

Lukas

0 Kudos
Reply
5,814 Views
xtomasicx
Contributor I

Can anyone confirm that the new rbf is working for CAN BL on MPC5744P? I've tested it but I'm getting the same error as @kuang yan. I'm using the dev board with vector VN1610, have done the vector hardware configuration, loaded the rbf (it works for serial communication), can see the CAN messages on the relevant channel when I load my app. 

Am I missing anything?

0 Kudos
Reply
5,814 Views
andremeyer
Contributor II

Hi,

Thank you very much for following up this issue.

I already started to build my own CAN boot loader based on your serial boot loader version for the MPC56xx.

BR,

André

0 Kudos
Reply
5,813 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hello André,

just in case you still want to use rappid bootloader, attached you will find updated version that supports CAN 0 at 500K baud rate.

Regards,

Lukas

5,811 Views
yusheng1
Contributor I

Hi:

   I am developing mpc5742p's  bootloader based on "serial bootloader for MPC5748G", when compile,the following error has been occured, how to solve these  errors?

pastedImage_1.png

0 Kudos
Reply
5,811 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

I just shared preliminary version of serial bootloader for MPC5748G in this thread:

How to debug bootloader code running on RAM

Maybe it will be useful. It's based on my previous bootloader for MPC56xx...

Lukas

5,811 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I can see the same behavior on my side. It look like the CAN is not enabled ever.

I'm checking with Rappid team what's going on. I will let you know later.

Regards,

Lukas

0 Kudos
Reply