Mbed SDP-K1 / hardware USB driver / Error 0x80FF0100 /

Dear community,

I’m taking my baby steps and using MbedStudio1.30ARM Compiler 6.14 (all up to date).

I have an SDP-K1 board from Analog Devices featuring an STM32F469NI microcontroller.

I want to use the USB port (COM4) to communicate with the board with the PC.

When I run this simple code
#include “mbed.h”
#include “USBSerial.h”

DigitalOut led(LED1);
USBSerial pc(USBTX,USBRX);

int main()
{
while(1);
}

I have an error telling me this board does not have a hardware USB driver.

What I am doing wrong? Thanks in advance.

Hello,

If you want to use UART which is probably connected via DAP as a normal debug console, then you need different API - like I wrote here.
The USBSerial API is for on-chip USB interface.

BR, Jan

Thank you for your help. It works very well indeed.