cancel
Showing results for 
Search instead for 
Did you mean: 

Enabling external memory manager "corrupts" ioc file.

EBDRS
Associate II

As long as my .ioc file has the lines

VP_EXTMEM_MANAGER_SIG_Activate_EXTMEM.Mode=Activate_EXTMEM
VP_EXTMEM_MANAGER_SIG_Activate_EXTMEM.Signal=EXTMEM_MANAGER_SIG_Activate_EXTMEM

 in it, CubeIDE and CubeMX will be unable to open it with the error:

Cannot invoke "java.util.List.iterator()" because "destList" is null.

 Deleting these two lines make it work. I am using 6.12.1 with an STM32H7R3I8Tx.

1 REPLY 1
EBDRS
Associate II

I figured out the real issue:

I wanted to use NOR flash on the listed MCU. The way I set it up was that the first 2 MB of the chip was used for the boot sector, and the remaining 62 MB of the chip was used for the application sector. This causes the issue, as the first 2 MB are empty when they should be reserved from the boot sector. I just added that to the application section too and made it "All access not permitted" which should work. This still gives an error but allows the program to run.