Skip to main content
Visitor II
January 26, 2007
Question

PQFBC enable question

  • January 26, 2007
  • 2 replies
  • 676 views
Posted on January 26, 2007 at 14:04

PQFBC enable question

    This topic has been closed for replies.

    2 replies

    d_steffenAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:35

    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.

    d_steffenAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:35

    Hello Zouh,

    this is not possible,

    its a company project.

    Best regards.

    [ This message was edited by: Barricade on 26-01-2007 18:35 ]