mysmartgrid/hexabus — Issue #49: Flashing a Socket via Bootloader doesn't always work
Author: eBrnd
Created: 2012-01-11 15:08:54+00:00
State: open

I've tried flashing the Hexabus Plugs via the bootloader over the air a few more times. I have not yet figured out when it works and when it doesn't, but the particular image that is flashed onto the Plug seems to have some effect on it.

For example, I have an image of the firmware (current development branch) that makes the Plug behave strangely when flashed over-the-air: The Plug sometimes reboots after receiving a ping, the serial debug output stops working after a few requests from hexaswitch, and after a few more it also reboots. Receiving some network packets: Hang up or reboot, and so on...

The same image flashed with a JTAG onto the same plug works fine, but flashing it breaks the bootloader.

Disabling UDP_HANDLER_DEBUG in the hexabus_config.h seems to help: If I compile the same image with UDP_HANDLER_DEBUG set to 0, it works even when flashed via the bootloader.