We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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 .
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.