If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2018-03-07
I am not sure where to know which xml is used ,
I set embsys register as following:
Architectire :Cortex-m4
Vendor:STMicro
Chip:stm32f40x
Board:STM32Discovery
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I guess there are more than one STM32Discovery boards ... each with different chips ...
You can browse through the xml files directly in your eclipse installation, go to:
eclipse\plugins\org.eclipse.cdt.embsysregview.data_0.2.X.rXXX\data
There, the first folder is the Architecture, inside the architecture are the vendor folders, and inside the vendor folders are the xml files ...
The Board itself is defined inside of only a few xml files. I once built this feature, so for example a led that is hardwired on such a Discovery board can be defined in the xml and then switched easily while debugging. But this is not widely used.
But back to your problem. Once you know your exact chip description, you can also look in the "SVD(CMSIS)" architecture folder. There is also a STMicro Vendor folder ...and maybe a xml file that better matches your chip.
You can also download a SVD file from STMico for your chip and place it in that folder. (You may have to change the file extension from svd to xml though)
If that all does not work for you, the last resort is to manually edit one of the xml files, and add the registers missing from the chip data-sheet. Keep in mind that updating the view may overwrite your file, so always keep an extra copy of your edited file ...just to be sure, as I never tested that.
If you succeed with your newly edited file it would be a good idea to create a patch ticket and give back your edits, so others can benefit from it too.
-Robert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "Open Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I can't find the flexible memory controller (FMC) regsiters ,I am using stm32f4Discovery board embsys registers .
I need to check SDRAM configs
What xml/svd file are you using ?
I am not sure where to know which xml is used ,
I set embsys register as following:
Architectire :Cortex-m4
Vendor:STMicro
Chip:stm32f40x
Board:STM32Discovery
What chip is on your device ?
I guess there are more than one STM32Discovery boards ... each with different chips ...
You can browse through the xml files directly in your eclipse installation, go to:
eclipse\plugins\org.eclipse.cdt.embsysregview.data_0.2.X.rXXX\data
There, the first folder is the Architecture, inside the architecture are the vendor folders, and inside the vendor folders are the xml files ...
The Board itself is defined inside of only a few xml files. I once built this feature, so for example a led that is hardwired on such a Discovery board can be defined in the xml and then switched easily while debugging. But this is not widely used.
But back to your problem. Once you know your exact chip description, you can also look in the "SVD(CMSIS)" architecture folder. There is also a STMicro Vendor folder ...and maybe a xml file that better matches your chip.
You can also download a SVD file from STMico for your chip and place it in that folder. (You may have to change the file extension from svd to xml though)
If that all does not work for you, the last resort is to manually edit one of the xml files, and add the registers missing from the chip data-sheet. Keep in mind that updating the view may overwrite your file, so always keep an extra copy of your edited file ...just to be sure, as I never tested that.
If you succeed with your newly edited file it would be a good idea to create a patch ticket and give back your edits, so others can benefit from it too.
-Robert