You are reading a single comment by @user156811 and its replies. Click here to read the full conversation.
  • I'm surprised you hit issues with --overlap=replace - my understanding was that's only really needed if the hex files overlap - and if they're overlapping generally that's probably going to cause you some problems as something is too big?

    On the debug front, it's a nightmare with nRF52 because the softdevice tries to restart if it realises the CPU is halted for much time. There is a wdt_off GDB macro at https://github.com/espruino/Espruino/blob/master/.gdbinit#L31-L33 that you can call the very first time you break execution after the softdevice is started and I believe that will stop the reboot, but bluetooth connections will still completely break as soon as you start breakpointing stuff.

  • I'm surprised you hit issues with --overlap=replace

    overlap=METHOD
    What to do when data in files overlapped.
    replace -- use data from last file that contains data at overlapped address

    That does sound very bad :/

    I should probably look into that.

About

Avatar for user156811 @user156811 started