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.
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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.