Hi, I tried to search application note regarding Code loader somewhat like AN112 but specific to USB with sample code in C, I can't find it in the net and in silabs site. Can anybody point me to where it is located, if this file exist?
thanks g
There is no general solution: the 8051 architecture has no way to write to CODE space - so this relies entirely upon the specific features of your particular system.
You need to look at the specific documentation for the actual chip that you are using.
Thanks Andrew for quick reply. Its c8051f387. And I will try to create a boot loader that will listen to usb port.
I will try to create a boot loader that will listen to usb port.
a bootloader MUST be independent of the app code and, with USB, can be quite voluminous. do you have enough room or boot and app in the 32k the '387 has or should you consider switching to a '385
Erik
hi Erik, 32k of f387 is enough I think and much cheaper compared to f385. Do you know of any guide to create a boatloader for this kind of uC?
thanks gp
Do you know of any guide to create a boatloader for this kind of uC?
no, but here
www.cygnal.org/.../Ultimate.cgi
you can do a search on bootloader and "collect your own guide" from the many posts (some from me)
Thank you very much Erik and the rest.