How to Dynamically Update mbed via USB

I have a computer that needs to constantly scan online information and then in accordance to what has been found, the micro controller will act in a particular way.

However it seems that most micro controllers cannot be dynamically updated via USB cable. Is there a way to constantly give new instructions or commands to a previously uploaded program into the processor to make it do corresponding actions?

Hi Bob,

Is it possible to use if and/or switch statements to conditionally execute code when certain conditions are met?

If not, you could use a scripting language on the host machine that would dynamically adapt to your conditions and send values/commands to your board serially. Those values/commands could then trigger different behaviors in the microcontroller when read.

Sorry for the late reply. Let me know if you have any questions.

Sarah