Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | How to get the Machine Type?

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

How to get the Machine Type? - volunteer_sysu - Apr 3 3:51:46 2006

Hi,
I am trying to write a bootloader for a development kit based on
LPC2210. I have read some documents, from which I got to know I had to
initialize the Flash, ARM, the system clock and the also one UART.
After that, the bootloader should pass some kernel parameters to boot
the Linux kernel, and also the Machine Type. Can anyone tell me how to
abtain the Machine type with a algorithm? Any other method to get it?
And what's the Machine Type of LPC2210?

Please recommend me some useful documents on bootloader, thank you very
much!

Regards,

Kevin

Yahoo! Groups Links



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )


Re: How to get the Machine Type? - Tom Walsh - Apr 3 12:07:37 2006

volunteer_sysu wrote:

>Hi,
>I am trying to write a bootloader for a development kit based on
>LPC2210. I have read some documents, from which I got to know I had to
>initialize the Flash, ARM, the system clock and the also one UART.
>After that, the bootloader should pass some kernel parameters to boot
>the Linux kernel, and also the Machine Type. Can anyone tell me how to
>abtain the Machine type with a algorithm? Any other method to get it?
>And what's the Machine Type of LPC2210?
>
>
>
device_id_t deviceIDs [24] = {
{ 2104, 0xFFF0FF12 },
{ 2105, 0xFFF0FF22 },
{ 2106, 0xFFF0FF32 },
{ 2114, 0x0101FF12 },
{ 2119, 0x0201FF12 },
{ 2124, 0x0101FF13 },
{ 2129, 0x0201FF13 },
{ 2131, 0x0002FF01 },
{ 2132, 0x0002FF11 },
{ 2134, 0x0002FF12 },
{ 2136, 0x0002FF23 },
{ 2138, 0x0002FF25 },
{ 2141, 0x0402FF01 },
{ 2142, 0x0402FF11 },
{ 2144, 0x0402FF12 },
{ 2146, 0x0402FF23 },
{ 2148, 0x0402FF25 },
{ 2194, 0x0301FF13 },
{ 2210, 0x0301FF12 },
{ 2290, 0x0301FF12 },
{ 2212, 0x0401FF12 },
{ 2214, 0x0601FF13 },
{ 2292, 0x0401FF13 },
{ 2294, 0x0501FF13 },
};

>Please recommend me some useful documents on bootloader, thank you very
>much!
>
>
>
Look in the User Manual for the processor of interest. I wrote my IAP /
ISP programming utility from the info in the LPC2138 User Manual. You
have to tinker with it a bit to see what is the manual is telling you,
it is not quite intuitive (e.g. it does pass you back ascii chars, not
binary data bytes).

TomW

--
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

Yahoo! Groups Links



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )

Re: How to get the Machine Type? - volunteer_sysu - Apr 4 2:37:18 2006

Thank you!

Regards,

Kevin

--- In l...@yahoogroups.com, Tom Walsh wrote:
>
> volunteer_sysu wrote:
>
> >Hi,
> >I am trying to write a bootloader for a development kit based on
> >LPC2210. I have read some documents, from which I got to know I
had to
> >initialize the Flash, ARM, the system clock and the also one
UART.
> >After that, the bootloader should pass some kernel parameters to
boot
> >the Linux kernel, and also the Machine Type. Can anyone tell me
how to
> >abtain the Machine type with a algorithm? Any other method to get
it?
> >And what's the Machine Type of LPC2210?
> >
> >
> >
> device_id_t deviceIDs [24] = {
> { 2104, 0xFFF0FF12 },
> { 2105, 0xFFF0FF22 },
> { 2106, 0xFFF0FF32 },
> { 2114, 0x0101FF12 },
> { 2119, 0x0201FF12 },
> { 2124, 0x0101FF13 },
> { 2129, 0x0201FF13 },
> { 2131, 0x0002FF01 },
> { 2132, 0x0002FF11 },
> { 2134, 0x0002FF12 },
> { 2136, 0x0002FF23 },
> { 2138, 0x0002FF25 },
> { 2141, 0x0402FF01 },
> { 2142, 0x0402FF11 },
> { 2144, 0x0402FF12 },
> { 2146, 0x0402FF23 },
> { 2148, 0x0402FF25 },
> { 2194, 0x0301FF13 },
> { 2210, 0x0301FF12 },
> { 2290, 0x0301FF12 },
> { 2212, 0x0401FF12 },
> { 2214, 0x0601FF13 },
> { 2292, 0x0401FF13 },
> { 2294, 0x0501FF13 },
> };
>
> >Please recommend me some useful documents on bootloader, thank
you very
> >much!
> >
> >
> >
> Look in the User Manual for the processor of interest. I wrote my
IAP /
> ISP programming utility from the info in the LPC2138 User Manual.
You
> have to tinker with it a bit to see what is the manual is telling
you,
> it is not quite intuitive (e.g. it does pass you back ascii chars,
not
> binary data bytes).
>
> TomW
>
> --
> Tom Walsh - WN3L - Embedded Systems Consultant
> http://openhardware.net, http://cyberiansoftware.com
> "Windows? No thanks, I have work to do..."
> ----------------------------------------------------
>

Yahoo! Groups Links



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )