This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Monitor mode debugging not working with IAR and s140 6.0.0-6alpha

Hello,

I followed the steps mentionned in this blog

I did all the required step but I'm still seeing the same behavior. below is my setup :

I'm using nRF52840 and s140 6.0.0-6 alpha. IAR 7.70.1 JLINK 5.22a SDK 14.0 (att_mtu_troughput) and SDK 14.2.0 (ble_app_blinky). nRF52840 dev kit board

I tried what was suggested in different questions asked before this but still not able to make it work.

-Increased the priority to 6 : NVIC_SetPriority(DebugMonitor_IRQn, 6ul). -Made sure I have DebugMon_Handler in both sides. -Removed CONFIG_GPIO_AS_PINRESET.

  • Chanegd "SetMonModeVTableAddr=0x1B000" to 0x2500 the start address of the s140 6.0.0-6alpha but the breakpoints wont work at all with this setup.

Not sure what might be wrong with my setup !!

any suggestions would very appreciated.

Thank you Chaabane

Parents Reply
  • You mean if I have made sure that the MMD is enabled ? When flashing I always get the "monitor mode missing license" textbox and choose "YES" : evaluation purposes .

    I always get directed to app_error_fault_handler() when stopping at a break point. The codes works just fine with no break points. I also tried to add MMD to the BLE blinky project but it didn't work for me !

Children
No Data
Related