view target-utils/dspdump/dumpagent.c @ 763:4eaad91f4d68

CHANGES: document rvinterf -b PID addition
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 02 Dec 2020 20:32:02 +0000
parents 27b5526ba1a8
children
line wrap: on
line source

/*
 * The following dump agent code has been taken from OsmocomBB.  This code
 * is run on the Calypso DSP by way of the DSP's bootloader, i.e., it is
 * booted in the place of the ROM or production patch code, and it provides
 * an API protocol to the ARM7 host by way of which we read out the ROM code.
 *
 * For the corresponding source for this DSP agent code, please refer to the
 * OsmocomBB code repository - we have not modified it in FreeCalypso.
 */

#include "types.h"

u16 dsp_agent_code[0x5B] = {
	0x69f8, 0x0029, 0x0002, 0xea1f,
	0x7718, 0x1100, 0x7714, 0x0000,
	0x7712, 0x0800, 0x767f, 0x0001,
	0x607f, 0xffff, 0xf820, 0x1014,
	0xf273, 0x1008, 0x7682, 0x0100,
	0x607f, 0x0004, 0xf820, 0x101c,
	0xf273, 0x1008, 0x7214, 0x0800,
	0x607f, 0x0002, 0xf820, 0x100c,
	0x127e, 0x8813, 0x3c7c, 0x137d,
	0x8911, 0xf84c, 0x1028, 0xf4e2,
	0x7715, 0x0014, 0x963d, 0xfa30,
	0x104b, 0x6d89, 0x963f, 0xfa30,
	0x103f, 0x963e, 0xf495, 0xf830,
	0x103a, 0x47f8, 0x0011, 0x7f92,
	0xf073, 0x1008, 0x47f8, 0x0011,
	0x7e92, 0xf073, 0x1008, 0xf830,
	0x1046, 0x47f8, 0x0011, 0xe589,
	0xf073, 0x1008, 0x47f8, 0x0011,
	0xe598, 0xf073, 0x1008, 0x4911,
	0x891a, 0xf830, 0x1055, 0xf072,
	0x1052, 0xf074, 0x7213, 0xf073,
	0x1008, 0xf072, 0x1058, 0xf074,
	0xe4b8, 0xf073, 0x1008
};