Skip to content

Commit 8c9de3a

Browse files
author
root
committed
20170922 :
Commit changed files to github. We add the "--device" command to let the user to assign the device number to work.
1 parent 8794481 commit 8c9de3a

22 files changed

Lines changed: 1020 additions & 578 deletions

60-dediprog.rules

100644100755
File mode changed.

ChipInfoDb.dedicfg

100644100755
File mode changed.

ChipInfoDb.h

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ int ChipInfoDbFindItem(CHIP_INFO ChipInfoDb[], int NumberOfItems, long JedecDevi
2222
void ChipInfoDump(long JedecDeviceIDToFind);
2323

2424
long ChipInfoDumpChipSizeInKByte(long Jedec);
25-
int Dedi_Search_Chip_Db_ByTypeName(char* TypeName, CHIP_INFO *Chip_Info, int search_all);
25+
int Dedi_Search_Chip_Db_ByTypeName(char* TypeName, CHIP_INFO *Chip_Info, int Index);
2626
void getExecPath(char* Path);
2727

2828

FlashCommand.c

100644100755
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ int FlashCommand_TransceiveIn(unsigned char *v, int len, int Index)
6060

6161

6262
int FlashCommand_SendCommand_OutOnlyInstruction(unsigned char *v, int len, int Index)
63-
{
63+
{
6464
return FlashCommand_TransceiveOut(v, len,NO_RESULT_IN, Index);
6565
}
6666

@@ -145,8 +145,7 @@ int FlashCommand_SendCommand_SetupPacketForBulkWrite(struct CAddressRange *AddrR
145145
rq.Value = (unsigned short)(AddrRange->start & 0xffff) ; //16 bits LSB
146146
rq.Index = (unsigned short)((AddrRange->start >> 16) & 0xffff) ; //16 bits MSB
147147
rq.Length = (unsigned long)(5) ;
148-
}
149-
148+
}
150149
// send rq via control pipe
151150
return OutCtrlRequest(&rq, vInstruction, rq.Length,Index);
152151
}

FlashCommand.h

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ int FlashCommand_SendCommand_SetupPacketForAT45DBBulkWrite(struct CAddressRange
2424

2525
int FlashCommand_SendCommand_SetupPacketForBulkRead(struct CAddressRange *AddrRange, unsigned char modeRead,unsigned char ReadCom,int Index);
2626

27-
#endif //FLASHCOMMANDS
27+
#endif //FLASHCOMMANDS

IntelHexFile.c

100644100755
File mode changed.

IntelHexFile.h

100644100755
File mode changed.

Macro.h

100644100755
File mode changed.

MotorolaFile.c

100644100755
File mode changed.

MotorolaFile.h

100644100755
File mode changed.

0 commit comments

Comments
 (0)