I want to use MTB on MKL05Z32 (4k RAM). But it doesn't seem to be working. Whenever I enable Trace Buffer in the Ozone settings, my program just crashes with a hard fault.
I have reserved space in RAM for the MTB buffer with: (where __SA_MTB_SIZE=0x200 is globally defined as in the project settings)
And I see in the MAP file that mtb_buf is located at 0x1ffffc00, which is consistent with the reference manual which states it should be located at (0x2000_0000 -(RAM_Size/4))
But it seems like Ozone is assuming that the MTB is located at 0x20000000. I see this in the Ozone console:
Is there a way to tell Ozone/Jlink where the MTB buffer actually is?
I have reserved space in RAM for the MTB buffer with: (where __SA_MTB_SIZE=0x200 is globally defined as in the project settings)
And I see in the MAP file that mtb_buf is located at 0x1ffffc00, which is consistent with the reference manual which states it should be located at (0x2000_0000 -(RAM_Size/4))
But it seems like Ozone is assuming that the MTB is located at 0x20000000. I see this in the Ozone console:
Is there a way to tell Ozone/Jlink where the MTB buffer actually is?