We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, For the cortexM3 based processor, i created new *SFR file. expected behavior is it has to show some more peripherals in the debugging window, but it's not showing anything.
Please can anyone suggest what might be wrong in this case? How can i interpret and validate the generated SFR file is correct?
Satheesh, can you tell a little more about the way you created the SFR file. Typically the tool(s) (SVDConv and/or sfrcc2) should do most if not all checking for valid input.
Matthias
Hi Satheesh,
when you download / create an SVD xml file, it must be compiled with the SVDConv (which invokes the SfrCC2 to create the binary). The result is a .sfr file, which can be loaded into our System Viewer.
It must have either the name of an existing file in Keil\ARM\SFD, or you can load it manually via: Project -> Options for Target -> Target -> System-Viewer File (.Sfr) Changing the sfd file gets stored with your project.
SVDConv chooses the name for the output file(s) from the xml file: <device><name>MCUName</name>. Or just specify -n Filename (no endings) on the command line if you need a name different from the MCU name.
. BR, /th.
Hi Matthias,
Input is xml file to the SVDConv. I used like this way. system "SVDConv Input.xml --generate=sfr >".$Device_Name."_conv_err.txt";
By this SFR file is generating without any errors, but some warnings. text file is similar to the below mentioned.
CMSIS-SVD SVD Consistency Checker / Header File Generator V2.75 Copyright (C) 2010 - 2011 ARM Ltd and ARM Germany GmbH. All rights reserved.
Options : --generate=sfr Reading file: "Peripheral_Register_Sheet.xml"
Decoding using XML SVD Schema V1.0
Input.xml(31) : warning [Level: <peripheral>] String empty! No Data found for this tag Tag: [TAG_END] description
Input.xml(41) : warning [Level: <register>] String empty! No Data found for this tag Tag: [TAG_END] description I am not getting whethere these warnings causing the problem? Please let me know the reason for these warnings?
Thanks Again for your inputs.
Satheesh G
Dear Satheesh,
can you please raise a Keil support request for that (write there, that they should assign the support case to me), then I will help you quickly. I need your xml file so that I can see what's going on.
normally SVDConv complains "string empty" when there is i.e.:
<register> <name></name>
BR, /th.
Hi,
I created the SFR file and it's showing the registers also. It's showing register information from View->System Viewer->(Peripheral Name). But i want to see from Peripherals-> So for this what are the steps to do once i generate SFR file? Please help on this.
Regards Satheesh G
did you raise a support request that I can help you much better?
--- The SVD file gets compiled into a binary format (containing lots of generated structure information), and loaded into the UV System Viewer, which is a display (no Simulation). Registers and fields can be read and written.
The Peripheral menu entry connects to a C implementation of Peripheral Simulation inside a dll, or - in Target mode - acts like a display where you can read and write the registers / fields of a peripheral.
For the Peripherals menu please have a look at AGSI: http://www.keil.com/uvision/db_sim_agsi.asp