Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Operating System

Operating System

2008-10-22 by englsprogeny

I am thinking about playing with running an OS on my AVR projects. 
Any advice on the best ones?  I see that the WinAVR manual lists many
target operating systems:


AvrX
 
FreeRTOS
 
TinyOS  

Contiki 
XMK 

pico OS 
uSmartX
   
Super Simple Tasker (SST)
   
ChibiOS/RT 

It doesn't appear that any of these have a high level ARV API [limited
to scheduling only].


I play with ATMega8 and ATMega128.

Re: Initializing peripherals.

2008-10-26 by Don Kinzer

--- In AVR-Chat@yahoogroups.com, Alexandre GuimarĂ£es <listas@...> 
wrote:
>I did not find any references about initial state of the
>peripherals on the datasheet [...]
In the datasheet, in every instance where a register is described in 
detail, showing the bit assignments for all 8 bits, you'll find 
information about each bit's "Initial Value".  This tells you what the 
state of the register bit will be immediately after a reset.  In turn, 
the state of a periperal's control register bits will govern its 
initial state.

As long at that initial state is suitable for your application, you 
needn't do anything more.

Don Kinzer
ZBasic Microcontrollers
http://www.zbasic.net

Initializing peripherals.

2008-10-26 by Alexandre GuimarĂ£es

Hi,
 
	I think I basically know the answer but decided to ask anyway ! I
may be wrong :-)
 
	I am finishing a bootloader application for the ATMEGA324P and I
will read the program from an external Flash and will not use any on-chip
peripherals except for the SPI port. Do I have to initialize all the
peripherals ? I did not find any references about initial state of the
peripherals on the datasheet so I guess I will have to initialize them all
:-( The reason I am asking is because I am pretty short on program space and
I would love to hear from some of you that it is unecessary :-)
 
Best Regards,
Alexandre Guimaraes

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.