Hardfault at 00000008 CONFIG_NUM_MBOX_ASYNC_MSGS

Hello,

I have an application and I am using a nrf52833, as soon as i flash my application I am getting a hardfault prior to the main call.
As in below snap:

I do not know what to make of this, kindly suggest.

Thanks,

Parents
  • Hi,

    You are using pm_static.yml for all partitions.

    The whole point of the partition manager is that you should not have to deal with that yourself. You can only use pm_static.yml to increase the mcuboot partition 

    (The way my colleague does it is basically build without pm_static.yml, and then copy the part I want (mcuboot) from build/partitions.yml. Then change the size of the things I need. Do not need to know the syntax that way)

    another trick is to use below

    CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y

    to use external flash, instead of doing this manually.

    Can you please try to use the below project and see how the partitions are made based on the given config of the external flash. 

    mcuboot_smp_feat_external_flash_and_bigger_mcuboot.zip

    For me the partitions looks like this

Reply
  • Hi,

    You are using pm_static.yml for all partitions.

    The whole point of the partition manager is that you should not have to deal with that yourself. You can only use pm_static.yml to increase the mcuboot partition 

    (The way my colleague does it is basically build without pm_static.yml, and then copy the part I want (mcuboot) from build/partitions.yml. Then change the size of the things I need. Do not need to know the syntax that way)

    another trick is to use below

    CONFIG_PM_EXTERNAL_FLASH_MCUBOOT_SECONDARY=y

    to use external flash, instead of doing this manually.

    Can you please try to use the below project and see how the partitions are made based on the given config of the external flash. 

    mcuboot_smp_feat_external_flash_and_bigger_mcuboot.zip

    For me the partitions looks like this

Children
Related