MDK 4.54: Issues with watch window / system viewer

In my project (STM32F407, MDK-ARM4.54) I cannot change the values of peripheral registers in the watch window. The values are displayed correctly, but I cannot change them. (e. g. ADC1->JSQR - channel selection register of ADC1). Possibly it is due to the variable range (0x40000000 compared to 0x2000000)? The normal variables work well now, also the static members of classes, thank you very much.

I tried to open the system viewer to have a look at the ADC1 module there, but the system viewer sub-menu in MDK-ARM4.54 is displayed empty (not any sub-entries) - in earlier versions I think I could have a look at the controller modules there.

PS: It is not ultimately required for me, to change values of peripheral registers in the watch window, I can live with MDK 4.54 well - just it would be helpful, if this would work.

Parents
  • Hi,

    > I tried to open the system viewer to have a look at the ADC1 module there, but the system
    > viewer sub-menu in MDK-ARM4.54 is displayed empty (not any sub-entries) - in earlier
    > versions I think I could have a look at the controller modules there.

    ST changed the naming and grouping of the SVD files (we convert them to .sfr files), so we cleaned up the directory and file structure for ST MCU's System Viewer Descriptions.
    For existing projects the change to the new file must be done manually.

    Please select from UV4 main menu:
    Project -> Options for Target "...", and select the Tab "Target".

    On "System-Viewer File (.Sfr):" click on the File open button (the one with the three dots) and select:
    <Keil Dir>\ARM\SFD\ST\STM32F4xx\STM32F40x.SFR

    i.e.:
    C:\Keil\ARM\SFD\ST\STM32F4xx\STM32F40x.SFR

    Now you should have your System Viewer back.

    .
    BR,
    /th.

Reply
  • Hi,

    > I tried to open the system viewer to have a look at the ADC1 module there, but the system
    > viewer sub-menu in MDK-ARM4.54 is displayed empty (not any sub-entries) - in earlier
    > versions I think I could have a look at the controller modules there.

    ST changed the naming and grouping of the SVD files (we convert them to .sfr files), so we cleaned up the directory and file structure for ST MCU's System Viewer Descriptions.
    For existing projects the change to the new file must be done manually.

    Please select from UV4 main menu:
    Project -> Options for Target "...", and select the Tab "Target".

    On "System-Viewer File (.Sfr):" click on the File open button (the one with the three dots) and select:
    <Keil Dir>\ARM\SFD\ST\STM32F4xx\STM32F40x.SFR

    i.e.:
    C:\Keil\ARM\SFD\ST\STM32F4xx\STM32F40x.SFR

    Now you should have your System Viewer back.

    .
    BR,
    /th.

Children
More questions in this forum