public EepromDownloader(List <byte> dspCopy, int mcuid, E2PromArea area) { _dspCopy = dspCopy; _mcuid = mcuid; _area = area; InitializeEepromReceivePackages(); }
/// <summary> /// ///eeprom dsp cache ///largest dsp address: 0x5F2 == 1522, offset =0.[note: 4 bytes per address, so 4*1522==6088; ///blocks needed: 1522/120 = 13; ///In -Ouput names ///offset: 0xA000 ///blocks needed 16*39 = 624 = 6 ///redundancy peq data: ///start: 34816 end(used): 36114 => 1298 ///blocks needed: 5200/120 = 11 ///Offset, size to be downloaded /// </summary> public static EepromArea EepromAreaFactory(E2PromArea area) { return EepromAreas.First(d => d.Area == area); }
public EepromArea(E2PromArea area, ushort location, int size) { Area = area; Location = location; Size = size; }