manuais Visual Circuits H-DVP

Manuais de instruções e guias do utilizador para Servidores Visual Circuits H-DVP.
Disponibilizamos 3 manuais Visual Circuits H-DVP em pdf para descarga gratuita: Manual do Utilizador, Manual de Serviço


Índice

User Manual

1

Contents

2

Doc ID 7705 Rev 11 3/385

3

4/385 Doc ID 7705 Rev 11

4

Doc ID 7705 Rev 11 5/385

5

6/385 Doc ID 7705 Rev 11

6

Doc ID 7705 Rev 11 7/385

7

8/385 Doc ID 7705 Rev 11

8

UM0036 Contents

9

List of tables

10

List of figures

12

Doc ID 7705 Rev 11 13/385

13

14/385 Doc ID 7705 Rev 11

14

Doc ID 7705 Rev 11 15/385

15

16/385 Doc ID 7705 Rev 11

16

Doc ID 7705 Rev 11 17/385

17

1 Introduction

18

ICD configuration

20

1.4 Getting assistance

21

1.5 Associated documentation

21

1.6 Conventions

22

2 Getting started with STVD

23

2.2.1 Create a new workspace

24

Doc ID 7705 Rev 11 25/385

25

26/385 Doc ID 7705 Rev 11

26

2.4 Build your application

28

Doc ID 7705 Rev 11 29/385

29

30/385 Doc ID 7705 Rev 11

30

2.6 Debug your application

32

Doc ID 7705 Rev 11 33/385

33

34/385 Doc ID 7705 Rev 11

34

Status bar

35

File menu

36

Edit menu

36

View menu

37

Project menu

37

Build menu

38

Debug menu

38

Debug instrument menu

38

Tools menu

38

Window menu

39

Help menu

39

3.3 View windows

40

3.4 Workspace window

41

Workspace contextual menus

42

3.5 Editor windows

43

Supported file types

44

Doc ID 7705 Rev 11 45/385

45

File folding

46

Margin features

46

Doc ID 7705 Rev 11 47/385

47

Editor status bar information

48

Editor window positioning

48

3.5.2 Editing features

49

Syntax highlighting

50

Auto-completion

50

Parameter information

50

Indentation

51

Brace matching

52

Find features

52

Find pull-down list

53

Find in files

54

Regular expressions

55

3.6 Output window

56

Doc ID 7705 Rev 11 57/385

57

3.6.3 Debug tab

58

3.6.4 Console tab

58

Doc ID 7705 Rev 11 59/385

59

Edit/Debug tab

62

3.7.2 Customizing toolbars

65

Moving toolbars

66

Rearranging toolbar icons

67

3.7.3 Adding custom commands

67

68/385 Doc ID 7705 Rev 11

68

3.8 Tooltips

69

Generate support file

70

Doc ID 7705 Rev 11 71/385

71

7 steps to full migration

72

4 Project creation and build

75

Toolset path information

76

Opening a .stw workspace

77

Create an empty workspace

78

Doc ID 7705 Rev 11 79/385

79

4.3.2 Creating new projects

80

Doc ID 7705 Rev 11 81/385

81

82/385 Doc ID 7705 Rev 11

82

Adding folders

83

Adding files

83

84/385 Doc ID 7705 Rev 11

84

4.5.1 General settings tab

85

4.5.2 Debug settings tab

86

4.5.3 MCU selection tab

86

4.5.4 Pre-link settings tab

87

88/385 Doc ID 7705 Rev 11

88

4.6.1 ST ASM tab

89

4.6.2 ST Link tab

90

Modify the segment mapping

91

Output filename

91

Libraries

91

4.6.3 ST Post-Link tab

92

Doc ID 7705 Rev 11 93/385

93

94/385 Doc ID 7705 Rev 11

94

4.7.1 Cosmic C compiler tab

95

Debug information

97

Compiler messages display

98

100

Doc ID 7705 Rev 11 105/385

105

106/385 Doc ID 7705 Rev 11

106

4.7.2 Cosmic C Assembler tab

107

108/385 Doc ID 7705 Rev 11

108

4.7.3 Cosmic C linker tab

110

Doc ID 7705 Rev 11 111/385

111

112/385 Doc ID 7705 Rev 11

112

Doc ID 7705 Rev 11 113/385

113

114/385 Doc ID 7705 Rev 11

114

Doc ID 7705 Rev 11 117/385

117

118/385 Doc ID 7705 Rev 11

118

C language

119

Listings

119

Optimizations

119

Global variables

120

Generate debug info

120

User-defined options

120

Program model (STM8 only)

120

Doc ID 7705 Rev 11 121/385

121

Generate only small objects

122

Doc ID 7705 Rev 11 125/385

125

