forked from krater/Blackfin-IDA-Pro-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
blackfin.cfg
1394 lines (1265 loc) · 32.6 KB
/
blackfin.cfg
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
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
; The format of the input file:
; each device definition begins with a line like this:
;
; .devicename
;
; after it go the port definitions in this format:
;
; portname address
;
; the bit definitions (optional) are represented like this:
;
; portname.bitname bitnumber
;
; lines beginning with a space are ignored.
; comment lines should be started with ';' character.
;
; the default device is specified at the start of the file
;
; .default device_name
;
; all lines non conforming to the format are passed to the callback function
;
.default ADSP-BF531/BF532/BF533
.ADSP-BF531/BF532/BF533
; MEMORY MAP
area DATA CMMR 0xFFE00000:0xFFFFFFFE Core MMR address range
area DATA SMMR 0xFFC00000:0xFFDFFFFE System MMR address range
; INPUT/OUTPUT
DMEM_CONTROL 0xffe00004
DCPLB_STATUS 0xffe00008
DCPLB_FAULT_ADDR 0xffe0000c
DCPLB_ADDR0 0xffe00100
DCPLB_ADDR1 0xffe00104
DCPLB_ADDR2 0xffe00108
DCPLB_ADDR3 0xffe0010c
DCPLB_ADDR4 0xffe00110
DCPLB_ADDR5 0xffe00114
DCPLB_ADDR6 0xffe00118
DCPLB_ADDR7 0xffe0011c
DCPLB_ADDR8 0xffe00120
DCPLB_ADDR9 0xffe00124
DCPLB_ADDR10 0xffe00128
DCPLB_ADDR11 0xffe0012c
DCPLB_ADDR12 0xffe00130
DCPLB_ADDR13 0xffe00134
DCPLB_ADDR14 0xffe00138
DCPLB_ADDR15 0xffe0013c
DCPLB_DATA0 0xffe00200
DCPLB_DATA1 0xffe00204
DCPLB_DATA2 0xffe00208
DCPLB_DATA3 0xffe0020c
DCPLB_DATA4 0xffe00210
DCPLB_DATA5 0xffe00214
DCPLB_DATA6 0xffe00218
DCPLB_DATA7 0xffe0021c
DCPLB_DATA8 0xffe00220
DCPLB_DATA9 0xffe00224
DCPLB_DATA10 0xffe00228
DCPLB_DATA11 0xffe0022c
DCPLB_DATA12 0xffe00230
DCPLB_DATA13 0xffe00234
DCPLB_DATA14 0xffe00238
DCPLB_DATA15 0xffe0023c
DTEST_COMMAND 0xffe00300
DTEST_DATA0 0xffe00400
DTEST_DATA1 0xffe00404
IMEM_CONTROL 0xffe01004
ICPLB_STATUS 0xffe01008
ICPLB_FAULT_ADDR 0xffe0100c
ICPLB_ADDR0 0xffe01100
ICPLB_ADDR1 0xffe01104
ICPLB_ADDR2 0xffe01108
ICPLB_ADDR3 0xffe0110c
ICPLB_ADDR4 0xffe01110
ICPLB_ADDR5 0xffe01114
ICPLB_ADDR6 0xffe01118
ICPLB_ADDR7 0xffe0111c
ICPLB_ADDR8 0xffe01120
ICPLB_ADDR9 0xffe01124
ICPLB_ADDR10 0xffe01128
ICPLB_ADDR11 0xffe0112c
ICPLB_ADDR12 0xffe01130
ICPLB_ADDR13 0xffe01134
ICPLB_ADDR14 0xffe01138
ICPLB_ADDR15 0xffe0113c
ICPLB_DATA0 0xffe01200
ICPLB_DATA1 0xffe01204
ICPLB_DATA2 0xffe01208
ICPLB_DATA3 0xffe0120c
ICPLB_DATA4 0xffe01210
ICPLB_DATA5 0xffe01214
ICPLB_DATA6 0xffe01218
ICPLB_DATA7 0xffe0121c
ICPLB_DATA8 0xffe01220
ICPLB_DATA9 0xffe01224
ICPLB_DATA10 0xffe01228
ICPLB_DATA11 0xffe0122c
ICPLB_DATA12 0xffe01230
ICPLB_DATA13 0xffe01234
ICPLB_DATA14 0xffe01238
ICPLB_DATA15 0xffe0123c
ITEST_COMMAND 0xffe01300
ITEST_DATA0 0xffe01400
ITEST_DATA1 0xffe01404
;Interrupt Controller Registers
EVT0_EMU 0xffe02000
EVT1_RST 0xffe02004
EVT2_NMI 0xffe02008
EVT3_EVX 0xffe0200c
EVT4 0xffe02010
EVT5_IVHW 0xffe02014
EVT6_TMR 0xffe02018
EVT7_IVG7 0xffe0201c
EVT8_IVG8 0xffe02020
EVT9_IVG9 0xffe02024
EVT10_IVG10 0xffe02028
EVT11_IVG11 0xffe0202c
EVT12_IVG12 0xffe02030
EVT13_IVG13 0xffe02034
EVT14_IVG14 0xffe02038
EVT15_IVG15 0xffe0203c
IMASK 0xffe02104
IPEND 0xffe02108
ILAT 0xffe0210c
IPRIO 0xffe02110
;Core Timer Registers
TCNTL 0xffe03000
TPERIOD 0xffe03004
TSCALE 0xffe03008
TCOUNT 0xffe0300c
;Debug, MP and Emulation Unit registers
DSPID 0xffe05000
TBUFCTL 0xffe06000
TBUFSTAT 0xffe06004
TBUF 0xffe06100
;Watchpoint and Patch Registers
WPIACTL 0xffe07000
WPIA0 0xffe07040
WPIA1 0xffe07044
WPIA2 0xffe07048
WPIA3 0xffe0704c
WPIA4 0xffe07050
WPIA5 0xffe07054
WPIACNT0 0xffe07080
WPIACNT1 0xffe07084
WPIACNT2 0xffe07088
WPIACNT3 0xffe0708c
WPIACNT4 0xffe07090
WPIACNT5 0xffe07094
WPDACTL 0xffe07100
WPDA0 0xffe07140
WPDA1 0xffe07144
WPDACNT0 0xffe07180
WPDACNT1 0xffe07184
WPSTAT 0xffe07200
;Performance Monitor Registers
PFCTL 0xffe08000
PFCNTR0 0xffe08100
PFCNTR1 0xffe08104
;Dynamic Power Management Registers
PLL_CTL 0xffc00000
PLL_DIV 0xffc00004
VR_CTL 0xffc00008
PLL_STAT 0xffc0000c
PLL_LOCKCNT 0xffc00010
;System Reset and Interrupt Control Registers
SIC_SWRST 0xffc00100
SIC_SYSCR 0xffc00104
SIC_IMASK 0xffc0010c
SIC_IAR0 0xffc00110
SIC_IAR1 0xffc00114
SIC_IAR2 0xffc00118
SIC_ISR 0xffc00120
SIC_IWR 0xffc00124
;Watchdog Timer Registers
WDOG_CTL 0xffc00200
WDOG_CNT 0xffc00204
WDOG_STAT 0xffc00208
;Real-Time Clock Registers
RTC_STAT 0xffc00300
RTC_ICTL 0xffc00304
RTC_ISTAT 0xffc00308
RTC_SWCNT 0xffc0030c
RTC_ALARM 0xffc00310
RTC_PREN 0xffc00314
;Parallel Peripheral Interface Registers
PPI_CONTROL 0xffc01000
PPI_STATUS 0xffc01004
PPI_COUNT 0xffc01008
PPI_DELAY 0xffc0100c
PPI_FRAME 0xffc01010
;UART Control Registers
UART_THR_RBR_DLL 0xffc00400
UART_DLH_IER 0xffc00404
UART_IIR 0xffc00408
UART_LCR 0xffc0040c
UART_MCR 0xffc00410
UART_LSR 0xffc00414
UART_SCR 0xffc0041c
UART_GCTL 0xffc00424
;SPI Controller Registers
SPI_CTL 0xffc00500
SPI_FLG 0xffc00504
SPI_STAT 0xffc00508
SPI_TDBR 0xffc0050c
SPI_RDBR 0xffc00510
SPI_BAUD 0xffc00514
SPI_SHADOW 0xffc00518
;Timer Registers
TIMER0_CONFIG 0xffc00600
TIMER0_COUNTER 0xffc00604
TIMER0_PERIOD 0xffc00608
TIMER0_WIDTH 0xffc0060c
TIMER1_CONFIG 0xffc00610
TIMER1_COUNTER 0xffc00614
TIMER1_PERIOD 0xffc00618
TIMER1_WIDTH 0xffc0061c
TIMER2_CONFIG 0xffc00620
TIMER2_COUNTER 0xffc00624
TIMER2_PERIOD 0xffc00628
TIMER2_WIDTH 0xffc0062c
TIMER_ENABLE 0xffc00640
TIMER_DISABLE 0xffc00644
TIMER_STATUS 0xffc00648
;Programmable Flag Registers
FIO_FLAG_D 0xffc00700
FIO_FLAG_C 0xffc00704
FIO_FLAG_S 0xffc00708
FIO_FLAG_T 0xffc0070c
FIO_MASKA_D 0xffc00710
FIO_MASKA_C 0xffc00714
FIO_MASKA_S 0xffc00718
FIO_MASKA_T 0xffc0071c
FIO_MASKB_D 0xffc00720
FIO_MASKB_C 0xffc00724
FIO_MASKB_S 0xffc00728
FIO_MASKB_T 0xffc0072c
FIO_DIR 0xffc00730
FIO_POLAR 0xffc00734
FIO_EDGE 0xffc00738
FIO_BOTH 0xffc0073c
FIO_INEN 0xffc00740
;SPORT0 Controller Registers
SPORT0_TCR1 0xffc00800
SPORT0_TCR2 0xffc00804
sPORT0_TCLKDIV 0xffc00808
SPORT0_TFSDIV 0xffc0080c
SPORT0_TX 0xffc00810
SPORT0_RX 0xffc00818
SPORT0_RCR1 0xffc00820
SPORT0_RCR2 0xffc00824
SPORT0_RCLKDIV 0xffc00828
SPORT0_RFSDIV 0xffc0082c
SPORT0_STAT 0xffc00830
SPORT0_CHNL 0xffc00834
SPORT0_MCMC1 0xffc00838
SPORT0_MCMC2 0xffc0083c
SPORT0_MTCS0 0xffc00840
SPORT0_MTCS1 0xffc00844
SPORT0_MTCS2 0xffc00848
SPORT0_MTCS3 0xffc0084c
SPORT0_MRCS0 0xffc00850
SPORT0_MRCS1 0xffc00854
SPORT0_MRCS2 0xffc00858
SPORT0_MRCS3 0xffc0085c
;SPORT1 Controller Registers
SPORT1_TCR1 0xffc00900
SPORT1_TCR2 0xffc00904
sPORT1_TCLKDIV 0xffc00908
SPORT1_TFSDIV 0xffc0090c
SPORT1_TX 0xffc00910
SPORT1_RX 0xffc00918
SPORT1_RCR1 0xffc00920
SPORT1_RCR2 0xffc00924
SPORT1_RCLKDIV 0xffc00928
SPORT1_RFSDIV 0xffc0092c
SPORT1_STAT 0xffc00930
SPORT1_CHNL 0xffc00934
SPORT1_MCMC1 0xffc00938
SPORT1_MCMC2 0xffc0093c
SPORT1_MTCS0 0xffc00940
SPORT1_MTCS1 0xffc00944
SPORT1_MTCS2 0xffc00948
SPORT1_MTCS3 0xffc0094c
SPORT1_MRCS0 0xffc00950
SPORT1_MRCS1 0xffc00954
SPORT1_MRCS2 0xffc00958
SPORT1_MRCS3 0xffc0095c
;DMA Traffic Control Registers
DMA_TC_PER 0xffc01b0c
DMA_TC_CNT 0xffc01b10
;DMA Channel Register
DMA0_NEXT_DESC_PTR 0xffc00c00
DMA0_START_ADDR 0xffc00c04
DMA0_CONFIG 0xffc00c08
DMA0_X_COUNT 0xffc00c10
DMA0_X_MODIFY 0xffc00c14
DMA0_Y_COUNT 0xffc00c18
DMA0_Y_MODIFY 0xffc00c1c
DMA0_CURR_DESC_PTR 0xffc00c20
DMA0_CURR_ADDR 0xffc00c24
DMA0_IRQ_STATUS 0xffc00c28
DMA0_PERIPHERAL_MAP 0xffc00c2c
DMA0_CURR_X_COUNT 0xffc00c30
DMA0_CURR_Y_COUNT 0xffc00c38
DMA1_NEXT_DESC_PTR 0xffc00c40
DMA1_START_ADDR 0xffc00c44
DMA1_CONFIG 0xffc00c48
DMA1_X_COUNT 0xffc00c50
DMA1_X_MODIFY 0xffc00c54
DMA1_Y_COUNT 0xffc00c58
DMA1_Y_MODIFY 0xffc00c5c
DMA1_CURR_DESC_PTR 0xffc00c60
DMA1_CURR_ADDR 0xffc00c64
DMA1_IRQ_STATUS 0xffc00c68
DMA1_PERIPHERAL_MAP 0xffc00c6c
DMA1_CURR_X_COUNT 0xffc00c70
DMA1_CURR_Y_COUNT 0xffc00c78
DMA2_NEXT_DESC_PTR 0xffc00c80
DMA2_START_ADDR 0xffc00c84
DMA2_CONFIG 0xffc00c88
DMA2_X_COUNT 0xffc00c90
DMA2_X_MODIFY 0xffc00c94
DMA2_Y_COUNT 0xffc00c98
DMA2_Y_MODIFY 0xffc00c9c
DMA2_CURR_DESC_PTR 0xffc00ca0
DMA2_CURR_ADDR 0xffc00ca4
DMA2_IRQ_STATUS 0xffc00ca8
DMA2_PERIPHERAL_MAP 0xffc00cac
DMA2_CURR_X_COUNT 0xffc00cb0
DMA2_CURR_Y_COUNT 0xffc00cb8
DMA3_NEXT_DESC_PTR 0xffc00cc0
DMA3_START_ADDR 0xffc00cc4
DMA3_CONFIG 0xffc00cc8
DMA3_X_COUNT 0xffc00cd0
DMA3_X_MODIFY 0xffc00cd4
DMA3_Y_COUNT 0xffc00cd8
DMA3_Y_MODIFY 0xffc00cdc
DMA3_CURR_DESC_PTR 0xffc00ce0
DMA3_CURR_ADDR 0xffc00ce4
DMA3_IRQ_STATUS 0xffc00ce8
DMA3_PERIPHERAL_MAP 0xffc00cec
DMA3_CURR_X_COUNT 0xffc00cf0
DMA3_CURR_Y_COUNT 0xffc00cf8
DMA4_NEXT_DESC_PTR 0xffc00d00
DMA4_START_ADDR 0xffc00d04
DMA4_CONFIG 0xffc00d08
DMA4_X_COUNT 0xffc00d10
DMA4_X_MODIFY 0xffc00d14
DMA4_Y_COUNT 0xffc00d18
DMA4_Y_MODIFY 0xffc00d1c
DMA4_CURR_DESC_PTR 0xffc00d20
DMA4_CURR_ADDR 0xffc00d24
DMA4_IRQ_STATUS 0xffc00d28
DMA4_PERIPHERAL_MAP 0xffc00d2c
DMA4_CURR_X_COUNT 0xffc00d30
DMA4_CURR_Y_COUNT 0xffc00d38
DMA5_NEXT_DESC_PTR 0xffc00d40
DMA5_START_ADDR 0xffc00d44
DMA5_CONFIG 0xffc00d48
DMA5_X_COUNT 0xffc00d50
DMA5_X_MODIFY 0xffc00d54
DMA5_Y_COUNT 0xffc00d58
DMA5_Y_MODIFY 0xffc00d5c
DMA5_CURR_DESC_PTR 0xffc00d60
DMA5_CURR_ADDR 0xffc00d64
DMA5_IRQ_STATUS 0xffc00d68
DMA5_PERIPHERAL_MAP 0xffc00d6c
DMA5_CURR_X_COUNT 0xffc00d70
DMA5_CURR_Y_COUNT 0xffc00d78
DMA6_NEXT_DESC_PTR 0xffc00d80
DMA6_START_ADDR 0xffc00d84
DMA6_CONFIG 0xffc00d88
DMA6_X_COUNT 0xffc00d90
DMA6_X_MODIFY 0xffc00d94
DMA6_Y_COUNT 0xffc00d98
DMA6_Y_MODIFY 0xffc00d9c
DMA6_CURR_DESC_PTR 0xffc00da0
DMA6_CURR_ADDR 0xffc00da4
DMA6_IRQ_STATUS 0xffc00da8
DMA6_PERIPHERAL_MAP 0xffc00dac
DMA6_CURR_X_COUNT 0xffc00db0
DMA6_CURR_Y_COUNT 0xffc00db8
DMA7_NEXT_DESC_PTR 0xffc00dc0
DMA7_START_ADDR 0xffc00dc4
DMA7_CONFIG 0xffc00dc8
DMA7_X_COUNT 0xffc00dd0
DMA7_X_MODIFY 0xffc00dd4
DMA7_Y_COUNT 0xffc00dd8
DMA7_Y_MODIFY 0xffc00ddc
DMA7_CURR_DESC_PTR 0xffc00de0
DMA7_CURR_ADDR 0xffc00de4
DMA7_IRQ_STATUS 0xffc00de8
DMA7_PERIPHERAL_MAP 0xffc00dec
DMA7_CURR_X_COUNT 0xffc00df0
DMA7_CURR_Y_COUNT 0xffc00df8
MDMA_D0_NEXT_DESC_PTR 0xffc00e00
MDMA_D0_START_ADDR 0xffc00e04
MDMA_D0_CONFIG 0xffc00e08
MDMA_D0_X_COUNT 0xffc00e10
MDMA_D0_X_MODIFY 0xffc00e14
MDMA_D0_Y_COUNT 0xffc00e18
MDMA_D0_Y_MODIFY 0xffc00e1c
MDMA_D0_CURR_DESC_PTR 0xffc00e20
MDMA_D0_CURR_ADDR 0xffc00e24
MDMA_D0_IRQ_STATUS 0xffc00e28
MDMA_D0_PERIPHERAL_MAP 0xffc00e2c
MDMA_D0_CURR_X_COUNT 0xffc00e30
MDMA_D0_CURR_Y_COUNT 0xffc00e38
MDMA_S0_NEXT_DESC_PTR 0xffc00e40
MDMA_S0_START_ADDR 0xffc00e44
MDMA_S0_CONFIG 0xffc00e48
MDMA_S0_X_COUNT 0xffc00e50
MDMA_S0_X_MODIFY 0xffc00e54
MDMA_S0_Y_COUNT 0xffc00e58
MDMA_S0_Y_MODIFY 0xffc00e5c
MDMA_S0_CURR_DESC_PTR 0xffc00e60
MDMA_S0_CURR_ADDR 0xffc00e64
MDMA_S0_IRQ_STATUS 0xffc00e68
MDMA_S0_PERIPHERAL_MAP 0xffc00e6c
MDMA_S0_CURR_X_COUNT 0xffc00e70
MDMA_S0_CURR_Y_COUNT 0xffc00e78
MDMA_D1_NEXT_DESC_PTR 0xffc00e80
MDMA_D1_START_ADDR 0xffc00e84
MDMA_D1_CONFIG 0xffc00e88
MDMA_D1_X_COUNT 0xffc00e90
MDMA_D1_X_MODIFY 0xffc00e94
MDMA_D1_Y_COUNT 0xffc00e98
MDMA_D1_Y_MODIFY 0xffc00e9c
MDMA_D1_CURR_DESC_PTR 0xffc00ea0
MDMA_D1_CURR_ADDR 0xffc00ea4
MDMA_D1_IRQ_STATUS 0xffc00ea8
MDMA_D1_PERIPHERAL_MAP 0xffc00eac
MDMA_D1_CURR_X_COUNT 0xffc00eb0
MDMA_D1_CURR_Y_COUNT 0xffc00eb8
MDMA_S1_NEXT_DESC_PTR 0xffc00ec0
MDMA_S1_START_ADDR 0xffc00ec4
MDMA_S1_CONFIG 0xffc00ec8
MDMA_S1_X_COUNT 0xffc00ed0
MDMA_S1_X_MODIFY 0xffc00ed4
MDMA_S1_Y_COUNT 0xffc00ed8
MDMA_S1_Y_MODIFY 0xffc00edc
MDMA_S1_CURR_DESC_PTR 0xffc00ee0
MDMA_S1_CURR_ADDR 0xffc00ee4
MDMA_S1_IRQ_STATUS 0xffc00ee8
MDMA_S1_PERIPHERAL_MAP 0xffc00eec
MDMA_S1_CURR_X_COUNT 0xffc00ef0
MDMA_S1_CURR_Y_COUNT 0xffc00ef8
;External Bus Interface Unit Registers
EBIU_AMGCTL 0xffc00a00
EBIU_AMBCTL0 0xffc00a04
EBIU_AMBCTL1 0xffc00a08
EBIU_SDGCTL 0xffc00a10
EBIU_SDBCTL 0xffc00a14
EBIU_SDRRC 0xffc00a18
EBIU_SDSTAT 0xffc00a1c
.ADSP-BF561
; MEMORY MAP
area DATA CMMR 0xFFE00000:0xFFFFFFFE Core MMR address range
area DATA SMMR 0xFFC00000:0xFFDFFFFE System MMR address range
; INPUT/OUTPUT
DMEM_CONTROL 0xffe00004
DCPLB_STATUS 0xffe00008
DCPLB_FAULT_ADDR 0xffe0000c
DCPLB_ADDR0 0xffe00100
DCPLB_ADDR1 0xffe00104
DCPLB_ADDR2 0xffe00108
DCPLB_ADDR3 0xffe0010c
DCPLB_ADDR4 0xffe00110
DCPLB_ADDR5 0xffe00114
DCPLB_ADDR6 0xffe00118
DCPLB_ADDR7 0xffe0011c
DCPLB_ADDR8 0xffe00120
DCPLB_ADDR9 0xffe00124
DCPLB_ADDR10 0xffe00128
DCPLB_ADDR11 0xffe0012c
DCPLB_ADDR12 0xffe00130
DCPLB_ADDR13 0xffe00134
DCPLB_ADDR14 0xffe00138
DCPLB_ADDR15 0xffe0013c
DCPLB_DATA0 0xffe00200
DCPLB_DATA1 0xffe00204
DCPLB_DATA2 0xffe00208
DCPLB_DATA3 0xffe0020c
DCPLB_DATA4 0xffe00210
DCPLB_DATA5 0xffe00214
DCPLB_DATA6 0xffe00218
DCPLB_DATA7 0xffe0021c
DCPLB_DATA8 0xffe00220
DCPLB_DATA9 0xffe00224
DCPLB_DATA10 0xffe00228
DCPLB_DATA11 0xffe0022c
DCPLB_DATA12 0xffe00230
DCPLB_DATA13 0xffe00234
DCPLB_DATA14 0xffe00238
DCPLB_DATA15 0xffe0023c
DTEST_COMMAND 0xffe00300
DTEST_DATA0 0xffe00400
DTEST_DATA1 0xffe00404
IMEM_CONTROL 0xffe01004
ICPLB_STATUS 0xffe01008
ICPLB_FAULT_ADDR 0xffe0100c
ICPLB_ADDR0 0xffe01100
ICPLB_ADDR1 0xffe01104
ICPLB_ADDR2 0xffe01108
ICPLB_ADDR3 0xffe0110c
ICPLB_ADDR4 0xffe01110
ICPLB_ADDR5 0xffe01114
ICPLB_ADDR6 0xffe01118
ICPLB_ADDR7 0xffe0111c
ICPLB_ADDR8 0xffe01120
ICPLB_ADDR9 0xffe01124
ICPLB_ADDR10 0xffe01128
ICPLB_ADDR11 0xffe0112c
ICPLB_ADDR12 0xffe01130
ICPLB_ADDR13 0xffe01134
ICPLB_ADDR14 0xffe01138
ICPLB_ADDR15 0xffe0113c
ICPLB_DATA0 0xffe01200
ICPLB_DATA1 0xffe01204
ICPLB_DATA2 0xffe01208
ICPLB_DATA3 0xffe0120c
ICPLB_DATA4 0xffe01210
ICPLB_DATA5 0xffe01214
ICPLB_DATA6 0xffe01218
ICPLB_DATA7 0xffe0121c
ICPLB_DATA8 0xffe01220
ICPLB_DATA9 0xffe01224
ICPLB_DATA10 0xffe01228
ICPLB_DATA11 0xffe0122c
ICPLB_DATA12 0xffe01230
ICPLB_DATA13 0xffe01234
ICPLB_DATA14 0xffe01238
ICPLB_DATA15 0xffe0123c
ITEST_COMMAND 0xffe01300
ITEST_DATA0 0xffe01400
ITEST_DATA1 0xffe01404
;Interrupt Controller Registers
EVT0_EMU 0xffe02000
EVT1_RST 0xffe02004
EVT2_NMI 0xffe02008
EVT3_EVX 0xffe0200c
EVT4 0xffe02010
EVT5_IVHW 0xffe02014
EVT6_TMR 0xffe02018
EVT7_IVG7 0xffe0201c
EVT8_IVG8 0xffe02020
EVT9_IVG9 0xffe02024
EVT10_IVG10 0xffe02028
EVT11_IVG11 0xffe0202c
EVT12_IVG12 0xffe02030
EVT13_IVG13 0xffe02034
EVT14_IVG14 0xffe02038
EVT15_IVG15 0xffe0203c
IMASK 0xffe02104
IPEND 0xffe02108
ILAT 0xffe0210c
IPRIO 0xffe02110
;Core Timer Registers
TCNTL 0xffe03000
TPERIOD 0xffe03004
TSCALE 0xffe03008
TCOUNT 0xffe0300c
;Debug, MP and Emulation Unit registers
DSPID 0xffe05000
TBUFCTL 0xffe06000
TBUFSTAT 0xffe06004
TBUF 0xffe06100
;Watchpoint and Patch Registers
WPIACTL 0xffe07000
WPIA0 0xffe07040
WPIA1 0xffe07044
WPIA2 0xffe07048
WPIA3 0xffe0704c
WPIA4 0xffe07050
WPIA5 0xffe07054
WPIACNT0 0xffe07080
WPIACNT1 0xffe07084
WPIACNT2 0xffe07088
WPIACNT3 0xffe0708c
WPIACNT4 0xffe07090
WPIACNT5 0xffe07094
WPDACTL 0xffe07100
WPDA0 0xffe07140
WPDA1 0xffe07144
WPDACNT0 0xffe07180
WPDACNT1 0xffe07184
WPSTAT 0xffe07200
;Performance Monitor Registers
PFCTL 0xffe08000
PFCNTR0 0xffe08100
PFCNTR1 0xffe08104
;Dynamic Power Management Registers
PLL_CTL 0xffc00000
PLL_DIV 0xffc00004
VR_CTL 0xffc00008
PLL_STAT 0xffc0000c
PLL_LOCKCNT 0xffc00010
;System Reset and Interrupt Control Registers
SICA_SWRST 0xffc00100
SICA_SYSCR 0xffc00104
SICB_SYSCR 0xffc01104
SICA_IMASK0 0xffc0010c
SICA_IMASK1 0xffc00110
SICA_IAR0 0xffc00124
SICA_IAR1 0xffc00128
SICA_IAR2 0xffc0012c
SICA_IAR3 0xffc00130
SICA_IAR4 0xffc00134
SICA_IAR5 0xffc00138
SICA_IAR6 0xffc0013c
SICA_IAR7 0xffc00140
SICA_ISR0 0xffc00114
SICA_ISR1 0xffc00118
SICA_IWR0 0xffc0011c
SICA_IWR1 0xffc00120
SICB_IMASK0 0xffc0110c
SICB_IMASK1 0xffc01110
SICB_IAR0 0xffc01124
SICB_IAR1 0xffc01128
SICB_IAR2 0xffc0112c
SICB_IAR3 0xffc01130
SICB_IAR4 0xffc01134
SICB_IAR5 0xffc01138
SICB_IAR6 0xffc0113c
SICB_IAR7 0xffc01140
SICB_ISR0 0xffc01114
SICB_ISR1 0xffc01118
SICB_IWR0 0xffc0111c
SICB_IWR1 0xffc01120
;Watchdog Timer Registers
WDOGA_CTL 0xffc00200
WDOGA_CNT 0xffc00204
WDOGA_STAT 0xffc00208
WDOGB_CTL 0xffc01200
WDOGB_CNT 0xffc01204
WDOGB_STAT 0xffc01208
;Parallel Peripheral Interface Registers
PPI0_CONTROL 0xffc01000
PPI0_STATUS 0xffc01004
PPI0_COUNT 0xffc01008
PPI0_DELAY 0xffc0100c
PPI0_FRAME 0xffc01010
PPI1_CONTROL 0xffc01300
PPI1_STATUS 0xffc01304
PPI1_COUNT 0xffc01308
PPI1_DELAY 0xffc0130c
PPI1_FRAME 0xffc01310
;UART Control Registers
UART_THR_RBR_DLL 0xffc00400
UART_DLH_IER 0xffc00404
UART_IIR 0xffc00408
UART_LCR 0xffc0040c
UART_MCR 0xffc00410
UART_LSR 0xffc00414
UART_SCR 0xffc0041c
UART_GCTL 0xffc00424
;SPI Controller Registers
SPI_CTL 0xffc00500
SPI_FLG 0xffc00504
SPI_STAT 0xffc00508
SPI_TDBR 0xffc0050c
SPI_RDBR 0xffc00510
SPI_BAUD 0xffc00514
SPI_SHADOW 0xffc00518
;Timer Registers
TIMER0_CONFIG 0xffc00600
TIMER0_COUNTER 0xffc00604
TIMER0_PERIOD 0xffc00608
TIMER0_WIDTH 0xffc0060c
TIMER1_CONFIG 0xffc00610
TIMER1_COUNTER 0xffc00614
TIMER1_PERIOD 0xffc00618
TIMER1_WIDTH 0xffc0061c
TIMER2_CONFIG 0xffc00620
TIMER2_COUNTER 0xffc00624
TIMER2_PERIOD 0xffc00628
TIMER2_WIDTH 0xffc0062c
TIMER3_CONFIG 0xffc00630
TIMER3_COUNTER 0xffc00634
TIMER3_PERIOD 0xffc00638
TIMER3_WIDTH 0xffc0063c
TIMER4_CONFIG 0xffc00640
TIMER4_COUNTER 0xffc00644
TIMER4_PERIOD 0xffc00648
TIMER4_WIDTH 0xffc0064c
TIMER5_CONFIG 0xffc00650
TIMER5_COUNTER 0xffc00654
TIMER5_PERIOD 0xffc00658
TIMER5_WIDTH 0xffc0065c
TIMER6_CONFIG 0xffc00660
TIMER6_COUNTER 0xffc00664
TIMER6_PERIOD 0xffc00668
TIMER6_WIDTH 0xffc0066c
TIMER7_CONFIG 0xffc00670
TIMER7_COUNTER 0xffc00674
TIMER7_PERIOD 0xffc00678
TIMER7_WIDTH 0xffc0067c
TIMER8_CONFIG 0xffc01600
TIMER8_COUNTER 0xffc01604
TIMER8_PERIOD 0xffc01608
TIMER8_WIDTH 0xffc0160c
TIMER9_CONFIG 0xffc01610
TIMER9_COUNTER 0xffc01614
TIMER9_PERIOD 0xffc01618
TIMER9_WIDTH 0xffc0161c
TIMER10_CONFIG 0xffc01620
TIMER10_COUNTER 0xffc01624
TIMER10_PERIOD 0xffc01628
TIMER10_WIDTH 0xffc0162c
TIMER11_CONFIG 0xffc01630
TIMER11_COUNTER 0xffc01634
TIMER11_PERIOD 0xffc01638
TIMER11_WIDTH 0xffc0163c
TMRS8_ENABLE 0xffc00680
TMRS8_DISABLE 0xffc00684
TMRS8_STATUS 0xffc00688
TMRS4_ENABLE 0xffc01640
TMRS4_DISABLE 0xffc01644
TMRS4_STATUS 0xffc01648
;Programmable Flag Registers
FIO0_FLAG_D 0xffc00700
FIO0_FLAG_C 0xffc00704
FIO0_FLAG_S 0xffc00708
FIO0_FLAG_T 0xffc0070c
FIO0_MASKA_D 0xffc00710
FIO0_MASKA_C 0xffc00714
FIO0_MASKA_S 0xffc00718
FIO0_MASKA_T 0xffc0071c
FIO0_MASKB_D 0xffc00720
FIO0_MASKB_C 0xffc00724
FIO0_MASKB_S 0xffc00728
FIO0_MASKB_T 0xffc0072c
FIO0_DIR 0xffc00730
FIO0_POLAR 0xffc00734
FIO0_EDGE 0xffc00738
FIO0_BOTH 0xffc0073c
FIO0_INEN 0xffc00740
FIO1_FLAG_D 0xffc01500
FIO1_FLAG_C 0xffc01504
FIO1_FLAG_S 0xffc01508
FIO1_FLAG_T 0xffc0150c
FIO1_MASKA_D 0xffc01510
FIO1_MASKA_C 0xffc01514
FIO1_MASKA_S 0xffc01518
FIO1_MASKA_T 0xffc0151c
FIO1_MASKB_D 0xffc01520
FIO1_MASKB_C 0xffc01524
FIO1_MASKB_S 0xffc01528
FIO1_MASKB_T 0xffc0152c
FIO1_DIR 0xffc01530
FIO1_POLAR 0xffc01534
FIO1_EDGE 0xffc01538
FIO1_BOTH 0xffc0153c
FIO1_INEN 0xffc01540
FIO1_FLAG_D 0xffc01700
FIO1_FLAG_C 0xffc01704
FIO1_FLAG_S 0xffc01708
FIO1_FLAG_T 0xffc0170c
FIO1_MASKA_D 0xffc01710
FIO1_MASKA_C 0xffc01714
FIO1_MASKA_S 0xffc01718
FIO1_MASKA_T 0xffc0171c
FIO1_MASKB_D 0xffc01720
FIO1_MASKB_C 0xffc01724
FIO1_MASKB_S 0xffc01728
FIO1_MASKB_T 0xffc0172c
FIO1_DIR 0xffc01730
FIO1_POLAR 0xffc01734
FIO1_EDGE 0xffc01738
FIO1_BOTH 0xffc0173c
FIO1_INEN 0xffc01740
;SPORT0 Controller Registers
SPORT0_TCR1 0xffc00800
SPORT0_TCR2 0xffc00804
sPORT0_TCLKDIV 0xffc00808
SPORT0_TFSDIV 0xffc0080c
SPORT0_TX 0xffc00810
SPORT0_RX 0xffc00818
SPORT0_RCR1 0xffc00820
SPORT0_RCR2 0xffc00824
SPORT0_RCLKDIV 0xffc00828
SPORT0_RFSDIV 0xffc0082c
SPORT0_STAT 0xffc00830
SPORT0_CHNL 0xffc00834
SPORT0_MCMC1 0xffc00838
SPORT0_MCMC2 0xffc0083c
SPORT0_MTCS0 0xffc00840
SPORT0_MTCS1 0xffc00844
SPORT0_MTCS2 0xffc00848
SPORT0_MTCS3 0xffc0084c
SPORT0_MRCS0 0xffc00850
SPORT0_MRCS1 0xffc00854
SPORT0_MRCS2 0xffc00858
SPORT0_MRCS3 0xffc0085c
;SPORT1 Controller Registers
SPORT1_TCR1 0xffc00900
SPORT1_TCR2 0xffc00904
sPORT1_TCLKDIV 0xffc00908
SPORT1_TFSDIV 0xffc0090c
SPORT1_TX 0xffc00910
SPORT1_RX 0xffc00918
SPORT1_RCR1 0xffc00920
SPORT1_RCR2 0xffc00924
SPORT1_RCLKDIV 0xffc00928
SPORT1_RFSDIV 0xffc0092c
SPORT1_STAT 0xffc00930
SPORT1_CHNL 0xffc00934
SPORT1_MCMC1 0xffc00938
SPORT1_MCMC2 0xffc0093c
SPORT1_MTCS0 0xffc00940
SPORT1_MTCS1 0xffc00944
SPORT1_MTCS2 0xffc00948
SPORT1_MTCS3 0xffc0094c
SPORT1_MRCS0 0xffc00950
SPORT1_MRCS1 0xffc00954
SPORT1_MRCS2 0xffc00958
SPORT1_MRCS3 0xffc0095c
;DMA Traffic Control Registers
DMA1_TC_PER 0xffc01b0c
DMA1_TC_CNT 0xffc01b10
DMA2_TC_PER 0xffc00b0c
DMA2_TC_CNT 0xffc00b10
;DMA Channel Register
;External Bus Interface Unit Registers
EBIU_AMGCTL 0xffc00a00
EBIU_AMBCTL0 0xffc00a04
EBIU_AMBCTL1 0xffc00a08
EBIU_SDGCTL 0xffc00a10
EBIU_SDBCTL 0xffc00a14
EBIU_SDRRC 0xffc00a18
EBIU_SDSTAT 0xffc00a1c
.Rigol DS1052/DS1102 (ADSP-BF531)
; MEMORY MAP
area DATA CMMR 0xFFE00000:0xFFFFFFFE Core MMR address range
area DATA SMMR 0xFFC00000:0xFFDFFFFE System MMR address range
; INPUT/OUTPUT
DMEM_CONTROL 0xffe00004
DCPLB_STATUS 0xffe00008
DCPLB_FAULT_ADDR 0xffe0000c
DCPLB_ADDR0 0xffe00100
DCPLB_ADDR1 0xffe00104
DCPLB_ADDR2 0xffe00108
DCPLB_ADDR3 0xffe0010c
DCPLB_ADDR4 0xffe00110
DCPLB_ADDR5 0xffe00114
DCPLB_ADDR6 0xffe00118
DCPLB_ADDR7 0xffe0011c
DCPLB_ADDR8 0xffe00120
DCPLB_ADDR9 0xffe00124
DCPLB_ADDR10 0xffe00128
DCPLB_ADDR11 0xffe0012c
DCPLB_ADDR12 0xffe00130
DCPLB_ADDR13 0xffe00134
DCPLB_ADDR14 0xffe00138
DCPLB_ADDR15 0xffe0013c
DCPLB_DATA0 0xffe00200
DCPLB_DATA1 0xffe00204
DCPLB_DATA2 0xffe00208
DCPLB_DATA3 0xffe0020c
DCPLB_DATA4 0xffe00210
DCPLB_DATA5 0xffe00214
DCPLB_DATA6 0xffe00218
DCPLB_DATA7 0xffe0021c
DCPLB_DATA8 0xffe00220
DCPLB_DATA9 0xffe00224
DCPLB_DATA10 0xffe00228
DCPLB_DATA11 0xffe0022c
DCPLB_DATA12 0xffe00230
DCPLB_DATA13 0xffe00234
DCPLB_DATA14 0xffe00238
DCPLB_DATA15 0xffe0023c
DTEST_COMMAND 0xffe00300
DTEST_DATA0 0xffe00400
DTEST_DATA1 0xffe00404
IMEM_CONTROL 0xffe01004
ICPLB_STATUS 0xffe01008
ICPLB_FAULT_ADDR 0xffe0100c
ICPLB_ADDR0 0xffe01100
ICPLB_ADDR1 0xffe01104
ICPLB_ADDR2 0xffe01108
ICPLB_ADDR3 0xffe0110c
ICPLB_ADDR4 0xffe01110
ICPLB_ADDR5 0xffe01114
ICPLB_ADDR6 0xffe01118
ICPLB_ADDR7 0xffe0111c
ICPLB_ADDR8 0xffe01120
ICPLB_ADDR9 0xffe01124
ICPLB_ADDR10 0xffe01128
ICPLB_ADDR11 0xffe0112c
ICPLB_ADDR12 0xffe01130
ICPLB_ADDR13 0xffe01134
ICPLB_ADDR14 0xffe01138
ICPLB_ADDR15 0xffe0113c
ICPLB_DATA0 0xffe01200
ICPLB_DATA1 0xffe01204
ICPLB_DATA2 0xffe01208
ICPLB_DATA3 0xffe0120c
ICPLB_DATA4 0xffe01210
ICPLB_DATA5 0xffe01214
ICPLB_DATA6 0xffe01218
ICPLB_DATA7 0xffe0121c
ICPLB_DATA8 0xffe01220
ICPLB_DATA9 0xffe01224
ICPLB_DATA10 0xffe01228
ICPLB_DATA11 0xffe0122c
ICPLB_DATA12 0xffe01230
ICPLB_DATA13 0xffe01234
ICPLB_DATA14 0xffe01238
ICPLB_DATA15 0xffe0123c
ITEST_COMMAND 0xffe01300
ITEST_DATA0 0xffe01400
ITEST_DATA1 0xffe01404