Post Created date
SAMD51 Studio GCC: Writing to a global overwrites another. gcc bug?
BrianP said:  I figured I could try the most recent version of ARM gcc ( gcc version 10.2.1 20201103 (release) (GNU Arm Embedded Toolchain 10-2020-q4-major) ). On this...
Monday, 26 April 2021 - 20:40
Atmel Studio 7.0.1931 crashing when docking windows in GUI
You can read the "Known issues" with the Windows update on the Microsoft's web site.  This link is already mentioned in a previous post:   https://support.microsoft.com/...
Friday, 12 February 2021 - 18:40
Atmel Studio 7.0.1931 crashing when docking windows in GUI
Using Microsoft's documentation as a guide, I solved this problem by adding entries to the system registry as follows:   Using the Registry Editor, find the following...
Friday, 12 February 2021 - 18:23
Debugger disassembly missing most source code using GCC 9.3.1
I wrote a program to dump raw line number info and saw that GCC 9 outputs quite a few more entries that either duplicate a program address or a source line reference (or both...
Tuesday, 24 November 2020 - 21:46
Debugger disassembly missing most source code using GCC 9.3.1
I wasn't able to get GCC to accept that exact option.  After looking at the GCC docs I tried -gdwarf-2 -gstrict-dwarf, and it didn't help.
Monday, 23 November 2020 - 17:52
Making project build dependent on a library
Yes, a good idea -- actually to delete the outdated test driver binary in the library's post-build event. I added: cmd /c del $(MSBuildProjectDirectory)\TestDriver\Divas\...
Tuesday, 23 June 2020 - 17:57
#pragma pack(4) on AVR
Disregarding the unsolicited advice on system architecture, there is valuable information in the mention of alignment attributes. After some testing, I can present a definitive...
Tuesday, 19 November 2019 - 19:59
#pragma pack(4) on AVR
The data needs to be in the same place so when it's passed around over the RS-485 comm link that connects them, they each know where it is.  That's what I meant by "...
Monday, 18 November 2019 - 20:31
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

Pages