Search found 33 matches

by wgreiman
Thu Oct 27, 2011 5:57 pm
Forum: AVR Support
Topic: ChibiOS/RT on the Arduino
Replies: 2
Views: 3425

ChibiOS/RT on the Arduino

I have packaged ChibiOS/RT as an Arduino library. It runs on ATmega328, ATmega1280, and ATmega2560 standard Arduino boards. I have used ChibiOS/RT with my Arduino SD library to log analog pins to an csv file on an SD card at 976 samples per second with four analog values per sample. 976 Hz is the ti...
by wgreiman
Sun Oct 23, 2011 6:53 pm
Forum: General Support
Topic: Problem with ATmega2560
Replies: 2
Views: 1631

Re: Problem with ATmega2560

Thanks, I have the ATmega2560 working with small test programs. I have not dealt with EIND, the Extended Indirect Register. I assume it is zero for small programs. I added a byte to the extctx struct: struct extctx { uint8_t _next; uint8_t r31; uint8_t r30; uint8_t r27; uint8_t r26; uint8_t r25; uin...
by wgreiman
Sun Oct 23, 2011 3:51 pm
Forum: General Support
Topic: Problem with ATmega2560
Replies: 2
Views: 1631

Problem with ATmega2560

I have been able to get ChibiOS/RT working on Arduino ATmega328 and ATmega1280 processors but am having problems with the ATmega2560. I believe the problem is due to the fact that the ATmega2560 has a 17-bit program counter. Subroutine calls and interrupts push three bytes on the stack. RET and RETI...

Go to advanced search