The simpliest bootloader for LPC17XX

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The simpliest bootloader for LPC17XX

1,761 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by masterboy on Sun Feb 10 06:33:02 MST 2013
Hi,

I would like create bootloader for my LPC17XX but I dont know how :( Is it difficult? What is the simpliest bootloader?
0 Kudos
11 Replies

923 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by masterboy on Mon Feb 11 00:13:17 MST 2013
[B]To Zero:[/B] I do not kidding you but my english is not good. I am sorry. I will try it and I will see :)
0 Kudos

923 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Feb 10 11:40:41 MST 2013

Quote:
So I'll ask again, what's wrong with the bootloader built into the chip?    

:confused:


Quote: masterboy
I thought bootloader for USB

0 Kudos

923 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wrighflyer on Sun Feb 10 11:34:00 MST 2013

Quote: Zero
Wrong question :eek:
No, good old LPC17xx has just a simple ROM UART0 bootloader :(


OP asked for "simpliest" bootloader. In my experience UART is simpler than USb when it comes to bootloading ;-) So I'll ask again, what's wrong with the bootloader built into the chip?
0 Kudos

923 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Feb 10 11:09:57 MST 2013
So you are a beginner who wants to write an USB bootloader but doesn't want to read a working sample :confused:

Is this a language problem or are you just kidding me :confused:

UM10360 is describing Flash programming in Chapter 32 :)
0 Kudos

923 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by masterboy on Sun Feb 10 10:59:16 MST 2013
OK, I understand, but how can I create own bootloader with specific function. What is process? I found on the internet but I dont found nothing :( I would like to write own bootloaders ;)
0 Kudos

923 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Feb 10 10:36:48 MST 2013

Quote: masterboy
OK, but how can i create own bootloader?



Just import USB bootloader sample :eek:

...LPCXpresso_5.1.0_2048\lpcxpresso\Examples\NXP\LPC1000\LPC17xx\RDB1768cmsis2.zip\RDB1768cmsis2_usb_bootloader
0 Kudos

923 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by masterboy on Sun Feb 10 10:29:26 MST 2013
OK, but how can i create own bootloader? Is it the same as program user application?
0 Kudos

923 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Feb 10 10:16:35 MST 2013
Wrong question :eek:

Quote:

Don't the 17xx have a built in bootloader like the[COLOR=Red] newer[/COLOR] devices then?

No, good old LPC17xx has just a simple ROM UART0 bootloader :(
0 Kudos

923 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by masterboy on Sun Feb 10 10:11:23 MST 2013
I thought bootloader for USB. I am beginner in programming of ARM processors. How can I program a bootloader?
0 Kudos

923 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wrighflyer on Sun Feb 10 09:58:16 MST 2013
Don't the 17xx have a built in bootloader like the smaller devices then?
0 Kudos

923 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Feb 10 08:00:11 MST 2013

Quote: masterboy
I would like create bootloader for my LPC17XX...



Which kind of bootloader? UART? USB? CAN? Ethernet? E.T.:confused:


Quote: masterboy
Hi,
Is it difficult?



Difficult is relative, after working a few thousand hours with this stuff it shouldn't be too difficult :)

Sample: http://www.lpcware.com/content/nxpfile/an10866-lpc1700-secondary-usb-bootloader
0 Kudos