Bug Report – 20191026

Hello all

The new version of 1.1.28 is not totally to match to middleware of TEPMWConponent, so Here I write this bug and tell everyone. This software source declared problem to notificate user to recovery.

Date:  20191026

File Project:  TEPMWComponent

FileName:  EPMWComponent.cpp

Problem Description:   FUNCs mismatch the line status.

[Code Original]

case 0x6A:
{
byte i,infolen;

if( (pld->LgInfoPos + StartAddr*128 + infolen)  > (FBufferSize + 100) ) {
*pSend = 0x82; pSend++; SendLen++;
} else {
*pSend = 0x80; pSend++; SendLen++;
}
*pSend = (StartAddr & 0xFF00) >> 8;    pSend++; SendLen++;
*pSend = StartAddr;                                pSend++; SendLen++;

infolen = *Code;  Code++;

for(i=0;i<infolen;i++) {
eeprom_write_byte(pld->LgInfoPos + StartAddr*128 + i , *Code );  Code++;  // MaxLogic
}}
break;

[Code Recovery]

case 0x6A:
{
byte i,infolen;

if( (pld->LgInfoPos + StartAddr*138 + infolen)  > (FBufferSize + 100) ) {
*pSend = 0x82; pSend++; SendLen++;
} else {
*pSend = 0x80; pSend++; SendLen++;
}
*pSend = (StartAddr & 0xFF00) >> 8;    pSend++; SendLen++;
*pSend = StartAddr;                                pSend++; SendLen++;

infolen = *Code;  Code++;

for(i=0;i<infolen;i++) {
eeprom_write_byte(pld->LgInfoPos + StartAddr*138 + i , *Code );  Code++;  // MaxLogic
}}
break;

 

[Notification]

   Please in Downloader use FrameCount 10. to match device’s middleware.

 

 

Author: ivan10232006

https://twicss.wordpress.com, epOffice | twicss Projects https://ivansphoto123.wordpress.com, Nikon D80 Photo Albums. https://dca.epoffice.org/wordpress DCA Store

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: