Sysprogs forums › Forums › VisualGDB › Atmel SAMA5 support?
- This topic has 5 replies, 2 voices, and was last updated 10 years, 1 month ago by G40.
-
AuthorPosts
-
April 8, 2014 at 13:41 #778G40Participant
Hello VisualGDB
I’m having a look at the Atmel SAM A5 evaluation board. Is there any off-the-shelf BSP available?
More generally what does it take to add project support for new processsor/family. I’m only really interested in ARM devices (M3/4 and A5) and would typically use Segger JTAG probes.
Many thanks.
April 11, 2014 at 04:01 #3034supportKeymasterHi,
We are not targeting Atmel devices because Atmel provides their own IDE (Atmel Studio). However you can add new devices to VisualGDB by creating a board support package. Essentially you will need the following information:
1. GCC command-line switches for your target (typically -mcpu=cortex-XXX and various definitions).
2. a linker script for your target
3. startup code provided by the device manufacturer.All those are typically present in the GCC sample projects provided by device manufacturers. In order to integrate these settings into VisualGDB you could try 2 different approaches:
1. Select “Specify flags manually” in the VisualGDB Project Wizard
2. Create your own BSP based on one of our ones stored in %LOCALAPPDATA%VisualGDBEmbeddedBSPs. The information is stored in XML files that could be easily edited.Let us know if you need more details.
October 19, 2014 at 11:42 #3038G40ParticipantI am doing some work with Freescale Vybrid VF50/VF60 boards. it would be great if there was some basic support for these in the Freescale device lists.
More generally, is there any documentation on adding a new Wizard configuration? The ‘developing for legacy ARM devices’ tutorial is useful but it would be good to have a really consistent, repeatable, way of setting up a project.
Thanks again.
Merged with another topic about making custom BSPs
October 19, 2014 at 18:24 #3035G40ParticipantHello Bazis. Any update on this would be most useful. I am hoping that there is some tooling for generating register and IP block definitions (from .h files perhaps?) Or is there an ARM standard for doping this?
Many thanks.
October 21, 2014 at 00:29 #3037supportKeymasterHi,
We don’t provide any officially supported tools for generating the BSP packages. However, you can generate one by modifying the existing package XML files in other BSPs. The BSP XML files are produced by the .Net serializer from objects inside the BSPEngine assembly, so you can make a new C# application, reference BSPEngine.dll and manipulate the XML files programmatically:
using BSPEngine; ... BoardSupportPackage bsp = XmlTools.LoadObject
(@"c:xxxBSP.xml");
bsp.SupportedMCUs = ...;
XmlTools.SaveObject(bsp, @"c:yyyBSP.xml");
We do have an internal tool that parses the STM32 headers and generates peripheral register definitions, but it’s highly specific to STM32, as it needs to extract the information from the comments and internal file layout. You can try extracting the register layouts from the Atmel Studio IDE if their license permits doing that.
October 21, 2014 at 09:28 #3036G40ParticipantThanks Bazis I will put this on my todo list
-
AuthorPosts
- You must be logged in to reply to this topic.