#avr Logs

Feb 17 2020

#avr Calendar

12:06 AM day__ is now known as day
12:35 AM PoppaVic: bubbles
12:49 AM rue_shop1: where?
12:49 AM PoppaVic: megatron
12:49 AM rue_shop1: ok!
12:49 AM rue_shop1: I got pwm working on an atmega8!!!!
12:49 AM rue_shop1: WOW EH!?
12:49 AM rue_shop1: :)
12:49 AM rue_shop1: apparently, I'v not done that before
12:50 AM rue_shop1: I had to change the name of almost every register of the mega328 code I worked from
12:59 AM rue_shop1: next to see if I can get the screen/keyboard module working with someone elses code
01:13 AM rue_shop2: ok I can display a digit on the 1362 module
02:42 AM rue_shop1: ok, encoder is working
04:44 AM day: rue_shop1: whatcha building?
08:04 AM merethan_w: Does AVR Studio´s xmega emulator emulate EEPROM storage? My CRC, writing, reading, CRC train of functions fails but I can´t find anything wrong in my own work.
08:21 AM nohit: hmm
08:21 AM nohit: cant remember
08:21 AM nohit: oh wait emulator
08:22 AM nohit: i was thinking about simulator
08:30 AM polprog: can you read the value back okay?
09:07 AM bernyrd: having issue, seems gcc 9.2 ld does not support atmega2560?
09:08 AM bernyrd: https://www.irccloud.com/pastebin/3SwIBRsp/
09:46 AM PublicWiFi is now known as McDonaldsWiFi
09:47 AM McDonaldsWiFi is now known as PublicWiFi
09:48 AM PublicWiFi is now known as McDonaldsWiFi
11:54 AM merethan_w: nohit, polprog, I meant to say simulator. One of the target options in AVR Studio.
11:54 AM merethan_w: I have found in some docs online that the NVM controller is barely implemented for xmega.
11:55 AM merethan_w: I can run my code in the simulator, but reading from EEPROM always yields 0xFF due to this not being implemented in the sim.
11:56 AM nohit: ok
11:56 AM polprog: theres your answer :v
11:56 AM merethan_w: I´m now doing it on real hw now. Still a pain in the ass :P
11:56 AM merethan_w: But all things considered, it works fairly well.
11:57 AM polprog: good :D
12:03 PM rue_bed: any coding should only be a pain if you did not build your code properly
12:04 PM rue_bed: I still say that debugging is the process of figuring out what the code YOU wrote does
12:04 PM polprog: "debugging is like a murder investigation where you are the murderer and the cop at once"
12:06 PM rue_bed: you should know what the code you wrote does
12:09 PM merethan_w: My problems are more in the realm of breakpoints jumping around and variables being optimized away.
12:09 PM McDonaldsWiFi is now known as PublicWiFi
12:09 PM merethan_w: Sure there´s ways to work around these, but that makes it no longer count as ¨plug and play¨ or something along those lines.
12:10 PM merethan_w: Also, these things happening are not exactly my code, but due to how a compiler translates my stuff into instructions.
12:11 PM polprog: variables being optimized away? 'volatile' usually makes the compiler keep its hands away from them
12:11 PM merethan_w: It is all fair, but no less a pain in the ass :P
12:11 PM merethan_w: Yes that´s one of the tricks I employ.
12:12 PM merethan_w: It is 7PM here, time to get home.
12:13 PM merethan_w: More debugging tomorrow.
04:05 PM fengshaun_ is now known as fengshaun
10:45 PM nabil: Anyone of you had to use an IC for satellite communication, if did you use...or what was the result of your research ?