I want to divide internal ROM of STM32f030 using scatter file for custom boot loader. When the size of ROM for main application is less then 0x1000 its work properly but when i increase the size from 0x1000 the keil MDK v5 debugger generate hard fault error. Please also tell we should I also need the RAM for custom bootloader.