This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

STM32f1 option bytes

is there a means of including an option byte set (here: hardware watchdog) in a Keil build for the STM32f1xx?

Erik

Parents
  • I include this in the .s

    DATA0           EQU     0xFF
    DATA1           EQU     0xFF
    nDATA0          EQU     DATA0:EOR:0xFF
    nDATA1          EQU     DATA1:EOR:0xFF
    
                    AREA    |.ARM.__AT_0x1FFFF800|, CODE, READONLY
    
                    DCB     DATA0, nDATA0, DATA1, nDATA1
    


    I then do a build and a flash download, among the messages I get this

    "......axf" - 0 Error(s), 0 Warning(s).
    
    Load "......AXF"
    No Algorithm found for: 1FFFF800H - 1FFFF803H
    

    Then I click "enter debug" and a grey box appear

    Error: Could not load file ......AXF
    

    something is screwy
    a) it reports "Load "......AXF"" while loading and report same file "can not load" on debug entry
    b) the Configuration Wizard only show stack and heap

    paths and filename is identical, replaced by .... for nondisclosure reasons

    what is wrong?
    OR
    is there a way to make the Configuration Wizard show more than stack and heap?

    Erik

Reply
  • I include this in the .s

    DATA0           EQU     0xFF
    DATA1           EQU     0xFF
    nDATA0          EQU     DATA0:EOR:0xFF
    nDATA1          EQU     DATA1:EOR:0xFF
    
                    AREA    |.ARM.__AT_0x1FFFF800|, CODE, READONLY
    
                    DCB     DATA0, nDATA0, DATA1, nDATA1
    


    I then do a build and a flash download, among the messages I get this

    "......axf" - 0 Error(s), 0 Warning(s).
    
    Load "......AXF"
    No Algorithm found for: 1FFFF800H - 1FFFF803H
    

    Then I click "enter debug" and a grey box appear

    Error: Could not load file ......AXF
    

    something is screwy
    a) it reports "Load "......AXF"" while loading and report same file "can not load" on debug entry
    b) the Configuration Wizard only show stack and heap

    paths and filename is identical, replaced by .... for nondisclosure reasons

    what is wrong?
    OR
    is there a way to make the Configuration Wizard show more than stack and heap?

    Erik

Children