Post Created date
Circular uart buffer freezes
@curtvm - yes it happens :) As you rightfully pointed out there was atomic block on that part (which is not on library you posted, I actually reworked it a bit stripping 16 bit...
Sunday, 1 December 2019 - 19:08
Circular uart buffer freezes
N.Winterbottom wrote: bajtec wrote: Today I stumbled upon similar issue when reducing buffer sizes.   if(((UART_TxHead+1) & UART_TX0_BUFFER_MASK)==UART_TxTail...
Sunday, 1 December 2019 - 12:01
Circular uart buffer freezes
Actually solved my problem in other way - Code works properly without atomic locs as it is all 8 bit and i rearranged it so pointer move memory write is at the end. Real culprit...
Sunday, 1 December 2019 - 07:30
Circular uart buffer freezes
Actually i thought about sth like this on volatile flag , i'll test it.   #define FLAG_LOCK_WAIT(flag) do{ do{{_asm nop _endasm}}while(flag==1); flag=1; } while (0) #define...
Saturday, 30 November 2019 - 19:59
Circular uart buffer freezes
I'm now using some spinoff from this original library on ATMega1284, in which i added  snd_available functions as I'm using both usarts simultaneously and transmitting more...
Saturday, 30 November 2019 - 19:24
Defeated by undefined reference to ...
BoltSwith wrote: In ds18b20_TIMER_DRIVER.cChange  #ifdef ONE_WIRETo:    #ifndef ONE_WIRE #define ONE_WIRE   but that defeats the point of defining modules...
Friday, 1 November 2019 - 21:31
Defeated by undefined reference to ...
Now i'm getting Warning        implicit declaration of function 'ds18b20_reset_step' [-Wimplicit-function-declaration]    ...
Friday, 1 November 2019 - 21:18
Defeated by undefined reference to ...
So even if I include it in main file that does not implicate having it in c file ? .H definitions/values are visible only in C file directly including them ? [UPDATE]   Ok it...
Friday, 1 November 2019 - 21:09
Defeated by undefined reference to ...
Yes - in GENET_HW_DEF.h as pictured : #define ONE_WIRE #ifdef ONE_WIRE #include "ds18b20_TIMER_DRIVER.h" #define ONE_WIRE_RX C,7 #define ONE_WIRE_TX C,6 #endif 
Friday, 1 November 2019 - 20:49