Hi all,
I have been looking for some way to get firmware via usb to my flash without too too much difficulty. I have seen the TNKernel example, but is looks to be a bit of a learning curve to integrate to what I have for application code.
I was thinking about the USBMEM mass storage example.
It seems limited to 16K of RAM of the LPC2148, but could this be used to make a simpler flash ‘replacer’ for the LPC firmware?
I thought there was a way to peer inside of the LPC flash and registers via USB somewhere.
Thanks for any ideas, and what dou you think is the best plan of attack for USB firmware upgrade so far?
Steve
I have looked into doing this solution in the past and I currently haven’t found the need to do it. It would take a lot of work, because you have to do quite a bit to get it up and running. First, you have to set up USB on your LPC2148 (which you can do with Bertrik’s lpcusb). Then you have to write a bootloader to go in your LPC2148 (you would have to have program it the old fashioned way at least once to get the bootloader in there). Then, you have to write USB driver code on the PC that will transfer the code to the 2148. It’s a lot of work, but if you’ve already got USB going on your particular chip, then it shouldn’t be too much more work. It would probably also help to have some knowledge of programming USB on the PC (libusb for the PC is probably helpful here).