Hi,
I would like to know if it is possible to write/read text in a file (.txt) saved in a PC directory by using the STM32L100 code. Knowing that the board is always connected to the PC with a USB cable.
Thank you in advance for your help.
You can do this with semihosting via the debugger.
https://www.keil.com/support/man/docs/armcc/armcc_pge1358787046598.htm
Otherwise, you would have to have some app on the PC, and use the USB to communicate between the app and the microcontroller.
Is it possible to create the app and communicate with the USB knowing that there's no Virtual Com Port available for the STM32L100?
sure - you'd just have to work with whatever USB device profile(s) is/are available