You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR is still under development.
Please do not merge until this note is removed.
Add launch.json generation support for Arm-FVP.
Add the FVP GDBServer plugin argument using ${env:AVH_FVP_PLUGINS}.
Set the default Arm-FVP GDB server port to 10000, matching the default port used by the FVP GDBServer plugin.
Avoid generating a trailing empty "" argument in FVP launch.json and tasks.json configuration, because FVP treats it as an empty application path and fails during launch.
Thanks for the feedback. I refactored the FVP template to reduce duplication, kept the port number using 3333 and added the singlecore-attach variant.
Notes:
Reset monitor reset halt is not supported by the FVP GDBServer. I tested the RSP command maintenance packet R00, but the original plugin timed out because it did not reply to GDB after reset. I asked Codex to add the missing reply (e.g. a single line), build a test GDBServer.dll, and verified that reset works reliably. Therefore, I kept maintenance packet R00 in customResetCommands.
Run and Attach
I tested Load & Run Application followed by manual attach with the new FVP attach configuration. The attach flow works. One remaining issue is that the Load & Run Application / Load & Debug Application icons do not update after pressing Load & Run Application, which needs investigation.
Add a dummy entry for CMSIS Load to work around the problem described in the preceding second note. Here is the result:
* Executing task: echo Skipping CMSIS Load: images are loaded by the FVP model when CMSIS Run starts.
Skipping CMSIS Load: images are loaded by the FVP model when CMSIS Run starts.
* Terminal will be reused by tasks, press any key to close it.
* Executing task: C:\FVP\0.0+10356\conan_package_fastmodels_deliverable_binary_MDK-windows-x86\MDK_0.0_10356_Windows_x86\MDK_0.0_10356\bin\FVP_Corstone_SSE-300_Ethos-U55.exe -D --plugin C:\FVP\0.0+10356\conan_package_fastmodels_modellib-windows-x86-vs2019-rel\conan_package\plugins\Win64_VC2019\Release\GDBServer.dll -C GDBServer.port=3333 -f FVP/FVP_Corstone_SSE-300/fvp_config.txt -a out/Hello/CS300/Debug/AC6/Hello.hex
Info: FVP_MPS3_Corstone_SSE_300: telnetterminal5: Listening for serial connection on port 5001
Info: FVP_MPS3_Corstone_SSE_300: telnetterminal1: Listening for serial connection on port 5003
Info: FVP_MPS3_Corstone_SSE_300: telnetterminal0: Listening for serial connection on port 5000
Info: FVP_MPS3_Corstone_SSE_300: telnetterminal2: Listening for serial connection on port 5002
GDBServer: Debug core: component.FVP_MPS3_Corstone_SSE_300.cpu0
GDBServer: Listening address="127.0.0.1" port=3333
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR is still under development.
Please do not merge until this note is removed.
launch.jsongeneration support for Arm-FVP.${env:AVH_FVP_PLUGINS}.10000, matching the default port used by the FVP GDBServer plugin.""argument in FVPlaunch.jsonandtasks.jsonconfiguration, because FVP treats it as an empty application path and fails during launch.Currently, this launch configuration:
singlecore-launch.auxiliaryGdb.