128/385 Doc ID 7705 Rev 11

128

Doc ID 7705 Rev 11 129/385

129

● Generate map file

130

● User defined options

130

Doc ID 7705 Rev 11 131/385

131

132/385 Doc ID 7705 Rev 11

132

Doc ID 7705 Rev 11 133/385

133

Compiler memory models

134

Message Display

135

Debug info

135

C Language

136

Preprocessor definitions

136

Extra include paths

139

Extra include files

140

Message display

145

Output filename options

149

Strip debug information

149

Object/Lib modules

150

Library paths

150

Vector file name field

155

● Custom build tab

156

● Build commands

156

4.10.2 Custom build tab

157

4.12 Build commands

158

Table 57. Build commands

159

5 Basic debugging features

160

● and Add communication ports

161

Doc ID 7705 Rev 11 163/385

163

5.2.1 Memory map

164

5.2.2 On-chip peripherals

166

5.3 Running an application

167

5.3.2 Stepping modes

168

5.4 Editor debug actions

169

Editor contextual menu

170

Watch pop-up

171

5.4.1 Editor debug margin

172

Margin icons

172

Doc ID 7705 Rev 11 173/385

173

5.4.2 QuickWatch window

174

5.5 Disassembly window

175

176/385 Doc ID 7705 Rev 11

176

Doc ID 7705 Rev 11 177/385

177

5.6 Online assembler

178

Doc ID 7705 Rev 11 179/385

179

5.7 Memory window

180

5.7.2 Viewing features

181

182/385 Doc ID 7705 Rev 11

182

5.8 Instruction breakpoints

183

184/385 Doc ID 7705 Rev 11

184

5.8.4 Showing breakpoints

185

5.9 Data breakpoints

186

Doc ID 7705 Rev 11 187/385

187

5.10 Call stack window

188

Doc ID 7705 Rev 11 189/385

189

5.12 Watch window

191

5.13 Core registers window

192

Doc ID 7705 Rev 11 193/385

193

5.14 MSCI tools window

194

5.15 Symbols browser

195

196/385 Doc ID 7705 Rev 11

196

Doc ID 7705 Rev 11 197/385

197

5.17 Memory trace window

198

5.18 Online commands

199

5.18.6 The help command

200

General debug limitations

201

6 Simulator features

202

Doc ID 7705 Rev 11 203/385

203

204/385 Doc ID 7705 Rev 11

204

Periodic signal example

205

206/385 Doc ID 7705 Rev 11

206

Using your stimuli file

207

208/385 Doc ID 7705 Rev 11

208

6.3.2 Plotter window

209

Display tabs

210

Name column

211

Value column

212

Navigating in the plot

213

Modifying expressions

217

218/385 Doc ID 7705 Rev 11

218

Printing a plot

219

220/385 Doc ID 7705 Rev 11

220

6.5 Forcing interrupts

221

224/385 Doc ID 7705 Rev 11

224

7.1.2 Selecting your MCU

225

Options tab

226

7.2.2 Hardware breakpoints

229

230/385 Doc ID 7705 Rev 11

230

Doc ID 7705 Rev 11 231/385

231

232/385 Doc ID 7705 Rev 11

232

Doc ID 7705 Rev 11 233/385

233

Stack limitation (ICC only)

234

Doc ID 7705 Rev 11 235/385

235

ST7FLCD1 FF00 - FFDF

235

ST7FMC2 FF00 - FFDF

235

ST72F325 FF00 - FFDF

235

SWIM debugger limitation

236

8.2 Using hardware events

237

238/385 Doc ID 7705 Rev 11

238

Doc ID 7705 Rev 11 239/385

239

240/385 Doc ID 7705 Rev 11

240

Doc ID 7705 Rev 11 241/385

241

8.3 Trace recording

242

Show/hide columns

243

Move columns

244

Line filter

244

Saving trace to file

244

8.3.2 Viewing trace contents

245

8.4 Using hardware testing

246

Doc ID 7705 Rev 11 247/385

247

248/385 Doc ID 7705 Rev 11

248

To define an event:

249

250/385 Doc ID 7705 Rev 11

250

To define an advanced break:

251

252/385 Doc ID 7705 Rev 11

252

Doc ID 7705 Rev 11 253/385

253

Setting the stack control

254

Doc ID 7705 Rev 11 255/385

255

256/385 Doc ID 7705 Rev 11

256

Doc ID 7705 Rev 11 257/385

257

9 STice features

258

Doc ID 7705 Rev 11 259/385

259

260/385 Doc ID 7705 Rev 11

260

Doc ID 7705 Rev 11 261/385

261

9.1.2 Trace contextual menu

262

Doc ID 7705 Rev 11 263/385

263

264/385 Doc ID 7705 Rev 11

