This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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
  • Actually,my project SRS demands a debug feature.
    But, i would like to get started with in circuit programming via USB before trying to implement the debug part. As iam a novice, Please can you elaborate or point me to some application notes/links regarding in-circuit programming via USB.

Reply
  • Actually,my project SRS demands a debug feature.
    But, i would like to get started with in circuit programming via USB before trying to implement the debug part. As iam a novice, Please can you elaborate or point me to some application notes/links regarding in-circuit programming via USB.

Children
  • For in-circuit programming, look for examples that performs in-circuit programming using the serial port, and look for examples that uses the USB port.

    You will have to write a program that takes the data from the USB buffers, and call the monitor flash functions, i.e. glue together the two different functions. There is no much difference for doing in-circuit programming using USB, serial port, I2C, SPI etc. Just different front-end interface for fetching the new data.

    Other people must probably jump in here, but I haven't seen any available examples for a USB-based debugging kernel. If you are new on the ARM architecture, then I really think that you have to tell your supervisor that an in-circuit USB debuging interface is no easy thing to implement. Because of the complexity of the USB interface, it may not even be possible to implement without affecting the main program too much...

    Creating a simple menu/monitor system for reading/writing blocks of data, activate factory-test routines etc is quite simple to do. However, there is a reason why people buy hardware dongles to debug chips using the JTAG interface...

  • Follow the link:
    www.tnkernel.com/usb_fw_upgrader.html
    Here is the complete USB bootloader project.

  • Iam planning to implement ISP via USB using GNU Compiler
    in Keil uVision3(V3.53)
    I need your suggestions whether it is possible or whether there are any limitations with respect to Memory and Linker settings while using the GNU Compiler.