E2 Studio 1.4.0 Debug load fails, second load works

I installed E2 Studio 1.4.0.

After loading any program, it will fail in the ThreadX scheduler (see below). The second attempt to load the program will run as expected.

What is going on?

Thanks,

Bruce

 

SDMMC_HAL_FRWK_FX_MG_AP2 Debug [Renesas GDB Hardware Debugging]
SDMMC_HAL_FRWK_FX_MG_AP2.elf [1]
Thread #1 1 (single core) (Suspended : Signal : 0:Signal 0)
NMI_Handler() at bsp_group_irq.c:170 0x17f90
<signal handler called>() at 0xfffffff9
_tx_thread_schedule() at tx_thread_schedule.c:272 0x102a
_tx_initialize_kernel_enter() at tx_initialize_kernel_enter.c:182 0x1c28
main() at main.c:130 0x18d06
Thread #2 1001 (single core - SDMMC Thread [Ready RC:0]) (Suspended : Signal : SIGINT:Interrupt)
0xffffffff
arm-none-eabi-gdb (7.8.2)
GDB server

  • Hi Bruce,

    It seems like there was a stack error (that has not been cleared by reset after programming).

    Regards,
    adboc
  • In reply to adboc:

    Nope. I do nothing app still barfs.
  • In reply to bgraham:

    Hi Bruce,

    Are "Reset before run" and "Reset After Reload" enabled? The former can be found in Debug configuration > Connection Settings tab, the latter in Debug Tool Settings.

    Regards,
    adboc