264

9.1.3 Emulator commands

265

9.2 Coverage and profiling

266

Doc ID 7705 Rev 11 267/385

267

STice features UM0036

268

Doc ID 7705 Rev 11 269/385

269

Doc ID 7705 Rev 11 271/385

271

Code coverage and profiling

272

Functions/Instructions View

272

Doc ID 7705 Rev 11 273/385

273

Data View

274

Source View

275

276/385 Doc ID 7705 Rev 11

276

Doc ID 7705 Rev 11 277/385

277

Detecting dead code

279

Monitoring stack space usage

279

Optimizing variables

280

Doc ID 7705 Rev 11 281/385

281

282/385 Doc ID 7705 Rev 11

282

UM0036 STice features

283

10 EMU3 emulator features

284

Doc ID 7705 Rev 11 285/385

285

10.1.2 Trace contextual menu

286

Filter lines

287

Selecting the Timestamp unit

288

Goto Source, Goto Disassembly

288

Bookmarks

289

Column display

289

10.1.3 Emulator commands

290

Doc ID 7705 Rev 11 291/385

291

292/385 Doc ID 7705 Rev 11

292

Doc ID 7705 Rev 11 293/385

293

294/385 Doc ID 7705 Rev 11

294

Doc ID 7705 Rev 11 295/385

295

10.2.2 Memory access events

296

Doc ID 7705 Rev 11 297/385

297

298/385 Doc ID 7705 Rev 11

298

Doc ID 7705 Rev 11 299/385

299

10.2.3 Other types of events

300

Doc ID 7705 Rev 11 301/385

301

302/385 Doc ID 7705 Rev 11

302

Doc ID 7705 Rev 11 303/385

303

304/385 Doc ID 7705 Rev 11

304

Doc ID 7705 Rev 11 305/385

305

306/385 Doc ID 7705 Rev 11

306

10.6 Performance analysis

319

320/385 Doc ID 7705 Rev 11

320

10.6.3 Viewing results

321

322/385 Doc ID 7705 Rev 11

322

10.7 Read/write on the fly

323

324/385 Doc ID 7705 Rev 11

324

11 Program

325

The programming mode

326

Protections

327

RC Calibration values

327

Unlock device

328

Doc ID 7705 Rev 11 329/385

329

330/385 Doc ID 7705 Rev 11

330

UM0036 Program

331

12 STM8 C tutorial

332

12.1 Setup

333

12.1.2 Create a workspace

334

12.1.3 Create a project

334

Doc ID 7705 Rev 11 335/385

335

336/385 Doc ID 7705 Rev 11

336

12.1.4 Add the source files

337

338/385 Doc ID 7705 Rev 11

338

12.2 Build

339

340/385 Doc ID 7705 Rev 11

340

Doc ID 7705 Rev 11 341/385

341

342/385 Doc ID 7705 Rev 11

342

12.2.4 Build the application

343

12.3 Start debugging

344

Activate a feature

345

346/385 Doc ID 7705 Rev 11

346

12.4 Instruction breakpoints

347

348/385 Doc ID 7705 Rev 11

348

Doc ID 7705 Rev 11 349/385

349

350/385 Doc ID 7705 Rev 11

350

12.5 View execution

351

352/385 Doc ID 7705 Rev 11

352

Doc ID 7705 Rev 11 353/385

353

354/385 Doc ID 7705 Rev 11

354

12.6 Perform memory mapping

355

356/385 Doc ID 7705 Rev 11

356

\tutorial_cosmic\

356

Doc ID 7705 Rev 11 357/385

357

358/385 Doc ID 7705 Rev 11

358

Doc ID 7705 Rev 11 359/385

359

360/385 Doc ID 7705 Rev 11

360

Doc ID 7705 Rev 11 363/385

363

364/385 Doc ID 7705 Rev 11

364

Doc ID 7705 Rev 11 365/385

365

366/385 Doc ID 7705 Rev 11

366

Doc ID 7705 Rev 11 367/385

367

368/385 Doc ID 7705 Rev 11

368

Doc ID 7705 Rev 11 369/385

369

13.5 Project settings

370

Doc ID 7705 Rev 11 371/385

371

372/385 Doc ID 7705 Rev 11

372

Applying project settings

374

Doc ID 7705 Rev 11 375/385

375

376/385 Doc ID 7705 Rev 11

376

Appendix A Product support

377

378/385 Doc ID 7705 Rev 11

378

Revision history

379

Revision history UM0036

380

381/385 Doc ID 7705 Rev 11

381

382/385 Doc ID 7705 Rev 11

382

383/385 Doc ID 7705 Rev 11

383

384/385 Doc ID 7705 Rev 11

384

Doc ID 7705 Rev 11 385/385

385