Bootloader reuse

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

Bootloader reuse

804 次查看
kuksu
Contributor II

The bootloader through CAN communication has been completed to some extent.

However, it can only be used once, so I would like to make it possible to re-enter the bootloader using any method.

The current progress order is bootloader- hex download via CAN GUI-download done-COP reset-Application run.

After running the application through COP reset, the application runs normally (LED, CAN ID communication).

The problem is that I can't re-enter the bootloader.

I tried accessing the switch using 4258SW's StartS12x.s, but it failed.

Please help with this issue, I would appreciate it.

 

 

0 项奖励
回复
1 回复

780 次查看
lama
NXP TechSupport
NXP TechSupport

Hi,

Switching between the bootloader and the application depends on the requirements of both parties involved. The main problem seems to be that the bootloader requires a defined state, which in case of a complex application can be secured most simply by means of a reset, when we get all peripherals to the default state. If we want to do it without a reset, then we have to ensure the compatibility and independent behavior of the bootloader and the application in such a way that they cannot be affected by any chance. This problem is actually at the application level and does not concern technical support for the NXP product. Unfortunately, we don't even have anything like that in the database of solved examples.

Best regards,

Ladislav

0 项奖励
回复