I am having trouble debugging with the FreeRTOS gdb plugin. The plugin seems to get confused and something in the debug chain crashes. I am using Eclipse Neon.3 and the GNU MCU J-Link Debugging plugin 4.2.1.201711101735, with J-Link 6.20a. Target is STM32F429ZI running FreeRTOS 9.0.0, with heap in CCMRAM. I attach a log file demonstrating the problem (see line 1777). GDB reports "WARNING: Mis-aligned memory read: Address: 0x00000012, NumBytes: 4, Alignment: 4 (Word-aligned) WARNING: Failed to read memory @ address 0xD51D0834 ERROR: Error reading thread name in FreeRTOS task control block." Flash is mapped to address 0 in this application. I believe this MCU is internally capable of unaligned access on DBUS. I am not sure why this address is being accessed, however. It doesn't tie up to any vector address (which should be word-aligned). Unaligned access is set to toolchain default in the settings file. I have tried forcing aligned access and forcing unaligned access, but neither makes any difference.
Confusingly, sometimes when I build and run this it just works, but it's something like 10% of debug sessions, so not very useful.
Any help you can offer would be great.
Confusingly, sometimes when I build and run this it just works, but it's something like 10% of debug sessions, so not very useful.
Any help you can offer would be great.