Converting Between FLASH and ICE Mode
6-4
AT43DK370 USB Host/Function Dev. Kit User Guide
3423C–USB–1/04
6.5
Converting to
Download Mode
from Flash Mode
1.
In ADS go to DebugRel > Linker > ARM Linker > Options.
2.
Under Image entry point specify address 0x108000.
3.
In project view, modify the ks32c50100_scat_l file to use the Download Mode
portion only.
4.
In ADS go to DebugRel > Language Settings > ARM Assembler.
5.
Click on the Predefines tab.
6.
Add assembly constants: DOWNLOAD and click Apply.
7.
Go to Language Settings > ARM C Compiler > Preprocessor.
8.
Add C constant: DOWNLOAD and click OK.
6.6
Converting to
ICE Mode from
Flash Mode
1.
In ADS go to DebugRel > Linker > ARM Linker > Options.
2.
Under Image entry point specify address 0x1000.
3.
In project view, modify the ks32c50100_scat_l file to use the ICE Mode portion
only.
4.
In ADS go to DebugRel > Language Settings > ARM Assembler.
5.
Click on the Predefines tab.
6.
Delete assembly constant: FLASH.
7.
Go to Language Settings > ARM C Compiler > Preprocessor.
8.
Delete C constant: FLASH.
6.7
Converting to
ICE Mode from
Download Mode
1.
In ADS go to DebugRel > Linker > ARM Linker > Options.
2.
Under Image entry point specify address 0x1000.
3.
In project view, modify the ks32c50100_scat_l file to use the ICE Mode portion
only.
4.
In ADS go to DebugRel > Language Settings > ARM Assembler.
5.
Click on the Predefines tab.
6.
Delete assembly constant: FLASH and DOWNLOAD.
7.
Go to Language Settings > ARM C Compiler > Preprocessor.
8.
Delete C constants: FLASH and DOWNLOAD.
6.8
Summary
ICE Mode: Entry point = 0x1000, ks32c50100_scat_l file use ICE mode portion, No
“FLASH” or “DOWNLOAD” as predefine constants.
Flash Mode: Entry point = 0x0, ks32c50100_scat_l file use Flash mode portion, has
“FLASH” as predefine constant.
Download Mode: Entry point = 0x108000, ks32c50100_scat_l file use Download mode
portion, has both “FLASH” and “DOWNLOAD” as predefine constants.
Summary of Contents for AT43DK370
Page 1: ...AT43DK370 USB Host Function Development Kit User Guide for Revision 1 3...
Page 2: ......
Page 6: ...Table of Contents iv AT43DK370 USB Host Function Dev Kit User Guide 3423C USB 1 04...
Page 8: ...Introduction 1 2 AT43DK370 USB Host Function Dev Kit User Guide 3423C USB 1 04...
Page 46: ...Technical Support 8 2 AT43DK370 USB Host Function Dev Kit User Guide 3423C USB 1 04...
Page 56: ...Appendices 9 10 AT43DK370 USB Host Function Dev Kit User Guide 3423C USB 1 04...