; ======================================================== ; bdiGDB configuration for STMicro STM32F0-Discovery board ; ======================================================== ; ; [INIT] WREG sp_main 0x20001ffc ;set Main SP to internal SRAM WREG sp_process 0x20001ffc ;set Process SP to internal SRAM ; [TARGET] CPUTYPE CORTEX-M0 CLOCK 8000000 ;JTAG clock 8MHz POWERUP 2000 ;start delay after power-up detected in ms RESET HARD 100 ;assert reset for 100 ms WAKEUP 100 ;wait after reset released STARTUP HALT ;halt immediately at the reset vector ENDIAN LITTLE ;memory model (LITTLE | BIG) BREAKMODE SOFT ;SOFT or HARD MEMACCESS AHB 2 ;memory access via AHB (16 TCK's access delay) [HOST] PROMPT STM32F0> FILE E:/temp/dump16k.bin FORMAT BIN 0x20000000 [FLASH] WORKSPACE 0x20000000 ;workspace in internal SRAM CHIPTYPE STM32F0 CHIPSIZE 0x10000 BUSWIDTH 16 FILE E:/temp/dump16k.bin FORMAT BIN 0x08008000 ERASE 0x08008000 0x400 16 [REGS] FILE $regSTM32F0.def