User Activity

Suppose I define a global array called DATA in a .c file for an STM32F103 like so:#include ... uint32_t DATA[0x1000] = { // data goes here }; int main(){ // main }Questions.0) Where does DATA get stored? Flash or SRAM? Or somewhere else? (Is th...
I want to send USB HID Reports as fast as the MCU or the USB protocol allows. In order to send an USB HID Report on an STM32F103 I'm doing something like: USBD_HID_SendReport(&hUsbDeviceFS, (u8*)&report,sizeof(report)); HAL_Delay(some_delay); or even...
I have a USB HID Device STM32CubeIDE project with the following USB HID Report Descriptor   0x05,0x01, // Usage Page: Generic Desktop Page (0x01), page HID Usage Tables 1.4 0x09,0x06, // Usage: Keyboard (0x06) 0xa1,0x01, // C...
I'm using an STM32F103C8 and I have an array of unit8_t that I want to save to a particular position in flash memory, where such position is specified at compile/link time. Eg. suppose the application resides in flash memory from position 0x08000000 ...
How can you write a program that updates itself for an STM32, eg. for an STM32F103C8?I'm not talking about a bootloader, since (as far as I know), a bootloader lives from (say) 0x08000000 to 0x08001000 in Flash and then updates another program (anoth...
Kudos from