| Hitex's C16x/ST10 Utilities, FLASH Programming And Example Programs |
If we keep getting asked for a particular tool or utility program and it does
not exist, we just go ahead and write it. Beside keeping our emulator technical
support team occupied, it saves our customers a lot of time fiddling about re-inventing
the wheel. Unlike the application notes, these programs do not extensive documentation
and are only available as raw source code. Please note that unlike similar utilities
that you may find on the chip manufacturers' CD-ROMs, ours are coded in the
C language, not assembler. This should make them easier for you to modify for
use in you own projects.
On-Chip FLASH Programming Utilities For C16x and ST10
Everybody kept telling us that there were some really useful programs around that would blow the on-chip FLASH on single-chip devices. We did not know where they were but repeated this increasingly doubtful rumour to our customers. In the end, a major customer of ST and Infineon said, OK, where is it?. Hmm... came the response so we spent a fun afternoon implementing these previously mythical utilities.
These are now available for
you to enjoy, free of charge: BLOAD166 allows an Intel HEX file to be blown
into the on-chip FLASH of a 166 while BLOAD167 does the same for the 167 versions.
These are freeware and without support but if you cannot get them to work, let
us know!
Infineon's Own On-Chip FLASH Programming Utilities
(Possibly!) inspired by our attempts, Infineon have now produced the MEMTOOL
utility which is a properly package universal on-chip FLASH and OTP programmer
for all Infineon C166 and most ST10 parts (not 168). You can download MEMTOOL
2.1.6 from our download area (1.7MB). For the ST10F168
and ST10F269
we have DLL-based tools.
Off-Chip AMD FLASH Programming Utilities
For programming external FLASH, you can download BTLDWIN. This is able to program AMD devices that use the FLASHWrite and Embedded algorithms.
Bootstrap-Loaded C16x Hardware Diagnostic Tools - Seriously Useful And Free!
This simple utility is great for getting newly-built 166 family boards to report how they are configured via the serial port. This will allow you to spot when chip selects, address lines, WRCFG, bus modes etc. are incorrectly set due to hardware faults or missing Port 0 pull-down resistors. As long as your C16x can get into bootstrap mode then this tool will be invaluable. It is mentioned in our 166 Family Designer's Guide, located elsewhere on this site. We ought to charge for this one but being nice guys we just give it away!
Christian Perschel from Vienna has produced a superb bootstrap-loaded diagnostic
utility called minimon.
This guy ought be awarded the Nobel prize for useful gadgets for this one! You
can find the documentation for this here.
CAN Examples
The training material used on our CAN tutorial is available. The four examples cover:
These are written in Keil PK166LITE and will run on the Rigel RMB167CRI and Phytec KITCON167 boards, both of which we can supply in the UK.
CAN-RS232 Bridge Program
After being asked many times for a means of sending RS232-derived data over
CAN, we have now done it. The program will allow RS232 full-duplex data to
be
fed into one CAN node to emerge at another. It is written in Keil PK166LITE
for the KITCON167 and SK167.
General C167 Example Programs
We have a whole load of working C167
Examples which show how each of the major peripherals are configured....