works, but SW updates hangs at 21504 bytes
This commit is contained in:
@ -1154,8 +1154,11 @@ class WriteMemory : public TcBase {
|
||||
}
|
||||
spParams.creator.setSeqFlags(seqFlags);
|
||||
spParams.creator.setSeqCount(sequenceCount);
|
||||
initPacket(memoryId, startAddress, length, updateData);
|
||||
auto res = checkSizeAndSerializeHeader();
|
||||
auto res = initPacket(memoryId, startAddress, length, updateData);
|
||||
if (res != returnvalue::OK) {
|
||||
return res;
|
||||
}
|
||||
res = checkSizeAndSerializeHeader();
|
||||
if (res != returnvalue::OK) {
|
||||
return res;
|
||||
}
|
||||
@ -1182,7 +1185,7 @@ class WriteMemory : public TcBase {
|
||||
if (result != returnvalue::OK) {
|
||||
return result;
|
||||
}
|
||||
size_t serializedSize = 6;
|
||||
size_t serializedSize = MIN_TMTC_LEN;
|
||||
SerializeAdapter::serialize(&memoryId, &data, &serializedSize, spParams.maxSize,
|
||||
SerializeIF::Endianness::BIG);
|
||||
SerializeAdapter::serialize(&n, &data, &serializedSize, spParams.maxSize,
|
||||
|
Reference in New Issue
Block a user