View Issue Details

IDProjectCategoryView StatusLast Update
0000146GC StudioCompilerpublic2022-04-10 05:19
Reporterevanvennn Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version99.02.18 
Target Version99.02.19Fixed in Version99.02.19 
Summary0000146: Programmer not Selected correctly
DescriptionA programmer that is meant to be selected .. is not selected.
Steps To ReproduceSelect "Arduino Leonardo/Robot" in Prefs Editor with a USEIF of "ChipName = MEGA32U4"

the ChipName = MEGA32U4 test fails, therefore, the incorrect programmer is selected
TagsNo tags attached.

Activities

evanvennn

2022-04-06 14:13

administrator   ~0000070

In UTILS.h /SUB Calculate (SUM As String) the SUM is not calculated as expected.
 There is a IF statement to handle non byte vars.. I have already updated this IF statement but the issue is caused by the letter U in the chipname and the method treats "ChipName = MEGA32U4" as LONG variable....

Code changed to NOT treat the test as variables with 'mega' is in the test.

  ' When ( l,h,u are all NOT present in SUM ) or ( lf IS present ) jump to label
  IF ( INSTR(LCase(SUM), "l") = 0 AND INSTR(LCase(SUM), "h") = 0 AND INSTR(LCase(SUM), "u") = 0 ) OR INSTR(LCase(SUM), "lf") <> 0 THEN GOTO ENDHIGHLOW


To

  ' When ( l,h,u are all NOT present in SUM ) or ( lf IS present ) or ( mega IS present ) jump to label
  IF ( INSTR(LCase(SUM), "l") = 0 AND INSTR(LCase(SUM), "h") = 0 AND INSTR(LCase(SUM), "u") = 0 ) OR INSTR(LCase(SUM), "lf") <> 0 OR INSTR(LCase(SUM), "mega") <> 0 THEN GOTO ENDHIGHLOW

evanvennn

2022-04-06 14:14

administrator   ~0000071

resolved in 1106

Issue History

Date Modified Username Field Change
2022-04-06 14:08 evanvennn New Issue
2022-04-06 14:13 evanvennn Note Added: 0000070
2022-04-06 14:14 evanvennn Note Added: 0000071
2022-04-06 14:15 evanvennn Status new => resolved
2022-04-07 00:16 angel-spartan Product Version => 99.02.18
2022-04-07 00:16 angel-spartan Fixed in Version => 99.02.19
2022-04-07 00:16 angel-spartan Target Version => 99.02.19
2022-04-07 00:18 angel-spartan Resolution open => fixed
2022-04-10 05:19 angel-spartan Status resolved => closed