Hello,
I am building an DA14680 application with a customized board. I have connected the RST pin to J-Link's nRST pin with an inverter. I would like to know how to reset the MCU automatically after program the built file to the MCU. I have to unplug and replug the power cable each time after I program the MCU. Could you please tell me how to:
1) send a signal to J-Link's nRST pin so it will trigger a HW reset on MCU?
2) how to write to SWD_RESTET_REG to trigger a HW reset through J-Link, as mentioned in da14680-01_ds_v3.0.pdf page 44?
Thanks.
Device:
Hi,
我已经要求我们的团队来调查这个工具。我们should get a reply shortly.
/MHv
Hi,
I received the following response from the team:
Once, the JLINK GDB server is connected it's possible to send custom j-link command using the prefix "monitor" so it's possible to issue reset using:
monitor reset
By default this performs a software reset from the Cortex M0 DAP. it's possible to issue a hardware reset which will toggle the reset pin of the JLINK by issuing the command:
monitor RSetType 2
If you want to issue a reset by writting in the sys_ctr_sw_reset, you just need to issue a write instruction the format is
monitor memU32 0x20010004 = 0xdeadbeef
/MHv
Hi, i m having the same problem that after programing i have to manually reset the SOC.
Before it resets it automatically, since today problem came on its own.
2ndly from where you can use command monitor reset , cz i m using smartsnippets studio and i couldnt find where to send the command?
Thanks
Hi mahmed106,
What is the version of SmartSnippets Studio that you are using?
I would suggested to raise a new forum topic with your issue, as this one is old and closed.
Thanks, PM_Dialog