Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

what is BSP and how to write a BSP for a new Board?

Status
Not open for further replies.

helios

Full Member level 2
Full Member level 2
Joined
Jun 3, 2005
Messages
146
Helped
22
Reputation
44
Reaction score
10
Trophy points
1,298
Activity points
2,798
what is bsp

I need some info about writing a Board Support Package for a new board with ARM 7 TDMI.

what is BSP and how to write a BSP for a new Board ?
 

what is a bsp

Hi

BSP - Board support package is a collection of functions & subrotuine for supporting hardware peripheral

this function are indevidual to eatch processor and some time supplyed by the comapny

see at www.ti.com for the TMS470 arm chip bsp on site

all the best

Bobi
 

how to write bsp

Board support package (BSP) are libraries primarily written in ANSI C for a particular processor which acts as a interface between the generalized C compiler and target processor.

Regarding ARM7TDMI ATMEL have BSP for their EB40 boards.and the compiler supported is Codewarrior from Metrowerks.
 

how to write a board support package

A board support package is the layer that sits directly above the hardware and below the RTOS kernel. It provides as abstraction from the hardware. Writing a BSP is different for different RTOSs. However, it will almost always involve initial bootup, hardware initialization and then placing a call to the kernel inititalization and spawning the root task. The BSP is written according to the hardware present on the board.

For your case, you need the basic bootup code which would be in assembly. This code can either be found from Net (with luck) or may need to be written (by reading the microprocessor manual). This code should perform minimal bootup (disable interrupts, initialize RAM and other basic tasks as specified by the manual) and then call C routine to carry forward. We call C routine to make it easy to write code. It may not be necessary. Check with your particular RTOS BSP Developer manual to see if it is required.

From this point onwards, its all C code to initialize all the hardware and then initialize the Kernel.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top