Comments (11)
I made this video some time ago
https://youtu.be/mUbeMSEr2H8?si=hPyfwL_eDxlTt6PM
from stmviewer.
Hello, what do you mean by "download"? STMViewer's variable viewer is used to connect to a running target and reading the memory values off addresses based on the application *.elf file.
Fell free to suggest improvements as some things might be obvious for me and maybe I'm not aware of thing that could be unclear.
@Candas1 thanks for the video! I'm also planning on making an official one sometime soon ;)
from stmviewer.
For the QuickStart: It is not clear it directly connects to a running target.
Ok, the big red button was misleading. I clicked on it, and it either says "STOPPED STLink not found" (true, I have STCubeProgrammer connected) or "STOPPED STM32 target not found!"
Could it be, it does not work with STM32H563ZI? I tried CubeMonitor and this one works (though I'd prefer this simpler interface).
from stmviewer.
Could you attach the logs (either ~/STMViewer/logs/
or C:\Users\<USER>\AppData\Roaming\STMViewer\logs\
on Windows) ? Did you build the STMViewer yourself or used the attached installers?
from stmviewer.
Here the log:
[2024-02-22 11:20:08.824] [logger] [info] Starting STMViewer!
[2024-02-22 11:20:08.824] [logger] [info] Version: 0.4.0
[2024-02-22 11:20:08.824] [logger] [info] Commit hash 4d22bcdeb6d0a01148aff162177f075b49920258
[2024-02-22 11:20:09.103] [logger] [info] GDB version: 132
[2024-02-22 11:20:18.379] [logger] [info] Adding variable: counter
[2024-02-22 11:20:18.379] [logger] [info] Adding plot: new plot0
[2024-02-22 11:20:18.379] [logger] [info] Adding series: counter
[2024-02-22 11:20:18.379] [logger] [info] Adding trace plot: CH0
[2024-02-22 11:20:18.379] [logger] [info] Adding trace plot: CH1
[2024-02-22 11:20:18.379] [logger] [info] Adding trace plot: CH2
[2024-02-22 11:20:18.379] [logger] [info] Adding trace plot: CH3
[2024-02-22 11:20:18.379] [logger] [info] Adding trace plot: CH4
[2024-02-22 11:20:18.379] [logger] [info] Adding trace plot: CH5
[2024-02-22 11:20:18.379] [logger] [info] Adding trace plot: CH6
[2024-02-22 11:20:18.380] [logger] [info] Adding trace plot: CH7
[2024-02-22 11:20:18.380] [logger] [info] Adding trace plot: CH8
[2024-02-22 11:20:18.380] [logger] [info] Adding trace plot: CH9
[2024-02-22 11:20:18.380] [logger] [info] Project config path: Z:/home/bastian/develop/sciopta2.7/exp/krn/arm/hello/stmviewer.cfg
[2024-02-22 11:20:24.772] [logger] [error] Can not connect to target. Please use 'connect under reset' and try again
[2024-02-22 11:20:24.773] [logger] [error] Can not connect to target. Please use 'connect under reset' and try again
[2024-02-22 11:20:30.707] [logger] [info] Exiting trace plot handler thread
[2024-02-22 11:20:30.711] [logger] [info] Exiting GUI main thread
[2024-02-22 11:20:31.285] [logger] [info] Closing STMViewer!
Not sure where I could select "connect under reset".
I did use the installer.
from stmviewer.
This is in case in which no other program uses the STLink? Could you make sure, for example by repluging the stlink before trying again? Also could you check (for example using STM32 Cube programmer) if these params match your STM32:
# Chip-ID file for STM32H5xx device
#
dev_type STM32H5xx
ref_manual_id 0481
chip_id 0x484 // STM32_CHIPID_H5xx
flash_type L5_U5_H5
flash_size_reg 0x08fff80c
flash_pagesize 0x2000 // 8 KB
sram_size 0xa0000 // 640 KB
bootrom_base 0x0bf80000
bootrom_size 0x8000 // 32 KB
option_base 0x0
option_size 0x0
flags dualbank
these are the params from the stlink library used by the STMViewer. Maybe there's some issue with the STM32H5 config.
from stmviewer.
I am checking, but having trouble finding the addresses in the STM manuals.
At least the chip_id, flash page and total size and sram_size fit.
from stmviewer.
In STMCubeMonitor I had to set the access port to 1 instead 0. But do not see if this can be done via .chip file.
from stmviewer.
Are you working with SWD or JTAG?
from stmviewer.
Are you working with SWD or JTAG?
SWD
from stmviewer.
Ok, I give up. Thanks for replies. I tried FOSS stlink tool, but it crashes.
from stmviewer.
Related Issues (20)
- My time base is wrong HOT 8
- Invalid data read in sleep mode (WFI) HOT 26
- Counter Plotting HOT 6
- High DPI font size HOT 4
- CPU/GPU usage when idle HOT 7
- Automatically refresh variables upon openning import from elf dialog HOT 1
- Automatically update variable addresses after importing from ELF HOT 3
- Don't clear past samples upon restarting the acquisition HOT 1
- Dimm start button when depressed
- X axis zooming during acquisition HOT 3
- Space key to start/stop acquisition HOT 2
- Renders at only 30fps (half a refresh rate) HOT 5
- Building - STM32 Target not found HOT 2
- Can't flash board when acquisition is running HOT 1
- Max points setting not respected
- How to Run the program HOT 2
- Closing Acquisition Settings window - saves the changes HOT 1
- Allow relative elf file path in cfg file HOT 4
- Time series plot linking doesn't work if there is bar plot present HOT 1
- Segfault when using exactly 16 variables in JLink HSS mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stmviewer.