FreeCalypso > hg > freecalypso-tools
comparison target-utils/dspdump/dumpagent.c @ 540:27b5526ba1a8
dspdump target program written, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 28 Oct 2019 08:19:33 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
539:4f346c10f056 | 540:27b5526ba1a8 |
---|---|
1 /* | |
2 * The following dump agent code has been taken from OsmocomBB. This code | |
3 * is run on the Calypso DSP by way of the DSP's bootloader, i.e., it is | |
4 * booted in the place of the ROM or production patch code, and it provides | |
5 * an API protocol to the ARM7 host by way of which we read out the ROM code. | |
6 * | |
7 * For the corresponding source for this DSP agent code, please refer to the | |
8 * OsmocomBB code repository - we have not modified it in FreeCalypso. | |
9 */ | |
10 | |
11 #include "types.h" | |
12 | |
13 u16 dsp_agent_code[0x5B] = { | |
14 0x69f8, 0x0029, 0x0002, 0xea1f, | |
15 0x7718, 0x1100, 0x7714, 0x0000, | |
16 0x7712, 0x0800, 0x767f, 0x0001, | |
17 0x607f, 0xffff, 0xf820, 0x1014, | |
18 0xf273, 0x1008, 0x7682, 0x0100, | |
19 0x607f, 0x0004, 0xf820, 0x101c, | |
20 0xf273, 0x1008, 0x7214, 0x0800, | |
21 0x607f, 0x0002, 0xf820, 0x100c, | |
22 0x127e, 0x8813, 0x3c7c, 0x137d, | |
23 0x8911, 0xf84c, 0x1028, 0xf4e2, | |
24 0x7715, 0x0014, 0x963d, 0xfa30, | |
25 0x104b, 0x6d89, 0x963f, 0xfa30, | |
26 0x103f, 0x963e, 0xf495, 0xf830, | |
27 0x103a, 0x47f8, 0x0011, 0x7f92, | |
28 0xf073, 0x1008, 0x47f8, 0x0011, | |
29 0x7e92, 0xf073, 0x1008, 0xf830, | |
30 0x1046, 0x47f8, 0x0011, 0xe589, | |
31 0xf073, 0x1008, 0x47f8, 0x0011, | |
32 0xe598, 0xf073, 0x1008, 0x4911, | |
33 0x891a, 0xf830, 0x1055, 0xf072, | |
34 0x1052, 0xf074, 0x7213, 0xf073, | |
35 0x1008, 0xf072, 0x1058, 0xf074, | |
36 0xe4b8, 0xf073, 0x1008 | |
37 }; |