8 years, 10 months ago.

0x0000 Sent on Reset Over Serial

Does anyone know why Serial sends two 0x00 bytes after every reset? Just using this simple program and monitoring the serial port at 9600 baud, you can see that it sends two null bytes every single time the reset button is pressed. It's a little inconvenient, does anyone know why this happens?

#include "mbed.h"

Serial pc(USBTX, USBRX);

int main()
{
    while(1)
    {
    }
}
Be the first to answer this question.