Mar 03, 2016 03:52 PM
Hello. I'm new in Forum and using of Infenion MCUs and tools. I worked with TI and STMicroelectronics Cortex-M based devices. I want to try external bus unit but I couldn't start to run from main. I'm trying to debug simple LED toggling with push buttons pressed but when I press the debug icon, the device is always jumping to HardFault_Handler exception. I've put a breakpoint to top of Reset_Handler in the startup file, ide or device couln't locate the SystemInit function. I've checked there is also an header file which is system_XMC4700.h and the declaration of the SystemInit function prototype is in this file, also there is a source file which is system_XMC4700.c is contain the whole SystemInit function and the other clock configuration functions. Maybe it is a address definition problem of the device's available flash start and end addresses but I didn't find any information about that. I've increased the stack but it was still same. I'm waiting any advice or help. Thanks.
Mar 03, 2016 06:33 PM
Mar 03, 2016 11:41 PM
Thank you Min Wei. Problem has gone when I added the SRAM_Combined to Memory definitions in the linker. Combined means all the SRAM (Program + System Data + Communication) as the same in the answer at your link.