Bootloader CAN nxp5744p

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

Bootloader CAN nxp5744p

2,000 次查看
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 项奖励
15 回复数

1,880 次查看
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

标记 (1)
0 项奖励

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

1,935 次查看
rehab_hassan
Contributor II

@stanish any help regarding this issue?

Thank you

0 项奖励

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

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

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

1,990 次查看
rehab_hassan
Contributor II

Yes I flashed that rbf and I got that error

rehab_hassan_0-1658393654339.png

 

 

0 项奖励

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

1,909 次查看
rehab_hassan
Contributor II

@stanish 

I tried to read and dump Memory 

rehab_hassan_0-1659628629694.png

 

0 项奖励

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

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

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

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

1,939 次查看
rehab_hassan
Contributor II

@lukaszadrapa  Yes , Debug mode is enabled 

0 项奖励

1,995 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport
0 项奖励