LPC2101/2103 bootloader over SPI

Hello all,

Just wondering if anyone has implemented a LPC bootloader over SPI. I would like to use SPI because my bigger microprocessor will connect to the LPC over SPI.

Please if can point me to any application notes or articles/source codes to do this.

Another approach is to use the JTAG. has anyone see code to do JTAG from one micro to another?

Please let me know.

Regards,

Hi

I think that a problem with a boot loader in the LPC2101 will be the FLASH space that it requires. This will occupy at least one of the two FLASH sectors and quite severely limit the remaining code space.

Why not use UART0 since the chip already contains everthing that you need? We have a project where a larger processor stores the code for an LPC2101 and can upload this to new boards (when they are not yet programmed) or update the software when boards are attached with older versions. This is not that complicated to perform since the internal ISP loader is well documented.

The problem with JTAG (apart from the quite difficult development) is that this requires the pins to be configured (usually with a jumper) or else they have to be sacrificed for this dedicated function - if the processors are a long way apart (UART will work over fairly long distances) JTAG will become increasingly more unreliable (local on-board however not an issue).

Regards

Mark

http://www.uTasker.com

PS. If you have a commercial project where this functionality is required we can offer a solution.

PPS. We also have a complete solution for LPC devices from the LPC2101 up to the LPC23XX