Hello,
I am creating one script in Python using nrfjprog that will flash the .hex file in the device but for that, I have to accept the terms of use manually so is there any way I can bypass that?
Hello,
I am creating one script in Python using nrfjprog that will flash the .hex file in the device but for that, I have to accept the terms of use manually so is there any way I can bypass that?
I am not aware of any way to buypass this message. You can ask Segger as this is their product. But note that you are not allowed to use the Edu versjon of their debugger for compersial use.
Is there any commands or API by which I can accept the terms of use in the automation?
Is there any commands or API by which I can accept the terms of use in the automation?
Yes, we have a python interface for nrfjprog: pynrfjprog.
can you please explain in detail, I have tried with the pynrfjprog library but when we connect the target device using (probe.connect_to_emu_with_snr(801044079,2000)), the JLink Terms of Use pop-up is displayed and I have to accept the agreement manually
You cannot script your way around that. For commercial use, you need another debugger. And for educational use, I am afraid you just have to live with it. But you must contact Segger regarding licensing, as the debugger is their product.
Okay, Thanks for the quick response