Bootloader CAN nxp5744p

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

Bootloader CAN nxp5744p

2,752 Views
rehab_hassan
Contributor II

I tried to flash the MPC5744P using CAN and I used a CAN case for that, and I configured both the pins and baud rate as required, but it didn't flash the file and I received the following message.

 

rehab_hassan_1-1658337340978.png

 

 
Are there any missing steps to flash the kit successfully using CAN ?
Is it the vector CAN case which is used to flash the kit ??

0 Kudos
Reply
15 Replies

2,632 Views
rehab_hassan
Contributor II

@stanish any idea for that issue? 

I tried to flash the application using serial and it succeeded but with CAN I still stuck in that issue

any help?

thanks

Tags (1)
0 Kudos
Reply

2,559 Views
rehab_hassan
Contributor II

@stanish 
@lukaszadrapa 

 

It flashed using CAN when I changed the following 

flash_rchw : org = 0x00FA0000, len = 0x4
cpu0_reset_vec : org = 0x00FA0004, len = 0x4
delay_us : org = 0x00FA0008, len = 0x4
appkey_addr : org = 0x00FA000C, len = 0x4

But the applications doesn't work 

 

when I Flashed using serial UART 0 the previous version of the rbf 

the application worked when I write as 

flash_rchw : org = 0x00FC0000, len = 0x4
cpu0_reset_vec : org = 0x00FC0004, len = 0x4
delay_us : org = 0x00FC0008, len = 0x4
appkey_addr : org = 0x00FC000C, len = 0x4

 

any help with that ?

 

 

 

0 Kudos
Reply

2,687 Views
rehab_hassan
Contributor II

@stanish any help regarding this issue?

Thank you

0 Kudos
Reply

2,682 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Or maybe @mikedoidge , do you have an idea what could be wrong if it is not caused by hardware?

Thanks,

Lukas

0 Kudos
Reply

2,569 Views
rehab_hassan
Contributor II

@lukaszadrapa any ideas regarding this issue?

could you please attach an application (srec file) to try it just in case if the issue in the application ?

 

Thank you

0 Kudos
Reply

2,575 Views
rehab_hassan
Contributor II

any ideas? 

could you please provide a srec file to try flashing it using the provided rbf? 

I have nxp5744p Rev E 

0 Kudos
Reply

2,742 Views
rehab_hassan
Contributor II

Yes I flashed that rbf and I got that error

rehab_hassan_0-1658393654339.png

 

 

0 Kudos
Reply

2,675 Views
stanish
NXP Employee
NXP Employee

Hello,

from the attached screenshot it is obvious that the communication has been established.

Seems the Erasing process is being interrupted and causes the communication error.

Could you possibly try to dump some flash memory content ("Read Memory Content" e.g from 0xFC0000 - 0xFC1000).

Is it the only device on CAN bus?  If not can you double check if it does not interfer with other messages with can ID 0?

Hope it helps.

Stan

0 Kudos
Reply

2,661 Views
rehab_hassan
Contributor II

@stanish 

I tried to read and dump Memory 

rehab_hassan_0-1659628629694.png

 

0 Kudos
Reply

2,603 Views
stanish
NXP Employee
NXP Employee

Hi,

I'd suggest to to double check your RESET pin if there is no reset issued during RappID bootloader operation as suggested by Lukas.

Is there any other traffic on CAN bus? 

Stan

0 Kudos
Reply

2,709 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

I'm sorry for delayed response, I was out of office.

Is there an external watchdog on your board?

Regards,

Lukas

0 Kudos
Reply

2,701 Views
rehab_hassan
Contributor II

@lukaszadrapa 

Never mind, 

Yes there is External wdg SBC, 
Development board Dev NXP5744P Rev E 

any certain connection should I do? 

Thank you

0 Kudos
Reply

2,697 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Is jumper J163 installed? It should be installed to force the SBC to DEBUG mode when it does not trigger watchdog reset.

Regards,

Lukas

0 Kudos
Reply

2,691 Views
rehab_hassan
Contributor II

@lukaszadrapa  Yes , Debug mode is enabled 

0 Kudos
Reply

2,747 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport
0 Kudos
Reply