Embedded Digital System                             

 
Embedded System Project

 

Hardware resource(*)

 

Components

68EZ328,system memory,ethernet controller

Memory map (why CSA0 overlap)***.

0x00000000-0x007fffff ram

0x10c00000-0x10dfffff flash

 

outline

uCsimm resource

Development routine

Bootloader

Development environment configure

 

Software resource

Bootloader(uCbootstrap)

Uclinux kernel (image.bin)

Romdisk.bin

 

Developing enviroment(*)

Host redhat linux, cross-compile-68k, mot2bin.exe, serial port.

Target ucsimm, bootstrap

 

Developing modes(*)

Bootstrap, bbug, bootloader, uclinux kernel

Bootstrap, bootstrap debugger, bootloader, uclinux kernel

Bootloader, uclinux kernel

 

Bootstrap debugger(*)

Ez328boot.pl(host) perl.

Base on target bootstrap(b-record,s-record)

Functions

How, instruction buffer(0xffffffaa)

Putc & getc

 

Bootloader(*)

Architecture

Base Functions

Develop functions

main

 

fuctions

Boardinit.s, .ram .rom

 

Flash memory(AT49BV1614)

Operation mode (amd )

Read, write, erase and protect

Memory.c flash.c

 

Ld file

.ld file

 

Make file

Boardinit.c

Make download, make run

 

Download your bootloader

Rx (binary image)

Bootloader.bin, version ram,mot2bin.exe

Goram (0x00020000).

 

Build enviroment

Host: linux, with ethernet and RS232, minicom, man

Target (ethernet port)

Rpm cdrom

Build work directory

Configure minicom, minicom –s

Build network (/etc/hosts, host)

 

Project:

Ucbootstrap

Modify the baseaddress and .ld file and makefile, load to ucsimm

Question: user mode, board.init.S can’t run.

Use ucsimm’s init. Only run your program.

The address is 0x00020000. Bin file.

Recommendation: use ,ultraedit, souceinsight, telnet, ftp and mot2bin. (2 machine, 1 ucsimm).

 

TOP  HOME

Embedded  Digital System Co.,Ltd. CANADA 嵌入数码系统公司 Email: embedigital@yahoo.com

copy right © 2002 All Rights Reserved