Site Search

Silicon Labs EFM32: Code automatically advances to main() after reset. Isn't there a way to debug from the beginning of the code? (Simplicity IDE)

EFx32

If you download the code during debugging or reset it, the code will proceed to the beginning of main() and break there.

Article header main%28%29%e3%81%be%e3%81%a7%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e9%80%b2% e3%82%93%e3%81%a7%e3%81%97%e3%81%be%e3%81%84%e3%81%be%e3%81%99%e3%80%82%e3% 82%b3%e3%83%bc%e3%83%89%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%8b%e3%82%89%e3%83% 87%e3%83%90%e3%83%83%e3%82%b0%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af% e3%81%82%e3%82%8a%e3%81%be%e3%81%9b%e3%82%93%e3%81%8b%ef%bc%9f%ef%bc%88simplicity%20ide% ef%bc%891 2

If you want to disable this function, click ▼ on the right side of the Debug icon (insect icon) → Go to Debug Configurations → Configuration and uncheck Run from reset.

Article header main%28%29%e3%81%be%e3%81%a7%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e9%80%b2% e3%82%93%e3%81%a7%e3%81%97%e3%81%be%e3%81%84%e3%81%be%e3%81%99%e3%80%82%e3% 82%b3%e3%83%bc%e3%83%89%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%8b%e3%82%89%e3%83% 87%e3%83%90%e3%83%83%e3%82%b0%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af% e3%81%82%e3%82%8a%e3%81%be%e3%81%9b%e3%82%93%e3%81%8b%ef%bc%9f%ef%bc%88simplicity%20ide% ef%bc%895 3

If you download it again or reset it, a break will be applied at the beginning of the code.

Article header main%28%29%e3%81%be%e3%81%a7%e3%82%b3%e3%83%bc%e3%83%89%e3%81%8c%e9%80%b2% e3%82%93%e3%81%a7%e3%81%97%e3%81%be%e3%81%84%e3%81%be%e3%81%99%e3%80%82%e3% 82%b3%e3%83%bc%e3%83%89%e3%81%ae%e6%9c%80%e5%88%9d%e3%81%8b%e3%82%89%e3%83% 87%e3%83%90%e3%83%83%e3%82%b0%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95%e3%81%af% e3%81%82%e3%82%8a%e3%81%be%e3%81%9b%e3%82%93%e3%81%8b%ef%bc%9f%ef%bc%88simplicity%20ide% ef%bc%894 2

Please also check the Silicon Labs community site.

Experienced FAE
Free consultation is available.

From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.