mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 19:30:03 +02:00
mythen3 calc checksum
This commit is contained in:
parent
ba9a0c7917
commit
6c5c4f00b3
Binary file not shown.
@ -653,7 +653,7 @@ int configureMAC() {
|
|||||||
udp->ip_protocol = 0x11;
|
udp->ip_protocol = 0x11;
|
||||||
// total length is redefined in firmware
|
// total length is redefined in firmware
|
||||||
|
|
||||||
// calcChecksum(udp);
|
calcChecksum(udp);
|
||||||
|
|
||||||
//TODO?
|
//TODO?
|
||||||
//cleanFifos();
|
//cleanFifos();
|
||||||
|
@ -270,7 +270,7 @@ void selectPrimaryInterface(int val);
|
|||||||
int getPrimaryInterface();
|
int getPrimaryInterface();
|
||||||
void setupHeader(int iRxEntry, enum interfaceType type, uint32_t destip, uint64_t destmac, uint32_t destport, uint64_t sourcemac, uint32_t sourceip, uint32_t sourceport);
|
void setupHeader(int iRxEntry, enum interfaceType type, uint32_t destip, uint64_t destmac, uint32_t destport, uint64_t sourcemac, uint32_t sourceip, uint32_t sourceport);
|
||||||
#endif
|
#endif
|
||||||
#if defined(JUNGFRAUD) || defined(GOTTHARD2D)
|
#if defined(JUNGFRAUD) || defined(GOTTHARD2D) || defined(MYTHEN3D)
|
||||||
void calcChecksum(udp_header* udp);
|
void calcChecksum(udp_header* udp);
|
||||||
#endif
|
#endif
|
||||||
#if defined(CHIPTESTBOARDD) || defined(MOENCHD)
|
#if defined(CHIPTESTBOARDD) || defined(MOENCHD)
|
||||||
|
@ -8,5 +8,5 @@
|
|||||||
#define APIEIGER 0x191030
|
#define APIEIGER 0x191030
|
||||||
#define APIGOTTHARD 0x191030
|
#define APIGOTTHARD 0x191030
|
||||||
#define APIGOTTHARD2 0x191030
|
#define APIGOTTHARD2 0x191030
|
||||||
#define APIMYTHEN3 0x191030
|
|
||||||
#define APICTB 0x191030
|
#define APICTB 0x191030
|
||||||
|
#define APIMYTHEN3 0x191031
|
||||||
|
Loading…
x
Reference in New Issue
Block a user