Replies: 16 comments 1 reply
-
Any chance you're not using setup()/loop() and instead using main()? For elimination of any doubt, post a code example. |
Beta Was this translation helpful? Give feedback.
-
I'll try it on the 1.8 and post it here. |
Beta Was this translation helpful? Give feedback.
-
That's pretty annoying. The 826 uses a different core. Which version of the Dx core do you have installed? |
Beta Was this translation helpful? Give feedback.
-
Mmmm, ok. I've got a DA28 board that runs fine and uses millis() quite a bit. However, I'm running it at 16MHz (neopixel library doesn't seem to be happy with 24MHz). Also, I'm not using optiboot. |
Beta Was this translation helpful? Give feedback.
-
OK, I'll try it now at 16mhz and no bootloader. |
Beta Was this translation helpful? Give feedback.
-
New problem, when I program directly without bootloader, Serial.print does not work anymore.... |
Beta Was this translation helpful? Give feedback.
-
I also have AVR128DB28 available, but it needs to be soldered on the board. I will do it a little later and check its behavior. |
Beta Was this translation helpful? Give feedback.
-
I tested AVR128DB28 - everything is fine, both with bootloader and without bootloader everything works! I tried another AVR32DA32 - does not work normally. I think the problem is in DxCore, right? |
Beta Was this translation helpful? Give feedback.
-
Is it possible that you MCU is rebooting after one iteration of the loop? |
Beta Was this translation helpful? Give feedback.
-
When loading a sketch without a bootloader, the MCU keeps resetting. This can be seen by a slightly glowing LED
|
Beta Was this translation helpful? Give feedback.
-
Who else would check avr32da32, that would be great. But 99.9% it's a kernel bug. |
Beta Was this translation helpful? Give feedback.
-
for me this looks like interrupts are not working correctly. Try adding this to setup:
and that at the end of the sketch.
Substitute PORT letter and Pin Number to whatever is available. A button or Wire on Input and an LED or something on the output. If it is indeed not working, try adding a |
Beta Was this translation helpful? Give feedback.
-
Hi all, I made a board on AVR32DA32, installed kernel v.1.5.11, in Arduino IDE 2.3.3.
When using millis()/micros() functions - they do not work. Changed different settings and selected different timers from the menu - no help. What can you think of?
Beta Was this translation helpful? Give feedback.
All reactions