Type in the full discussion title or a part of it.
Discussion Title Created date
ATmega324PB, How to do power trace layout for two VCC pins on PCB?
Hi everyone, I have one ATmega324PB on PCB in TQFP package, it has two VCC pins to which I have to route +5V trace. Trouble is that they both are on the opposite side of each...
Thursday, 17 June 2021 - 11:24
[C] Absolute fastest way to zero/clear a large array but also save some program space by using ST instead of STS
Hello everyone.   Here is something that I found on one of my programming endeavor's. There was a task where I had to clear/fill an array with zero's as fast as...
Friday, 21 May 2021 - 15:07
Is it important to erase all program memory before flashing new application from bootloader?
Hi, I am on my path to write my first bootloader.   Q.1 One question is do you erase all the flash memory before writing? Or just enough pages which the...
Saturday, 1 May 2021 - 02:36
How to tell complier/linker to not generate code beyond this memory address?
Hi everyone,   I have read on the forum many times to build the application and bootloader in separate projects. Following that approach I realized if (application)...
Thursday, 29 April 2021 - 05:18
FTDI RS232 breakout board connection with AVR
Hi everyone,   I am having trouble wrapping my brain around this. I have this generic FT232RL USB to UART Serial Adapter. Want to test my bootloader for loading firmware but...
Saturday, 24 April 2021 - 20:39
How to prevent your code from executing on another same microcontroller?
Greetings everyone,   I am currently designing a module (a led sequencer), which I am unsure how to sell/distribute. In the end microcontroller could be any of megaAVR series...
Monday, 12 April 2021 - 21:53
Questions regarding splitting project into multiple files !!!!
I have some confusion that I want to clear out. Recently my project got somewhat big and I can't manage it in a single C file, so I split it into multiple files, which raises some...
Sunday, 4 April 2021 - 17:34
Return from an ISR to a function different from where it is called. Possible ?
Hi everyone,   My weird programming style has led me to a problem. I don't know if it's possible or not but here it is. As far as I know normally when an ISR fires, upon it's...
Tuesday, 23 March 2021 - 04:57
Not able to read bits from const __flash variable using SBIT macro
I trying to read two bits at a time from variables in flash memory.   Using Atmega328p Example :- #include <avr/io.h> #define SBIT(port,pin) ((*(volatile...
Friday, 13 March 2020 - 22:38
Help! Lowering clock cycles for sequential/random led controller
Hi,   I am attempting to make a 8 channel (for now) sequential LED controller code. On atmega328p running at 16MHz. I am using bit angle modulation (BAM) for 8 pwm...
Sunday, 8 March 2020 - 21:58
Getting high AC Voltage, is it okay to power my oscilloscope?
Hi guys,   I just got my new oscilloscope. The voltage at my mains is more than what is required on Oscilloscope.     And this is what I'm getting right now, but...
Thursday, 27 February 2020 - 09:42
Classic atmega which supports TWI/I2C fast mode plus 1MHz speed ?
Hi, As I just found out that bottleneck in my project turns out to be i2c speed. Right now I am running i2c bus at 400kHz with atmega328p which is running at 16MHz. My slave...
Sunday, 8 December 2019 - 07:12

Pages