2007-01-26 05:04 AM
2011-05-17 12:35 AM
Hello at all,
I use Keil MDK 3.04 in 2 target configurations: 1. Download to FLASH Code : 0x0000000-0x0088000 512 KByte FLASH Data : 0x4000000-0x4018000 96 KByte SRAM 2. Download to RAM Code : 0x0000000-0x0000400 1 KByte FLASH Code : 0x4000000-0x0010000 64 KByte SRAM Data : 0x4010000-0x4018000 32 KByte SRAM The first configuration is for the destination target, but if I use it for debugging, I can only have 2 hardware breakpoints. The second configuration is only for debugging with so many breakpoints I want. The first code page in FLASH is needed for the reset and interrupt vectors and some initialisation code required from the code in the Keil Str9x.s startup file. Now my question : In the Keil Str9x.s startup file I can enable/disable the PQFBC feature of the STR912 micro. In my first configuration (Download to Flash) everything is fine, and working, PQFBC enabled or disabled. In my second configuration (Download to RAM) only disabled PFQBC is working, enabling the PQFBC crashed the application. After some checks, I rich the size of the first area, Code : 0x0000000-0x006000 xx KBytes FLASH), with the result, that my timer interrupt function are running not more in SRAM and now running in FLASH, the application don't crashed any more. Can someone explain me this behavour, and how can I use the PQFBC feature running completely in RAM. Best regards D.2011-05-17 12:35 AM
Hello Zouh,
this is not possible, its a company project. Best regards. [ This message was edited by: Barricade on 26-01-2007 18:35 ]