Type in the full discussion title or a part of it.
Discussion Title Created date
Mega0/xTiny Self programming flash
On the Mega0 and xTiny, one achieves writes to Application flash by writing to the page buffer at RAM address aliases for flash, and then writing a command to the NVMCTRL...
Saturday, 26 September 2020 - 09:34
Extracting info from .atdf files
I've been working on a project to allow easier extraction of information from the .ATDF files that are provided in Atmel "packs."  Typically there's a lot of info in those...
Monday, 21 September 2020 - 11:22
Analog PMUX settings...
It seems that PMUX setting B ("analog functionality") of SAMDxx (I'm looking at SAMD51, specifically) has  up to 7 different functions associated with it, and some pins can...
Saturday, 29 August 2020 - 01:08
CMSIS incomplete?
I was poking around in the directories of the arm CMSIS "pack" that Atmel Studio installs, and it looks to me like "C:\Program Files (x86)\Atmel\Studio\7.0\packs\arm\cmsis\5.4.0\...
Sunday, 28 June 2020 - 09:10
resident self-hosted debugger for Cortex-M ?
Is there a resident (or "self-hosted") debugger that runs on Cortex-M CPUs?   Something that could reside in flash, and works like CP/M's DDT or MSDOS "debug"? Is such a...
Sunday, 21 June 2020 - 23:46
What causes __do_copy_data to be linked into an executable?
Over in arduinoland, a user was having trouble with an "all assembly" BLINK example. Apparently, this was because variables defined in the .S file ".data" segment were not getting...
Monday, 15 June 2020 - 08:35
RTC and not resetting its clock during RESET
The RTC peripheral of most Atmel SAMD products does not get automatically reset expect a power-on reset.  This is clearly documented. The clock of RTC is likewise not reset,...
Sunday, 7 June 2020 - 22:45
Compile-time object construction in C++
Suppose that I have an object like a "command", which gets put together into a linked list, with each "object" containing a text string, a function pointer to the action routine...
Saturday, 25 April 2020 - 05:22
Getting info about chip memory layout...
Is there a way to get information out of a .elf file, or out of gld, about the size of sections that exist AND the maximum size that they could be? I know that "avr-size" will...
Saturday, 18 April 2020 - 00:15
Possible compiler bug (avr-gcc 7.3 (Arduino)) WRT switch/case jump tables
So have any of you daring folk using avr-gcc past the Microchip released version seen problems? The latest Arduino (1.8.10) is using their own build of avr-gcc 7.3.0, and while I...
Saturday, 7 March 2020 - 09:23
changing the default editor in AS7
Somehow I seem to have changed the default editor for .C files in AS7 to be EMACS instead of the internal editor. That was sort-of nice when I was entering code, but it's turning...
Thursday, 5 March 2020 - 22:40
C, C++, and __flash/PROGMEM
C++ folk have notoriously (?) fused to implement the "named address spaces" that are in recent versions of avr-gcc, and make using PROGMEM somewhat more pleasant, using "__flash...
Wednesday, 8 January 2020 - 10:18

Pages