You are not logged in.

#1 2011-01-25 11:08:55

UQ-igor
Member
Registered: 2009-03-05
Posts: 42

Arduino on Arch 64 supercharged!?

Hi,

I've managed to get the Arduino IDE (0021) from AUR to work on Arch 64bit system. I input the blinking LED sketch into the IDE, it compiled and uploaded to the board (Arduino Mega1280) without problems.

However, it runs in turbo boost. Using the delay(1000) function which is supposed to introduce a delay of 1 second, results in the LED blinking MUCH faster than once per second - probably at around 10Hz (10 times per second). Compiling and uploading the same sketch on windows works fine. Also, changing the delay to, for example, delay(5000) slows down the blinking rate (still faster than once per second tho).

The question is why is this happening? How to fix it? How can I ever trust it again?

Thanks for any suggestions in advance,
-Igor

Offline

#2 2011-01-25 11:41:33

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Arduino on Arch 64 supercharged!?

i havent used an arduino board, but ive used avr microcontrollers in the past:

check if the hfuse and lfuse match the ones being set by the arduino ide. its probably that.

for more info on the hfuse and lfuse, read the avr datasheet wink

Offline

#3 2011-01-25 12:11:00

UQ-igor
Member
Registered: 2009-03-05
Posts: 42

Re: Arduino on Arch 64 supercharged!?

Hi eldragon,

I've looked through the datasheet regarding fuses, and from other reading I think the arduino IDE does not touch the fusees at all since it does not use a hardware programmer, but programs the MCU through a bootloader preloaded on the chip.

I suspect it might be an avr library issue, but I'm pretty new to the MCU scene so this might be totally off track.

-Igor

Offline

#4 2011-01-25 12:43:34

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Arduino on Arch 64 supercharged!?

then i dont think i can help you further, sorry

Offline

Board footer

Powered by FluxBB