Post Created date
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 : https://www.nongnu.org/avr-libc/...   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
Bios, Bootloader and Jump table with AVR GCC
I need also to prevent my bios to use the RAM. Is there a way to do that ? And also I need my function to save used register(on stack for example). Is there also a way for this to...
Sunday, 26 July 2020 - 10:46
Bios, Bootloader and Jump table with AVR GCC
curtvm wrote: Why not create the BOOT 2k, APP 23k, APPDATA 23k APP can write to APPDATA, so BOOT functions not needed This limits the code to 23kB. Because it is remote via gsm...
Friday, 24 July 2020 - 20:23

Pages