Bootloader without uC reset

I have a bootloader that update my firmware via USB.

The problem is that the current bootloader (or most) reset the uC after update.

I can't allow the uC to reset since the host application has a handle to the USB. I can release the handle and capture it again but preferably not. The other reason is, that this is a for product, and on USB release and connect, the PC (Windows) makes that sound that might confuse the product user.

I did post a similar message on Silabs forum since it is an Silabs device (although 8051) and USB related.

Is there anybody who would be so kind to help me with this problem please.

I will give more info, if necesarry.

Thnx in advance

Parents
  • at issue here is a number of factors
    a) the bootloadre will use much of the DATA segment, so restarting where you left off is impossible
    b) the bootloader will affect many SFRSs so restarting where you left off is impossible

    It IS possible (someone did it for some chip using serial) to handcraft your own bootloader, but it is not a task you should take lightly

    Why is it a problem that you must let the user know that an update "makes that sound". The user should know that updating is not 'normal operation'. I hope the user does not have to update on a regular basis.

    Erik

Reply
  • at issue here is a number of factors
    a) the bootloadre will use much of the DATA segment, so restarting where you left off is impossible
    b) the bootloader will affect many SFRSs so restarting where you left off is impossible

    It IS possible (someone did it for some chip using serial) to handcraft your own bootloader, but it is not a task you should take lightly

    Why is it a problem that you must let the user know that an update "makes that sound". The user should know that updating is not 'normal operation'. I hope the user does not have to update on a regular basis.

    Erik

Children
More questions in this forum