usb host or no host on LPC2387 and LPC2361 / boot

Hello,

can anybody explain me why I can find in the docs of LPC2387 and LPC2361:
"USB 2.0 device/host/OTG with on-chip PHY ...."

and in the "UM10211 from nxp" (user manual for 23xx) in chapter 13, usb host controller:
"The USB host controller is available on the LPC2388 _only_"

I want to boot from a usb stick for update the firmware of my application. Is there any solution to boot from usb stick with LPC2387 and LPC2361?
If not: is it possible with sd-card?

Thank you very much for any links, code, hints whatever.

Greetings from germany,
Treess

Parents
  • The version of the manual I have says:
    "An initial LPC2364/65/66/67/68/77/78/87/88 User manual revision"

    NXP is merging quite a lot of chip variants into the same user manual, and you must then keep track of differences between 100 and 144 pin variants and what building blocks the different variants has.

    One of the first sections "How to read this manual" enumerate the variants and what block diagrams and ordering options that are applicable.

    Relevant summaries are:
    - On LPC2364/66/68, LPC2378, LPC2387, LPC2388: USB 2.0 device controller with on-chip PHY and associated DMA controller.

    - On LPC2388: USB Host/OTG controller.

    - On LPC2367/68, LPC2377/78, LPC2387, LPC2388: Secure Digital (SD) / MultiMediaCard (MMC) memory card interface.

    I don't know what a LPC2361 is, but LPC2387 can't work as USB host - only device. The LPC2387 does have the SD interface.

    But one thing to think about - you don't normally boot from USB or SD - the processor can't run instructions from such memory. You can write a boot loader that copies a program into RAM and run from there (but that seriously limits the allowed program size) or instead copies a program from the USB/SD into the internal flash. This can allow the processor to check on every boot if you have connected a USB memory or SD card with a more recent application that should be programmed.

Reply
  • The version of the manual I have says:
    "An initial LPC2364/65/66/67/68/77/78/87/88 User manual revision"

    NXP is merging quite a lot of chip variants into the same user manual, and you must then keep track of differences between 100 and 144 pin variants and what building blocks the different variants has.

    One of the first sections "How to read this manual" enumerate the variants and what block diagrams and ordering options that are applicable.

    Relevant summaries are:
    - On LPC2364/66/68, LPC2378, LPC2387, LPC2388: USB 2.0 device controller with on-chip PHY and associated DMA controller.

    - On LPC2388: USB Host/OTG controller.

    - On LPC2367/68, LPC2377/78, LPC2387, LPC2388: Secure Digital (SD) / MultiMediaCard (MMC) memory card interface.

    I don't know what a LPC2361 is, but LPC2387 can't work as USB host - only device. The LPC2387 does have the SD interface.

    But one thing to think about - you don't normally boot from USB or SD - the processor can't run instructions from such memory. You can write a boot loader that copies a program into RAM and run from there (but that seriously limits the allowed program size) or instead copies a program from the USB/SD into the internal flash. This can allow the processor to check on every boot if you have connected a USB memory or SD card with a more recent application that should be programmed.

Children
More questions in this forum