Post Created date
Help with debugging: interrupt does not get handled
Well, I've found the error and worked around it. It's in a 3rd party library that I've been using for years but never this particular path through the code. I've...
Monday, 5 July 2021 - 10:59
Help with debugging: interrupt does not get handled
grohote wrote: obdevel wrote:It's just another AVR with more memory, pins and timers. Pay the price, then, for shoveling the software in. This buffer that does not works- can you...
Sunday, 4 July 2021 - 19:34
Help with debugging: interrupt does not get handled
Yes, I deliberately flip-flop the LED rather than pulse it. It's initialised on and each subsequent interrupt flips in on to off, off to on, etc, etc. Again, this works for the...
Sunday, 4 July 2021 - 19:31
Help with debugging: interrupt does not get handled
N.Winterbottom wrote: obdevel wrote:When I say 'stops working', the ISR doesn't run Now which ISR might that be ? You neglected to tell us.   Is ISR Code short enough to post...
Sunday, 4 July 2021 - 17:16
Help with debugging: interrupt does not get handled
grohote wrote: Seems that an Arduino on ATmega1284P is at the brink of the code integrity.   I'm not sure what the processor has to do with it, other than it's...
Sunday, 4 July 2021 - 17:01
Help with debugging: interrupt does not get handled
ka7ehk wrote: If it stops executing the ISR when code is added, then very likely the code is doing something to prevent it. I would check that the global interrupt enable is on....
Sunday, 4 July 2021 - 00:28
Help with debugging: interrupt does not get handled
mike32217 wrote: Take things out until it starts to work then add back one by one until it quits.   What I was hoping to avoid with a slightly more intelligent approach, but...
Sunday, 4 July 2021 - 00:25
DISASSEMBLING AN ARDUINO IDE CREATED CODE
Some Arduino cores (e.g. MightyCore for 644/1284/etc) do produce an annotated dissembler listing, via avr-objdump and some magic in the platform.txt file.   Paradoxically, I'...
Thursday, 24 June 2021 - 10:44
What should I buy to do a basic project based on CAN protocol 
Just be aware that you will need two nodes unless you're happy running a single node in loopback mode, but this won't give you an actual 'bus' to play with and you won't learn...
Wednesday, 23 June 2021 - 15:18
Ethernet Shield recommendations
There are various boards around that combine a 328P and one of the ESPs for wireless access. e.g. https://www.ebay.co.uk/itm/31356... (from China).   There is an...
Friday, 18 June 2021 - 20:18
DS 3231
This is the approach I take *even* when working in the Arduino environment. Most Arduino libraries are bloated with unused functionality ('kitchen sink' mentality), so I just take...
Friday, 11 June 2021 - 12:19
Programming ATtiny85
The IDE menu item 'Sketch->Export compiled Binary' will save the .hex file in your project folder, saving you the need to repeat the compilation step.   Then, write a...
Monday, 7 June 2021 - 23:51

Pages