Closed rleoni closed 6 years ago
Hello. We would appreciate some more details. Does the default Nordic FW work? Do you upload the code using J-link, disconnect the J-link, toggle the power switch and then Thingy stops executing? What is meant by "disabling J-link"?
Hello koffes,
I'm sorry for this.
In my a application, basically, I just kept battery service and motion service. To load this application into my custom hardware, I used J-link. After a upload the firmware in mu custom board, the application goes into a constant reset loop. If I open J-link Viewer application and connect as perform a debug, my application start and work normaly without problems or error messagem.
If I close connection in J-link Viewer SW or just unplug J-link connector from the board, and do a power cycle, the system comes to reset loop again.
My problem is similar as "bloobird0" describe in your post (https://devzone.nordicsemi.com/f/nordic-q-a/17829/application-does-not-start-without-debugger-connected/68696#68696). But I don't think that my problem is HW, because, when I try upload a I2C or eddystone examples (Nordic SDK), the system start normaly without using J-link and the SW J-link Viewer.
I belive that are something reseting nRF5 or I miss to do some configuration.
Hello,
Jing end Bjorn help-me and I could fix this problem remove DCDC configuration on ble_stack_init() in m_ble.c .
Thanks Koffes.
Great that the issue could be resolved! However, I find it strange that having the DCDC enabled would case this boot loop. All you did was comment out sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE);
? Note that this will cause higher power consumption.
Hello.
I agree with you, this sound strange, but comment out this function, the system stop boot loop.
I didn't check the power consumption yet, but I will do this in next days.
Good evening,
I'm having some difficulties with the thingy52. I used it as the basis of development for the project and up to this point without major problems. However, my code runs only have an active connection without j-link. If I disable j-link and reset nrf52, the system just hangs. Anyone would know informs what happens and how to correct?