Activating ARM9 with a working OS » History » Revision 3
Revision 2 (Aleksander Bešir, 30.11.2010 10:41) → Revision 3/6 (Vanč Levstik, 10.12.2010 03:12)
h1. Activating ARM9 with a working OS
{{toc}}
h2. Basic concept
h3. Hardware
!http://www.shrani.si/f/2A/128/4kJtfyhW/arm-picture.jpg!
We will be using FRI-SMS 32-bit microcontroller based on AT91SAM9620 chip from ARM9 family. It has fast ROM and RAM memories and embedds Ethernet MAC, one USB Device Port, and a USB Host controller. It also integrates several standard peripherals, such as the USART, SPI, TWI, Timer
Counters, Synchronous Serial Controller, ADC and MultiMedia Card Interface.
More about microcontroller can be found in "Manual":http://laps.fri.uni-lj.si/fri-sms/datoteke/AT91SAM9260.pdf
h3. Software
For programming the device we will be using AT91 In-System programmer "SAM-BA":http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3883.
We will also use "U-BOOT":http://www.denx.de/wiki/U-Boot as a second-step bootloader.
Our operating system will be Linux, kernel version 2.6.27.
h2. Installing OS
h3. Concept
FRI-SMS is built, so it boots from integrated ROM memory. It looks for bootloader into serial flash memory, if it is found it loads into internal SDRAM. This first-step bootloader then sets SDRAM controller and loads second-step bootloader(U-BOOT) into external SDRAM end executes it.
Second-step bootloader takes care of other microcontroller settings and runs the OS.
If bootloader is not found in ROM it searches for bootloader thtrough USB interface and then through RS232 interface and waits there in loop.
h3. Loading software into flash ROM memory
* Installing SAM-BA
After installing SAM-BA we have to set the drivers correctly. SAM-BA is based on setting connection throuogh COM port, so we have to install a driver which sets the PC, so it recognizes the USB as COM port. SAM-BA install includes a driver, but it does not work on x64 based operatin systems such as Windows Vista 64-bit and Windows 7 64-bit
With SAM-BA we establish a connection between