We are developing a board around iMX31, using Freescale iMX31 ADS
board as a reference board.
We are using WINCE 5.0 BSP for iMX31 ADS.
We are writing board bringup routines using iMX31 BSP. We shall be
testing each single
interface(for e.g SPI, UART etc.) on ADS without bootloader module.
My questions is:
1) Is there any standard method of doing so?
We are using ATK tool for downloading to internal RAM of iMX31 using
UART.
Till now we have done following:
1) We tried to use existing BOOTLOADER(EBOOT - C:\WINCE500\PLATFORM
\MX31\SRC\BOOTLOADER\EBOOT) code. Commented out the portion for
blcommon
library. We are using startup.s assembly file from existing BOOTLOADER
code.
2) We have gone through "How to Develop a Boot Loader" section of
bootloader
http://msdn.microsoft.com/en-us/library/ms903967.aspx
Thanks!
Why do you need that? Just use the bootloader and make your life easier.
Regards,
Fabio Estevam
Thanks Fabio for your reply,
There are 2 reasons to do this:
1) I want to test each module individually without interference of other module.
2) Right, now I am testing it from external RAM of 64 MB and I want to reduce code size so that I can run it from internal RAM of size 16K.
Till now I am able to reduce code size(eboot.nb0) to 40 KB.
In the final code I will be having
- linkage for C libraries for compilation and building
- register declarations for writing test routines