Skip to content

Commit abbded7

Browse files
Updating Keil export templates to have flash algorithm.
1 parent d06efae commit abbded7

File tree

4 files changed

+54
-6
lines changed

4 files changed

+54
-6
lines changed

workspace_tools/export/uvision4_max32600mbed.uvopt.tmpl

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,26 @@
120120
<pMon>BIN\CMSIS_AGDI.dll</pMon>
121121
</DebugOpt>
122122
<TargetDriverDllRegistry>
123+
<SetRegEntry>
124+
<Number>0</Number>
125+
<Key>DLGTARM</Key>
126+
<Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)</Name>
127+
</SetRegEntry>
128+
<SetRegEntry>
129+
<Number>0</Number>
130+
<Key>ARMDBGFLAGS</Key>
131+
<Name></Name>
132+
</SetRegEntry>
133+
<SetRegEntry>
134+
<Number>0</Number>
135+
<Key>CMSIS_AGDI</Key>
136+
<Name>-X"MBED CMSIS-DAP" -U0400020312345678EFC8AD80 -O142 -S0 -C0 -P00 -N00("ARM CoreSight JTAG-DP") -D00(4BA00477) -L00(0) -FO23 -FD20000000 -FC800 -FN1 -FF0MAX32600 -FS00 -FL040000</Name>
137+
</SetRegEntry>
138+
<SetRegEntry>
139+
<Number>0</Number>
140+
<Key>DLGUARM</Key>
141+
<Name></Name>
142+
</SetRegEntry>
123143
</TargetDriverDllRegistry>
124144
<Breakpoint/>
125145
<DebugFlag>

workspace_tools/export/uvision4_max32600mbed.uvproj.tmpl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,17 +155,21 @@
155155
</DebugOption>
156156
<Utilities>
157157
<Flash1>
158-
<UseTargetDll></UseTargetDll>
158+
<UseTargetDll>1</UseTargetDll>
159159
<UseExternalTool>0</UseExternalTool>
160160
<RunIndependent>0</RunIndependent>
161161
<UpdateFlashBeforeDebugging>1</UpdateFlashBeforeDebugging>
162162
<Capability>1</Capability>
163-
<DriverSelection></DriverSelection>
163+
<DriverSelection>4104</DriverSelection>
164164
</Flash1>
165165
<bUseTDR>0</bUseTDR>
166-
<Flash2></Flash2>
166+
<Flash2>BIN\CMSIS_AGDI.dll</Flash2>
167167
<Flash3>"" ()</Flash3>
168168
<Flash4></Flash4>
169+
<pFcarmOut></pFcarmOut>
170+
<pFcarmGrp></pFcarmGrp>
171+
<pFcArmRoot></pFcArmRoot>
172+
<FcArmLst>0</FcArmLst>
169173
</Utilities>
170174
<TargetArmAds>
171175
<ArmAdsMisc>

workspace_tools/export/uvision4_maxwsnenv.uvopt.tmpl

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,26 @@
120120
<pMon>BIN\CMSIS_AGDI.dll</pMon>
121121
</DebugOpt>
122122
<TargetDriverDllRegistry>
123+
<SetRegEntry>
124+
<Number>0</Number>
125+
<Key>DLGTARM</Key>
126+
<Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)</Name>
127+
</SetRegEntry>
128+
<SetRegEntry>
129+
<Number>0</Number>
130+
<Key>ARMDBGFLAGS</Key>
131+
<Name></Name>
132+
</SetRegEntry>
133+
<SetRegEntry>
134+
<Number>0</Number>
135+
<Key>CMSIS_AGDI</Key>
136+
<Name>-X"MBED CMSIS-DAP" -U0400020312345678EFC8AD80 -O142 -S0 -C0 -P00 -N00("ARM CoreSight JTAG-DP") -D00(4BA00477) -L00(0) -FO23 -FD20000000 -FC800 -FN1 -FF0MAX32600 -FS00 -FL040000</Name>
137+
</SetRegEntry>
138+
<SetRegEntry>
139+
<Number>0</Number>
140+
<Key>DLGUARM</Key>
141+
<Name></Name>
142+
</SetRegEntry>
123143
</TargetDriverDllRegistry>
124144
<Breakpoint/>
125145
<DebugFlag>

workspace_tools/export/uvision4_maxwsnenv.uvproj.tmpl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,17 +155,21 @@
155155
</DebugOption>
156156
<Utilities>
157157
<Flash1>
158-
<UseTargetDll></UseTargetDll>
158+
<UseTargetDll>1</UseTargetDll>
159159
<UseExternalTool>0</UseExternalTool>
160160
<RunIndependent>0</RunIndependent>
161161
<UpdateFlashBeforeDebugging>1</UpdateFlashBeforeDebugging>
162162
<Capability>1</Capability>
163-
<DriverSelection></DriverSelection>
163+
<DriverSelection>4104</DriverSelection>
164164
</Flash1>
165165
<bUseTDR>0</bUseTDR>
166-
<Flash2></Flash2>
166+
<Flash2>BIN\CMSIS_AGDI.dll</Flash2>
167167
<Flash3>"" ()</Flash3>
168168
<Flash4></Flash4>
169+
<pFcarmOut></pFcarmOut>
170+
<pFcarmGrp></pFcarmGrp>
171+
<pFcArmRoot></pFcArmRoot>
172+
<FcArmLst>0</FcArmLst>
169173
</Utilities>
170174
<TargetArmAds>
171175
<ArmAdsMisc>

0 commit comments

Comments
 (0)