Post Created date
SAM D21 problem with buffered PWM on TCC
Microchip has confirmed this problem with these comments: You are right. The issue seems to be with variant B devices. I managed to bring up a board for SAMD21E16B and was able to...
Saturday, 28 July 2018 - 19:25
SAM D21 problem with buffered PWM on TCC
I have create a complete working demo of the issue: #include "sam.h" #define PWM_MAX_VALUE 100 int main(void) { PORT_WRCONFIG_Type portConfig; // Turn on clock to...
Wednesday, 18 July 2018 - 21:40
SAMD21 usage of SWDIO and SWCLK pins
I forgot to mention that the debug port supports "hot-plugging", which means entering debug mode when NOT in reset.  I assume this is how "Attach to Target" on the Debug menu...
Wednesday, 11 July 2018 - 20:15
SAMD21 usage of SWDIO and SWCLK pins
The SWCLK pin must be high during reset (or else the chip goes into debugging mode), so it is probably not a good idea to use it as an input. The Schematic Checklist section of...
Tuesday, 10 July 2018 - 22:24
AS7 not reporting compiler errors
My problem was caused by importing settings (Tools->Import and Export Settings...) from Visual Studio (which I use for development on Windows).  I was trying to take a...
Tuesday, 23 February 2016 - 17:52
AS7 not reporting compiler errors
I appreciate the response.  Since it seemed to be just me, I did a fresh install of AS 7 on a different machine, and it did indeed work OK.  I will just need to...
Tuesday, 10 November 2015 - 00:13
AS7 not reporting compiler errors
I gave up on AS7 because of this issue.  I found it trivial to modify the project file (.cppproj) so it would work with AS6.2: just edit the XML so the <...
Friday, 6 November 2015 - 17:54
TWIE on ATXMEGA128D3
If you tried to use TWIC, you might also think it was broken. The problem with TWIC is that the include file iox128d3.h has the wrong values for the master port addresses. ...
Friday, 18 September 2015 - 00:07
Dragon PDI Connection Reference
I have received a definitive answer from Atmel on PDI programming with the AVR Dragon: Quote: Please note that for PDI programming with AVR Dragon you need not use the JTAG squid...
Monday, 11 June 2012 - 17:51
Using .weak in custom vector table
Quote:Actually the data and bss loops now come out of libc when required and are no longer located in gcrt1.SIt sounds like there's been some changes, which is pretty much my case...
Wednesday, 28 September 2011 - 17:45
Using .weak in custom vector table
curtvm's suggestion of putting gcrt1.S in the project proved to be an excellent debugging tool. By stripping things out and/or moving code between files, I found the answer: .weak...
Tuesday, 27 September 2011 - 23:04
Using .weak in custom vector table
I have not changed/added any command line options, but I edited the linker script. I removed the standard vector table with: /DISCARD/ : { *(.vectors); } I put the section...
Tuesday, 27 September 2011 - 18:38

Pages