Post Created date
possible compiler bug when setting UART baud rate
joeymorin wrote: There are no flaws in the generated code.  Period.   I would guess that your terminal program is getting confused by a false start bit.   You make...
Thursday, 24 December 2015 - 01:05
possible compiler bug when setting UART baud rate
After replacing the atmega324pa on my board with the non-a model, I get the exact same problem.  So I guess it's not dependent on the "a" suffix.    But, my other...
Friday, 18 December 2015 - 23:56
possible compiler bug when setting UART baud rate
I just tried running this code on a different manufacturer's board, which also has an atmega324pa but at 5V and 7.3728 MHz, and I get the same corruption problems.  So it...
Friday, 18 December 2015 - 22:30
possible compiler bug when setting UART baud rate
Size optimization (-Os) on both AS7 and WinAVR.  I just tried both -O0 and -O1 and it makes no difference... still corrupting unless I uncomment the line. 
Friday, 18 December 2015 - 21:47
possible compiler bug when setting UART baud rate
ront1234 wrote: bobasaurus wrote: The only reason I have that commented-out line is from experimenting with hard-coding the baud rate.  Directly assigning 51 to...
Friday, 18 December 2015 - 21:18
possible compiler bug when setting UART baud rate
clawson wrote: Why don't you simply study the LSS in the go/no go cases?    I've attached the "not working" and "working" LSS files (renamed to .txt for the attachments...
Friday, 18 December 2015 - 21:01
possible compiler bug when setting UART baud rate
jgmdesign wrote: void uart_setup(uint32_t baud) { //baud = 9600; UART_DDR |= (1<<UART0_TXD); uint16_t baudUBRRSetting = (uint16_t) (F_CPU / (baud*16)) - 1;Silly...
Friday, 18 December 2015 - 20:52
possible compiler bug when setting UART baud rate
sparrow2 wrote: this line need some UL : uint16_t baudUBRRSetting = (uint16_t) (F_CPU / (baud*16)) - 1;   F_CPU is replaced by 8000000 by the preprocessor.  This is an...
Friday, 18 December 2015 - 20:21
possible compiler bug when setting UART baud rate
ka7ehk wrote: What does the RS232 signal look  like? Does it have the proper amplitude and baseline. If you are using one of those charge pump interface chips, you might have...
Friday, 18 December 2015 - 20:14
possible compiler bug when setting UART baud rate
stevech wrote: Not a compiler bug here in 2015!   more likely a) MCU power supply Vcc not stable yet. Add a delay. b) something the connection to or the other end device....
Friday, 18 December 2015 - 01:48
possible compiler bug when setting UART baud rate
I just tried this code on a different board with an atmega324p (without the "a" suffix) running at 5V with a 16 MHz crystal.  And both versions work perfectly, no corruption...
Friday, 18 December 2015 - 01:46
Help Web Links Do Nothing in AS7
Also, the web links from the help viewer don't work either:     Clicking them does nothing.  I've checked in the visual studio options and can't find anything...
Thursday, 1 October 2015 - 21:34

Pages