Hi,
Evaluating uVision 4.21...
Found that SDIO special function register definitions in STM32F10xxE.SFR are incorrect. Base address is 0x40018000 not 0x40012C00! Tried textural substitution, but the modified file won't load in the debugger.
Is there any way of modifying SFR files so they will work okay?
Boz.
There are some files in C:\Keil\ARM\SFD\ST\STM32F10x that hint at how it's done. Look at the lst file ST put in there and you can see the command line that generated the sfr files.
We were thinking about doing this but haven't done it yet.
Andrew
Hi Andrew,
Thanks for the prompt and informative reply.
Drats! Nothing in my evaluation version's C:\Keil\ARM\SFD\ST\STM32F10xx directory but .sfr files.
Never mind, it's not that big a deal.
Thanks again.
thanks for the info. This seems to be a problem in the description files we receive from ST, I will check that. You can change a lst file, but this will not result in changing the SystemViewer.
The tool flow for this is: XML Description -> SVDConf.exe -> SFD File (this keeps an editable description for the SystemViewer, including all the Menus and Views etc.) -> SFRcc2.exe -> SFR file (binary file). So you would need the XML file or minimum the SFD file.
I will check that and compile a new File. Can you please create a Support Case so that I can get in contact with you?
BR, Th. de Buhr
Hi Thorsten,
Sorry for the slow reply. I seemed to have lost forum access temporarily, but am back in now.
The System Viewer not correctly exposing SDIO peripheral registers of STM32F10xxE parts was initially puzzling for me, but didn't prove to be any real hindrance.
Thank you for describing the SFR file generation process chain for me. I'm sure the SDIO register address matter will be sorted out in future releases, once corrected part description files become available from ST.
Thank you also for your kind offer to contact me personally regarding this issue, Thorsten. I'm really just a (very impressed) product evaluator at this stage though, so please don't go to any extra trouble on my individual behalf. Your welcome offer is greatly appreciated, however.
Regards, Boz.