Many
Manuals
search
Categorias
Marcas
Inicio
Motorola
Procesadores
DSP56800
Guía de usuario
Motorola DSP56800 Guía de usuario Pagina 72
Descarga
Compartir
Compartiendo
Añadir a mis manuales
Imprimir
Pagina
/
446
Tabla de contenidos
MARCADORES
Valorado
.
/ 5. Basado en
revisión del cliente
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
Target Settings
DSP56800E-Sp
ecific Target Settings Panel
s
72
Targeti
ng MC56F83xx/DSP568
5x Controllers
Figure 4.14 Remote Debug Options
1
2
...
67
68
69
70
71
72
73
74
75
76
77
...
445
446
Revised 2003/08/15
1
How to Contact Metrowerks
2
Table of Contents
3
6 C for DSP56800E 113
4
8 Debugging for DSP56800E 189
5
A Porting Issues 353
7
Introduction
10
CodeWarrior IDE
10
References
11
Getting Started
13
Creating a Project
15
Project Wizard
16
Finish dialog box (Figure
19
2.4) appears
19
Stationery
21
Development Studio
29
Overview
29
Development Process
30
Manage Files (1)
31
Project Files
32
Editing Code
33
Development Studio Overview
34
Debugging
36
Target Settings
37
Changing Target Settings
39
XML Files
41
Restoring Target Settings
41
C/C++ Language
45
Element Purpose Comments
47
C/C++ Preprocessor
48
Table 4.6
49
C/C++ Warnings
50
M56800E Assembler
54
M56800E Processor
56
ELF Disassembler
59
M56800E Linker
61
Remote Debugging
66
M56800E Target (Debugging)
67
Remote Debug Options
71
Processor Expert Overview
76
Processor Expert Beans
78
Processor Expert Menu
79
Item Subitem Action
80
Processor Expert Windows
83
Bean Inspector
84
Target CPU Window
86
Memory Map Window
91
CPU Types Overview
92
Resource Meter
93
Installed Beans Overview
94
Peripherals Usage Inspector
95
Processor Expert Interface
100
Processor Expert Tutorial
100
IRQA and
101
GPIO_C0. The
101
Listing 5.1 File Events.c
105
C for DSP56800E
113
Type Option Setting Size
114
Passing Values to Functions
115
Stack Frame and Alignment
119
User Stack Allocation
120
, b, or c may not be correct
123
Data Alignment Requirements
125
Word and Byte Pointers
126
Code and Data Storage
127
Large Data Model Support
129
Optimizing Code
132
Deadstripping and Link Order
133
Deadstripping and Link Order
134
Inline Assembly Language
135
Inline Assembly Overview
136
Assembly Language Quick Guide
137
Language
140
Intrinsic Functions
141
Fractional Arithmetic
142
Absolute/Negate
145
L_negate
146
Addition/Subtraction
147
Deposit/Extract
153
L_deposit_h
154
L_deposit_l
154
Division
155
Multiplication/MAC
158
L_mult_ls
163
Normalization
164
Rounding
167
Shifting
168
L_shlftNs
174
L_shlfts
175
L_shrtNs
177
__mod_init
179
__mod_initint16
180
__mod_start
180
__mod_access
181
__mod_update
181
__mod_stop
181
__mod_getint16
182
__mod_setint16
182
Modulo Buffer Examples
183
Points to Remember
185
Modulo Addressing Error Codes
186
Function Possible Error Code
187
Code Meaning
187
Debugging for DSP56800E
189
Command Converter Server
190
Converter Server
191
Protocol to Parallel Port
191
Protocol to PCI
194
1. Click the Add button
195
Load/Save Memory
197
History Combo Box
198
Radio Buttons
199
Memory Type Combo Box
199
Address Text Field
199
Size Text Field
199
Dialog Box Controls
199
Fill Memory
200
Fill Expression Text Field
201
Save/Restore Registers
202
Register Group List
203
EOnCE Debugger Features
204
Special Counters
205
Trace Buffer
207
Set Trigger Panel
209
Using the DSP56800E Simulator
211
Cycle/Instruction Count
212
Memory Map
213
Setting Breakpoints
217
Setting Watchpoints
218
Register Details Window
220
Viewing X: Memory
221
Viewing P: Memory
223
• Mixed (Figure 8.26
225
Command-Line Debugging
227
Command-Line Debugging Tasks
229
View Debugging Command Hints
230
Stop an Executing Script
231
[func_name
233
[ -rd
252
[ id_num
252
[ address filename
255
[re]start
258
System-Level Connect
264
Debugging in the Flash Memory
265
M56800E Target
268
High-Speed Simultaneous
269
Transfer
269
Host-Side Client Interface
270
HSST Host Program Example
276
Target Library Interface
278
HSST_setvbuf
279
HSST_write
280
HSST_read
281
HSST_flush
282
HSST_size
282
HSST_raw_read
283
HSST_raw_write
283
HSST_set_log_dir
284
HSST Target Program Example
285
Figure 9.1 Restart HSST
286
ELF Linker and Command
287
Memory Segment
288
Closure Blocks
288
Sections Segment
289
Linker Command File Syntax
290
Arithmetic Operations
291
Comments
291
Deadstrip Prevention
292
Expressions and Assignments
293
Integral Types
293
File Selection
294
Function Selection
294
ROM to RAM Copying
295
Stack and Heap
297
(location counter)
298
ALIGNALL
300
FORCE_ACTIVE
301
KEEP_SECTION
302
REF_INCLUDE
304
SECTIONS
304
WRITEB (expression);
307
WRITEH (expression);
307
WRITEW (expression);
308
Response File
309
Sample Build Script
310
Arguments
310
DSP56800E Command-Line Tools
311
Compiler
312
Assembler
323
Libraries and Runtime
325
Console and File I/O
326
Host File Location
327
DSP56800E
328
Runtime Initialization
329
Libraries and Runtime Code
331
EOnCE Library
332
_eonce_Initialize
334
_eonce_SetTrigger
335
_eonce_SetCounterTrigger
336
_eonce_ClearTrigger
337
_eonce_GetCounters
338
_eonce_GetCounterStatus
338
_eonce_SetupTraceBuffer
339
_eonce_GetTraceBuffer
340
_eonce_ClearTraceBuffer
340
_eonce_StartTraceBuffer
341
_eonce_HaltTraceBuffer
341
_eonce_EnableDEBUGEV
342
_eonce_EnableLimitTrigger
342
Definitions
343
Return Codes
344
Normal Trigger Modes
344
Counter Trigger Modes
346
Data Selection Modes
347
Counter Function Modes
348
Normal Unit Action Options
348
Counter Unit Action Options
349
Accumulating Trigger Options
349
Miscellaneous Trigger Options
350
Trace Buffer Capture Options
351
Trace Buffer Full Options
352
Porting Issues
353
DSP56800x New Project
355
Stationery Wizard
355
• Resulting Target Rules
356
• Rule Notes
356
Page Rules
357
Resulting Target Rules
359
Rule Notes
360
New Project Dialog Box
362
Target Pages
363
Expert Option Page
366
Expert Page
368
“Page Rules.”
368
Data Memory Model Page
369
External/Internal Memory Page
370
Finish Page
371
Pragmas for the DSP56800
373
Pragma Scope
374
Pragma Reference
375
ANSI_strict
376
<istring>
382
Optional Arguments:
382
<ustring>
382
<accmode>
382
*str2 = 'Y';
384
#pragma inline_depth(n)
390
#pragma inline_depth(smart)
390
#pragma inline_max_size(n);
390
Interrupt
396
#pragma mark itemName
397
#pragma mark
397
#pragma mpwc_relax on
399
#pragma notonce
400
#pragma once [ on ]
400
[...data..]
410
#include "file"
419
#include <file>
420
Illegal Pragmas
432
Checking Settings
432
Comentarios a estos manuales
Sin comentarios
Publish
Relacionado con productos y manuales para Procesadores Motorola DSP56800
Procesadores Motorola DSP56303 Manual de usuario
(4 paginas)
Procesadores Motorola DSP96002 Manual de usuario
(4 paginas)
Procesadores Motorola MC68VZ328 Manual de usuario
(6 paginas)
Procesadores Motorola MC68306 Manual de usuario
(3 paginas)
Procesadores Motorola DSP56800 Información técnica
(38 paginas)
Procesadores Motorola MC68340 Especificaciones
(36 paginas)
Procesadores Motorola DragonBall MC9328MX1 Manual de usuario
(16 paginas)
Procesadores Motorola CPU32 Guía de usuario
(107 paginas)
Procesadores Motorola MC68328 Manual de usuario
(6 paginas)
Imprimir documento
Imprimir pagina 72
Comentarios a estos manuales