DSO Quad serial port access

Compiling the test_flash_size code actually triggers an internal error in gcc 4.6.2, on “stack_pointer = &_estack;” in DS203/startup.c. I pulled in an __MSR_MSP() assembler function from the DS0201 code instead.

EDIT: This doesn’t happen when compiling “logic” which has the same code.

Now I try to write a string to the serial line, but I can’t get more than the two first characters through to my terminal emulator (gtkterm).

Hmm… I just bought the STM32F4-Discovery board that can be used as an SWD debugger. I see the SWD pins (PA13 and PA14) are used as GPIO input pins for the FIT and FUNC keys so SWD is probably disabled early in the bootloader in order to enable these keys. Anyone having experience with SWD on the Quad?