Post Created date
AVR128DA48 Curiosity Nano and Avrdude
MCUdude wrote: All I have to do now is to make sure this patch is merged into the Avrdude binaries Arduino IDE and PlartformIO ships with, so it's available to as many users a...
Wednesday, 16 December 2020 - 09:27
AVR128DA48 Curiosity Nano and Avrdude
Thanks to @je_ruud and his #10000 patch, it works now.   I have updated my avrdude fork GitHub repo with this patch and some other updates :
Tuesday, 15 December 2020 - 17:53
A few remarks on the avr-gcc inline assembler
  skeeve wrote: This might or might not be what doomstar was trying to ask. I'm not sure.   I don't think it was the same as trombones and trumpets are real variables...
Saturday, 19 September 2020 - 16:39
A few remarks on the avr-gcc inline assembler
Something like that :   register uint8_t tmp asm("r6"); uint8_t in,out; tmp=PORTC.IN; tmp+=0x26; PORTD.OUT=tmp; PORTF.OUT=PORTA.IN; in=tmp+4; asm(" mov tmp,%1 \n...
Saturday, 19 September 2020 - 15:31
A few remarks on the avr-gcc inline assembler
I want to say C name for the clobber register   register uint8_t tmp asm("r6"); asm(" mov r10,%1\n mov %0,r10\n" : "=r"(out) : "r"(in) : "tmp") // raise error ! ...
Saturday, 19 September 2020 - 14:21
A few remarks on the avr-gcc inline assembler
What's the syntax to define clobbers with their C names ? I have tried many options that do not work.
Saturday, 19 September 2020 - 12:39
AVR GCC strange behavior : missing code lines when mixing with asm code
Many thanks to both of you as both works ! I  also found complete explanation of inline asm here :   I have another question what's...
Saturday, 19 September 2020 - 10:24
Atmel-ICE & Avrdude for AVR® Programming In Mass Production
gchapman wrote: avrdude-doc-6.3.pdf Many thanks !   Tested with 2 Atmel  Ice simultaneously connected to my pc and it works perfectly   To get all Atmel Ice...
Tuesday, 1 September 2020 - 15:43
Programing ATmega4809 with Atmel Ice in UPDI
To know if you have same pb : avrdude -c atmelice_updi -p m4809 avrdude: bad response to set parameter (scope 0x12, section 0, parm 0) command: 0xa0 avrdude: initialization...
Tuesday, 1 September 2020 - 14:28
Taking the high, middle and low bytes of a 24-bit value
The way you write this seems to be important for avr gcc.   Even if these 3 lines should be the same : SPI0.DATA=(addr>>16); // send msb addr SPI0.DATA=((addr...
Wednesday, 26 August 2020 - 15:08
Bios, Bootloader and Jump table with AVR GCC
Seems that my subroutines are quite easy and do not use RAM variables, only register vars.   And seems that avr gcc do what is needed to save registers that must be saved :...
Sunday, 26 July 2020 - 20:39
Bios, Bootloader and Jump table with AVR GCC
barnacle wrote: Something of a contradiction in terms there - the stack is in ram.   Yes I know stack is in RAM. But if I push something on stack at the beginning of my...
Sunday, 26 July 2020 - 13:14