Keil Logo

C166: Flash Programming Utilities

Information in this article applies to:

  • C166 Version 3.12
  • C166 Version 4.20
  • MCB167-NET Evaluation Board


How can I program flash devices that are connected on the C16x or ST10 microcontroller.


There are several tools available to do this. You might want to have a look at:

  • To program the 29F040 devices on the Keil MCB167-NET board with the BootLoad (Btld) utility, you must make the following selections:

    • PC Port: Select PC Interface which is used for download with 38600 Baud.
    • usconfigurations: BUSCON0 = 0x04AD, SYSCON = 0x0084, all other BUSCON/ADDRSEL set to 0x0.
    • Target Memory: Load to Flash. Flash Base Address = 0x0, Flash Size in Bytes = 0x100000.
    • Controller: C167 / Derivatives.
    • After Loading...: Jump to Address : 0x0.
    • Before Loading...: Erase flash before loading = YES.
    • Flash Algorithm: 2 AMD Embedded: 29F010, 29F040, 29F400.


Last Reviewed: Thursday, February 25, 2021

Did this article provide the answer you needed?
Not Sure
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.