Keil™, An ARM® Company

Technical Support

C166: FLASH PROGRAMMING UTILITIES


Information in this article applies to:

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

QUESTION

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

ANSWER

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

  • http://www.hitex.co.uk/c166/utilities.html
  • http://www.hitex.co.uk/download/btld/btld.html. 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.

SEE ALSO

Last Reviewed: Monday, November 05, 2001


Did this article provide the answer you needed?
 
Yes
No
Not Sure