
I ended up having some success with exporting to KDE, which is the manufacturer supplied IDE for the Kinetis family of arm processors. So using the generic instructions I got my mbed project importing into atollic trustudio as a makefile project, and basic compilation of project files, however seem to be having a problem with the linker phase?Īs a side note - now that truestudio lite is free to use indefinitely and size unlimited, may be worth the mbed people looking a bit more seriously at it as a dedicated export target? Especially if you're not about to get web-ide in circuit debugging happening anytime soon (like TI have managed with their cloud version of Code Composer Studio.) I'm relatively new to mbed (have used mbed as a c++ library before, but just the library in CooCox*bleargh* IDE) and while I love the things the whole mbed system lets you do as a web ide, I am at a point with my current project where I would REALLY love to use the built in debugger hw in my FRDM-K64F board to trace a long convoluted set of imported library code.Ītollic is basically a commercial packaging of gnu tools and eclipse, but setup to just work when installed without stuffing about. Has anyone here already figured out export to atollic truestudio? I'm sure it's do-able and am in the process of bumbling through, but would rather not have to bump through it if someone alredy knows exactly what to do. I would really appreciate your help on this as I don't know what to try next.Important changes to forums and questionsĪll forums and questions are now archived. So, I'm not sure what's causing the issue I'm seeing. On top there is, include "stm32l1xx_hal.h" STM32CubeMX includes the HAL library in the code. When I comment the HAL GPIO Init line, the program runs through with no issues. GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW Īfter stepping through the code line-by-line during debugging, I found that the HAL GPIO Init function does not execute and instead gives the runtime error: "Target not Responding, retrying.". GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP HAL_GPIO_WritePin(IDD_CNT_EN_GPIO_Port, IDD_CNT_EN_Pin, GPIO_PIN_RESET) HAL_GPIO_Init(IDD_CNT_EN_GPIO_Port, &GPIO_InitStruct) Įven though the preceding code is correct, GPIO_InitTypeDef GPIO_InitStruct After spending a lot of time on debugging I found that the problem in the code is this one line using the HAL gpio library:

The problem is that the generated init code cannot run on my MCU. I am using Atollic TrueSTUDIO as the IDE.

I have configured the pins and generated the init code via STM32CubeMX. I am developing an application for a University project on my STM32L1DISCO board with the STM32L152RC MCU.
