This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32 Connectivity Line in System Viewer

Hello
First, im using MDK ARM Std. 4.20. In our project we have a STM32F107VC (M3, Connectivity Line) and i am currently adapting the STM32_Init.c to be more useful (PLL2+PLL3 settings, more peripherals,...)
My problem now is the system viewer (using debugger and ULink2 to work directly on target hardware):
When i want to check the RCC registers there are some bit and field definitions missing. For example the RCC_CFGR2 is only visible as complete value, but i d' like to see the bit-definitions in there too, so it looks like all the other registers, with the expandable tree structure. And there is some more stuff missing, like PLL2 and PLL3 Enable- and Ready-Flags in the RCC_CR view.
So, my question now would be what file i do have to edit to get the system viewer to properly display the informations the way i want to?

www.keil.com/.../uv4_db_dbg_systemviewer.htm is saying "Add additional properties to view extra information, like the data breakdown or the description of peripherals." But nowhere is any information about where/how one can edit/add the informations...

I hope someone can help me.
Thanks.

Parents
  • Hello Andreas Vogt,

    There is no need to adapt the STM32_Init.c to the STM32F107VC device.
    You can instead use the CMSIS startup files for STM32F107VC connectivity linedevice.
    Please check files startup_stm32f10x_cl.s, system_stm32f10x.c in folder .\Keil\ARM\Startup\ST\STM32F10x. You must also use the header file stm32f10x.h.

    Best Regards,
    Martin Guenther

Reply
  • Hello Andreas Vogt,

    There is no need to adapt the STM32_Init.c to the STM32F107VC device.
    You can instead use the CMSIS startup files for STM32F107VC connectivity linedevice.
    Please check files startup_stm32f10x_cl.s, system_stm32f10x.c in folder .\Keil\ARM\Startup\ST\STM32F10x. You must also use the header file stm32f10x.h.

    Best Regards,
    Martin Guenther

Children
  • Hello Martin. Thanks for the hint to the CMSIS-Files. I already made the adaptions to the old config file now, just have to test all the new stuff for bugs and errors.

    For completely new projects we will definately have a look into the latest librarys, standards and stuff again. But for now and for our currently running projects we dont want to mess up our (mostly) working software and everything we have learned in the last years working with Cortex just by trying to force a new library package on to it.