spinnaker_tools 3.4.0
SpiNNaker API, sark, sc&mp, bmp firmware and build tools
Loading...
Searching...
No Matches
Macros | Enumerations | Functions | Variables
scamp-boot.c File Reference

BootROM support for SC&MP. More...

#include "sark.h"
#include "scamp.h"

Macros

#define BOOT_BUF   (DTCM_BASE + 0x8000)
 The address of the buffer used for booting cores.
 
#define FF_TARGET_MONITOR   0x0
 Target monitor ID for flood-filled boot packets.
 

Enumerations

enum  boot_phases {
  FF_START_PHASE_1 = 0x01000003 , FF_BLOCK_START_PHASE_1 = 0x02000003 , FF_BLOCK_DATA_PHASE_1 = 0x03000003 , FF_BLOCK_END_PHASE_1 = 0x04000003 ,
  FF_CONTROL_PHASE_1 = 0x05000103
}
 Flood fill phases, used in nearest neighbour packets. More...
 

Functions

static uint crc32 (const uchar *buf, uint len)
 Compute a CRC.
 
void nn_tx (uint key, uint data)
 Send NN packet.
 
void boot_nn (uint hw_ver)
 Boot SCAMP on chips using the bootROM protocols.
 

Variables

static const uint crc_table []
 Support table for crc32()
 

Detailed Description

BootROM support for SC&MP.

Author
Steve Temple, APT Group, School of Computer Science

Enumeration Type Documentation

◆ boot_phases

Flood fill phases, used in nearest neighbour packets.

Note that these also set the low 8–16 bits of the control word.

Enumerator
FF_START_PHASE_1 

Start.

FF_BLOCK_START_PHASE_1 

Block start.

FF_BLOCK_DATA_PHASE_1 

Block data.

FF_BLOCK_END_PHASE_1 

Block end.

FF_CONTROL_PHASE_1 

Finish.

Function Documentation

◆ crc32()

static uint crc32 ( const uchar buf,
uint  len 
)
static

Compute a CRC.

Parameters
[in]bufBuffer to compute the CRC of
[in]lenLength of buffer, in bytes
Returns
The CRC

◆ nn_tx()

void nn_tx ( uint  key,
uint  data 
)

Send NN packet.

Parameters
[in]keyKey of packet
[in]dataData of packet

◆ boot_nn()

void boot_nn ( uint  hw_ver)

Boot SCAMP on chips using the bootROM protocols.

Parameters
[in]hw_verHardware version