![](images/atmel.png)
Atmel SAM CPU Support Package
This package contains project templates and system files for Atmel SAM devices.
CrossWorks Version 3 Installation Instructions
- To install this support package
-
- Click the Tools > Package Manager menu option to open the package manager window.
- Right click on the Atmel SAM CPU Support Package entry and select Install Selected Packages.
- Click Next to take you to the summary page.
- Click Next to install the package.
- Click Finish to close the package manager window.
- Click the Tools > Show Installed Packages.
- Click on the Atmel SAM CPU Support Package link to view the package and its contents.
- To manually install this support package
-
- If you have not done so already, follow the CMSIS 3 Support Package and CrossWorks Tasking Library Package installation instructions.
- Download the file SAM.hzq using your web browser.
- Click the Tools > Manually Install Packages menu option.
- Select the file you have just downloaded to install the package.
- Click the Tools > Show Installed Packages.
- Click on the Atmel SAM CPU Support Package link to view the package and its contents.
- To install this support package using other versions
Release Notes
1.10
- Fixed SystemCoreClock not holding correct value on entry to main on some devices.
1.9
- Fixed erase and lock on SAM D20, D21 and R21 loaders.
- Added support for SAM G54 and SAM G55 devices.
1.8
- Fixed SAM R21 device identification for older parts.
1.7
- Fixed loader for SAMD20E18A, SAMD21E18A, SAMR21E18A and SAMR21G18A devices.
- Fixed loader for SAM4L when cache enabled and reset disabled.
- Fixed SAM R21 device identification.
1.6
- Added support for SAMD20G17U and SAMD20G18U devices.
- Added support for SAMD21G15A and SAMD21J15A devices.
- Updated Atmel header and system files.
1.5
- Added missing SAM4LC8 and SAMLS8 property group entries.
1.4
- Added support for SAM D21 devices.
- Added support for SAM R21 devices.
- Added support for SAMG devices.
- Added support for SAM4S2 and SAM4S4 devices.
- Added support for SAMD20E18 devices.
- Updated Atmel header and system files.
- Added ctl_sleep and ctl_woken to ctl_sam.c. These functions can be used in CTL V3 to reduce the timer interrupt frequency when in low power mode.
1.3
- Added support for SAM4E8C and SAM4E16C devices.
- Added support for SAM4LC8 and SAM4LS8 devices.
- Added support for SAM4N devices.
- Added support for SAM4SA, SAM4SD and SAM4SP devices.
- Added support for SAM D20 devices.
- Updated Atmel header and system files.
1.2
- CTL projects now default to a process stack size of 256 bytes. Please note that existing CTL projects will need to specify a process stack size using the Runtime Memory Area Options > Process Stack Size project property in order to work with CrossWorks for ARM version 2.3.1 onwards.
- Increased default main stack size to 256 bytes.
1.1
- Added support for SAM4E devices.
- Added support for SAM4L devices.
- Added support for configuring SMC in startup code.
- Added sam_cmsis.h header file, existing projects will need to add $(TargetsDir)/SAM to the Preprocessor Options > User Include Directories project property in order to include this file.
- Reset scripts now reset watchdog.
1.0
- Initial Release.
Documentation
Target Specific Project Properties
Property | Description | Default |
---|---|---|
Build Options > Use On-Chip RC Oscillator | Specifies whether the startup code configures the main clock to use use an external or on-chip oscillator. If your target board does not have an external oscillator, set this property to Yes. | No |
Troubleshooting
- If your program doesn't start up and you are using a board without an external oscillator, set the Build Options > Use On-Chip RC Oscillator project property to Yes.
- If you get a target JTAG adapter data link read timed out hardware error when connecting using a CrossConnect, set the CrossConnect's JTAG > Adaptive Clocking target property to No.