Project

General

Profile

Actions

Activating ARM9 with a working OS » History » Revision 3

« Previous | Revision 3/6 (diff) | Next »
Vanč Levstik, 10.12.2010 03:12


Activating ARM9 with a working OS

Basic concept

Hardware


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

Software

For programming the device we will be using AT91 In-System programmer SAM-BA.
We will also use U-BOOT as a second-step bootloader.
Our operating system will be Linux, kernel version 2.6.27.

Installing OS

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.

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

Updated by Vanč Levstik almost 14 years ago · 3 revisions