With a support entitlement you can also get direct access to our team of highly-qualified Arm experts 24-hours a day
Open a support case
I am using fast models with the DS5 debugger. When using the reset command in the debugger, my target starts running but I can't seem to stop it and lose complete control. I have to reconnect the target and restart the debugging session. I get the following message in the target console:
Warning: (W1000) /ARM/FastModels/deprecated: reset() is not supportedIn file: Framework/Runtime/SCXSimulationEngine.cpp:3759In process: scx::async_thread @ 398200 us
Is there any way for me to bring the target to a known state without having to go through this disconnect/connect hassle?
Thank you in advance
I see the same thing trying to issue a reset from DS-5 to a Fast Model with Fast Models 11.4 The error is a result of SystemC not having any standard way to "reset" all of the models in the simulation.
For Fast Models 11.5 the error seems to be gone, but the reset still doesn't work, DS-5 says it running but there is no way to recover except disconnect.
One alternative I use to go back to the beginning is the button to the left of the reset. It's a vertical line with a block arrow pointing left. The tooltip is "Debug from entry point". This will put the software back to the start, but it doesn't issue a hardware reset or reset all of the CPU registers. It does reload the software image and start again from the image entry point. I found that for many software images this is good enough to reload the software and start debugging again without disconnecting.
I'll check with the product teams to see if there are any planned enhancements to get the reset working again.
Feel free to share more about your setup if there is anything specific you would like to me investigate. Info about the models you are using (FVP or custom made Fast Model system) and tool versions may be helpful.
Thank you for your reply Jason.
I'm actually programming bare-metal and it is important for me to bring the actual hardware registers to a known state. I will stick to the reconnect for now, but if you have any news regarding this, please let me know on this thread.
I have confirmed there is progress. As I could tell the Fast Models 11.5 has improvements but the DS-5 needs an update also.
Until then, if you are building your own Fast Model system you can change the Project Settings -> Targets and select "Integrated simulator with deprecated scheduler". I found that the reset works with this option. If you are using an FVP supplied with DS-5 you would need to get the Fast Models product and compile the FVP yourself with the modified setting or wait for a future release of DS.
Thank you for the info Jason. I don't think I have a license to compile models. I am using only FVPs downloaded from https://developer.arm.com/products/system-design/fixed-virtual-platforms. I will be on a lookout for a future release. BTW, any idea on the time frame for that?
I can't provide any specific dates, but generally there are 2 to 3 major releases per year (and a few more minor ones) so keep an eye on the Downloads page or subscribe to the news and updates at the bottom of the page.
If you are curious of what is takes to use the Fast Models product check the Quick Start on github. Evaluation licenses can be provided to give it a try. Many software teams would benefit from somebody in the team having the skill to create custom systems for software development. It's a great skill to learn.