Can the BootLoader based on RTD2.0 work properly with the APP based on RTD6.0?

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

Can the BootLoader based on RTD2.0 work properly with the APP based on RTD6.0?

跳至解决方案
797 次查看
FrankLiu2019
Contributor III

The current version of the BootLoader I am using is based on RTD2.0 Obtained from this link , and it can function properly with the RTD2.0 APP. After I upgraded the APP to version RTD6.0, it crashed immediately after the upgrade.

Can the BootLoader based on RTD2.0 work properly with the APP based on RTD6.0?

There is another question, based on the same version. When the BootLoader uses LLD and the APP uses MCAL, will they be able to function properly?

These are two versions of the ld file and the memory data that has been read. The jump address from the BootLoader is 0x00441421.

LD_compare.pngLD_compare.pngREAD_FLASH.pngREAD_FLASH.png

标记 (1)
0 项奖励
回复
1 解答
754 次查看
PavelL
NXP Employee
NXP Employee

Hello @FrankLiu2019 ,

Any application built on RTD 2.0 is generally not compatible by default with an application built on RTD 6.0. It is up to the user to validate and adapt the integration, as there are no official NXP examples for mixing these versions.

BootLoader using LLD and APP using MCAL might work if the BootLoader leaves the system in a clean state (interrupts off, clocks/watchdog handled) and the APP reinitializes its own drivers.

Best regards,

Pavel

在原帖中查看解决方案

1 回复
755 次查看
PavelL
NXP Employee
NXP Employee

Hello @FrankLiu2019 ,

Any application built on RTD 2.0 is generally not compatible by default with an application built on RTD 6.0. It is up to the user to validate and adapt the integration, as there are no official NXP examples for mixing these versions.

BootLoader using LLD and APP using MCAL might work if the BootLoader leaves the system in a clean state (interrupts off, clocks/watchdog handled) and the APP reinitializes its own drivers.

Best regards,

Pavel

%3CLINGO-SUB%20id%3D%22lingo-sub-2260562%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9F%BA%E4%BA%8E%20RTD2.0%20%E7%9A%84%20BootLoader%20%E8%83%BD%E5%90%A6%E4%B8%8E%E5%9F%BA%E4%BA%8E%20RTD6.0%20%E7%9A%84%20APP%20%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%EF%BC%9F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2260562%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E7%9B%AE%E5%89%8D%E4%BD%BF%E7%94%A8%E7%9A%84%20BootLoader%20%E7%89%88%E6%9C%AC%E6%98%AF%E5%9F%BA%E4%BA%8E%20RTD2.0%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FUnified-bootloader-Demo%2Fta-p%2F1423099%22%20target%3D%22_self%22%3E%E7%9A%84%3C%2FA%3E%EF%BC%8C%E5%AE%83%E5%8F%AF%E4%BB%A5%E4%B8%8E%20RTD2.0%20%E4%B8%80%E8%B5%B7%E6%AD%A3%E5%B8%B8%E8%BF%90%E8%A1%8C%E3%80%82APP%E3%80%82%E6%88%91%E5%B0%86%20APP%20%E5%8D%87%E7%BA%A7%E5%88%B0%20RTD6.0%20%E7%89%88%E6%9C%AC%E5%90%8E%EF%BC%8C%E5%AE%83%E5%9C%A8%E5%8D%87%E7%BA%A7%E5%90%8E%E7%AB%8B%E5%8D%B3%E5%B4%A9%E6%BA%83%E3%80%82%3C%2FP%3E%3CP%3E%3CSTRONG%3E%E5%9F%BA%E4%BA%8E%20RTD2.0%20%E7%9A%84%20BootLoader%20%E8%83%BD%E5%90%A6%E4%B8%8E%E5%9F%BA%E4%BA%8E%20RTD6.0%20%E7%9A%84%20APP%20%E6%AD%A3%E5%B8%B8%E5%B7%A5%E4%BD%9C%EF%BC%9F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%E8%BF%98%E6%9C%89%E4%B8%80%E4%B8%AA%E9%97%AE%E9%A2%98%E6%98%AF%E5%9F%BA%E4%BA%8E%E5%90%8C%E4%B8%80%E7%89%88%E6%9C%AC%E7%9A%84%E3%80%82%E5%BD%93%20BootLoader%20%E4%BD%BF%E7%94%A8%3CSTRONG%3ELLD%3C%2FSTRONG%3E%E8%80%8C%20APP%20%E4%BD%BF%E7%94%A8%3CSTRONG%3EMCAL%3C%2FSTRONG%3E%20%E6%97%B6%EF%BC%8C%E5%AE%83%E4%BB%AC%E8%83%BD%E5%90%A6%E6%AD%A3%E5%B8%B8%E8%BF%90%E8%A1%8C%EF%BC%9F%3C%2FP%3E%3CP%3E%E8%BF%99%E6%98%AF%E4%B8%A4%E4%B8%AA%E7%89%88%E6%9C%AC%E7%9A%84%20ld%20%E6%96%87%E4%BB%B6%E5%92%8C%E5%B7%B2%E8%AF%BB%E5%8F%96%E7%9A%84%E5%86%85%E5%AD%98%E6%95%B0%E6%8D%AE%E3%80%82%E4%BB%8E%20BootLoader%20%E8%B7%B3%E8%BD%AC%E7%9A%84%E5%9C%B0%E5%9D%80%E6%98%AF%200x00441421%E3%80%82%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22LD_compare.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22LD_compare.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369612iFDEC8A9BA26D9BDA%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22LD_compare.png%22%20alt%3D%22LD_compare.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ELD_compare.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22READ_FLASH.png%22%20style%3D%22width%3A%20641px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22READ_FLASH.png%22%20style%3D%22width%3A%20641px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F369613iF9F49309C9E97D20%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22READ_FLASH.png%22%20alt%3D%22READ_FLASH.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EREAD_FLASH.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2261144%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Can%20the%20BootLoader%20based%20on%20RTD2.0%20work%20properly%20with%20the%20APP%20based%20on%20RTD6.0%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2261144%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F213974%22%20target%3D%22_blank%22%3E%40FrankLiu2019%3C%2FA%3E%E3%80%81%3C%2FP%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CP%3E%3CSTRONG%3E%E9%BB%98%E8%AE%A4%E6%83%85%E5%86%B5%E4%B8%8B%EF%BC%8C%E5%9F%BA%E4%BA%8E%20RTD%202.0%20%E7%89%88%E6%9C%AC%E7%9A%84%E4%BB%BB%E4%BD%95%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E9%80%9A%E5%B8%B8%E4%B8%8E%E5%9F%BA%E4%BA%8E%20RTD%206.0%20%E7%89%88%E6%9C%AC%E7%9A%84%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E4%B8%8D%E5%85%BC%E5%AE%B9%3C%2FSTRONG%3E%E3%80%82%E7%94%B1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