Same .elf when getting a larger memory variant? You must try to run code on the bigger one or VERY carefully compare datasheets or header files with registers definitions. For example ATmega16 and ATmega32 despite memory size...
Setting outputs on GPIO in code Try make a small temporary project, set this pin to push-pull in it and see in code preview what code is used by START to make this setting.
Data Organization for an existing Project? Compiler can put variables in memory in any order. But struct components are placed in it in order in they are declared. If You want put parameters and calibration tables in order...
Thursday, 18 March 2021 - 07:55
How to setup an own interupt routine with Atmel Start DrDatasalad wrote:Is there a way to prevent a certain driver file from beeing replaced?
Yes.
One way: Keep Your routine in other file. After reloading new file by Atmel Start...
Thursday, 25 February 2021 - 13:03
How to setup an own interupt routine with Atmel Start DrDatasalad wrote:In the startup file I did see the list of dummy handlers. When I remove the SERCOM device in the Atmel Start, is it then possible to overwrite this dummy...
Thursday, 25 February 2021 - 07:57
How to make a script for AVR programming on Ubuntu? I can't write about mfile because I don't use it. But when You has ready makefile file (it must have this name) generated by the mfile or manually, You must put it in folder with...
Saturday, 30 January 2021 - 19:56
How to make a script for AVR programming on Ubuntu? It has its own page on Github: https://gist.github.com/bradfordbarr/9182992. You can look on it directly in www browser. If You want any detailed information I will answer for...
Friday, 29 January 2021 - 08:52
How to make a script for AVR programming on Ubuntu? I use WinAVR Sample makefile for almost every my project for many years.
# WinAVR Sample makefile written 1;2by Eric B. Weddington, J.rg Wunsch, et al.
# Released to the Public...
You don't clear previous channel set in ADMUX. Try something like this: #define ADMUX_CFG 0x40 ... ADMUX = ADMUX_CFG | channel;
You must try to run code on the bigger one or VERY carefully compare datasheets or header files with registers definitions. For example ATmega16 and ATmega32 despite memory size...
You can detect backlight current. Or connect LCD R/W pin to processor input with enabled pullup. In the 2nd case if R/W pin is connected there is low level on the input (assuming...
Try make a small temporary project, set this pin to push-pull in it and see in code preview what code is used by START to make this setting.
If You write interrupt in assembler You can manipulate with stack. You may put false return frame on it and go to any place in program. You must change original return frame from...
Compiler can put variables in memory in any order. But struct components are placed in it in order in they are declared. If You want put parameters and calibration tables in order...
DrDatasalad wrote:Is there a way to prevent a certain driver file from beeing replaced? Yes. One way: Keep Your routine in other file. After reloading new file by Atmel Start...
DrDatasalad wrote:In the startup file I did see the list of dummy handlers. When I remove the SERCOM device in the Atmel Start, is it then possible to overwrite this dummy...
I can't write about mfile because I don't use it. But when You has ready makefile file (it must have this name) generated by the mfile or manually, You must put it in folder with...
It has its own page on Github: https://gist.github.com/bradfordbarr/9182992. You can look on it directly in www browser. If You want any detailed information I will answer for...
I use WinAVR Sample makefile for almost every my project for many years. # WinAVR Sample makefile written 1;2by Eric B. Weddington, J.rg Wunsch, et al. # Released to the Public...
This may be problem with reset. Have You external pull-up resistor? How processor reacts to manual reset?
Pages