This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCU-PLUS-SDK-AM243X: Bootloader_verifyMulticoreImage fails with custom flash

Part Number: MCU-PLUS-SDK-AM243X
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Hello,

 

I am trying to get the application image verification by bootloader/DMSC to run.

A few prerequisites:

  • Using MCU+ SDK for AM243x 9.2.0.50
  • Using SysConfig 1.20.0
  • Using custom flash W25Q64JV.
  • Using AM2432BSFFHIALXR Sitara on custom hardware.

The issue is:

  • If I set the setting "Disable Auth For Application Image" then it works as intended.
  • But if I uncheck this setting then Bootloader_verifyMulticoreImage() inside Bootloader_parseMultiCoreAppImage() fails.
  • However, I assume that the application image is properly signed by makefile_ccs_bootimage_gen.

I have attached a minima example of 3 projects (bootloader, system image and application image). You can check my flash settings there. I have also attached my devconfig.mak.

I also tried already a few things like switching "app_degenerateKey.pem" for "rom_degenerateKey.pem" or "custMpk_am64x_am243x.pem" and vice versa etc. and switching GP for HS without success.

I would appreciate it if somebody could look over my projects. I tried to keep them as close as possible to the original example projects.

Thank you.

 

Kind regards,

Martin