In Circuit Programming of LPC2368 Flash via USB

Hi there, I need to develop in circuit flash programming and debugging via USB for my LPC2368 based project.
Please may i know the procedure .

Parents
  • Exactly why do you need to debug the processor through the USB interface - or may you be thinking about using the USB-connected ULINK2 to debug through the JTAG interface?

    In circuit debugging through USB will not be easy. It is easy to add a "menu system" in the application, that may let you read and write data and issue commands, but to my knowledge the NXP firmware doesn't contain any helpers for doing any USB-based debugging.

    I think you would have really interesting times trying to implement it yourself.

    As for in circuit programming, that is quite simple, as long as you write a small boot program that takes care of the USB interface and then calls the NXP monitor program to flash the individual pages you receive.

Reply
  • Exactly why do you need to debug the processor through the USB interface - or may you be thinking about using the USB-connected ULINK2 to debug through the JTAG interface?

    In circuit debugging through USB will not be easy. It is easy to add a "menu system" in the application, that may let you read and write data and issue commands, but to my knowledge the NXP firmware doesn't contain any helpers for doing any USB-based debugging.

    I think you would have really interesting times trying to implement it yourself.

    As for in circuit programming, that is quite simple, as long as you write a small boot program that takes care of the USB interface and then calls the NXP monitor program to flash the individual pages you receive.

Children
More questions in this forum