Post Created date
Return from an ISR to a function different from where it is called. Possible ?
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...
Tuesday, 23 March 2021 - 06:48
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: 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...
Friday, 29 January 2021 - 05:30
MCU does nog boot without programmer attached
This may be problem with reset. Have You external pull-up resistor? How processor reacts to manual reset?
Wednesday, 13 January 2021 - 12:54
Is it a START ASF4 bug?
You may write your own function my_timer3_init(void) based on original and correct in it configuration generated by START to yours own needs. I often do this when START doesn't...
Thursday, 10 December 2020 - 05:44
Timers: enabling interrupt, yet still using poling?
Reaction to event often can be divided to two parts: action that must be done immediately and part that can wait some time. The first I usually do in interrupt, the second in loop...
Monday, 16 November 2020 - 11:48
SAMD21 with DFLL48M CPU clock throws hard fault
48 MHz clock can work only with wait states. Do You set it?
Thursday, 24 September 2020 - 12:07
What kind of sex do you prefer?
I use female connectors on board which is power source for the second one. It's a simple way to reduce damages from shortages of the supply pins when the boards are disconnected.
Monday, 21 September 2020 - 10:28