Type in the full discussion title or a part of it.
Discussion Title Created date
Empty ASM statements change code?
Optibootl apparently gets about 14 bytes bigger with the gcc 7.3.0 compiler that Arduino is distributing... Hmmph.   For the sake of analysis, I created an ASM macro: #...
Wednesday, 11 November 2020 - 03:09
failure to truncate to 16bits when -flto is on
void setup() { Serial.begin(9600); } void loop() { int i = 1; while (i > 0) { Serial.println((int16_t)i); i += 10000; delay(1000); } Serial.println(i...
Wednesday, 21 October 2020 - 22:48
WooHoo! My AVR is blinking its LED!
This wouldn't normally be worth mentioning. But it's an ATtiny28, which only implements a rather archaic version of High Voltage Parallel programming. And my STK500 doesn't seem...
Sunday, 11 October 2020 - 09:32
High CPU Utilization on nEDBG when serial in use, on MacOS.
Whee...   Another distraction.   When I have an nEDBG eval board (Curiosity Nano) connected to my Mac (10.13.6), and have it's virtual serial port open (Arduino...
Friday, 2 October 2020 - 05:23
mega0/xTiny Full Chip Erase possible from application section?
So I've been playing with the nvm controller on mega0 and xTiny chips...   Apparently you can use the "Chip Erase" command from application section code, and it will erase...
Thursday, 1 October 2020 - 09:09
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

Pages