Forums

Re: Free Serial Intel Hex Loader for LPC2100

Started by jayasooriah July 23, 2006
Hello,

I have put up a free (for non profit use) version of utility that will
load my boot loader to flash sector 0, and automatically configure it
to work with the crystal in use. See:

http://www.cse.unsw.edu.au/~jayas/esdk/sill.html

Unlike my previous version, this one is based on methods I used to
implement initialisation at the factory floor. While it is a fresh
development (so that it can be made "free"), it uses methods that
makes it work more reliably under a variety of conditions -- direct
connect or through USB or TCP virtual ports.

It would be useful, for beginners or in a student laboratory
environment where you simply want to quickly load and run programs
from SRAM or on-chip FLASH without having to worry about switching
between or bothering with ISP flash loaders and terminal emulators.
You simply cut and paste the hex files to your favourite terminal
emulator.

For Linux/Unix users, drop me an email if you are interested with your
crystal frequency so that I can send you the hex file, and also a
configuration file that will do the customisation to enable you to
load into flash. Without customisation you can only load and run
programs from SRAM.

Regards,

Jaya

An Engineer's Guide to the LPC2100 Series

jayasooriah wrote:
> I have put up a free (for non profit use) version of utility that will
> load my boot loader to flash sector 0, and automatically configure it
> to work with the crystal in use. See:
>
> http://www.cse.unsw.edu.au/~jayas/esdk/sill.html

Thanks Jaya, it sounds like an easy bootloader to use, certainly does
away with the dodgy "Engineers Only" Philips Flash Utility that they
can't be bothered fixing up. I just tried it on an LPC2148 and I get
error 21, don't know what that is. I use a 22.1184M rock as standard and
the device is connected via a CP2102 USB on COM4.
C:\A>SILL COM4
SILL: Serial Intel-format LPC Loader
Copyright (c) 2004-2006 Jayasooriah
Computing and Systems Technology P/L
02.01 2006/07/23 8d21-6bc6-38dc-0ff0
link sacu ok
boot wlfg ok
load 0218 ok
read ....
sill: error 21: the device is not ready

C:\A>
*Peter*

--- In l..., Peter Jakacki wrote:

> sill: error 21: the device is not ready

Hmmm, I got a timout setting too small. Can we talk about this by
email so that I can look at where exactly it is timing out?

I tend not to be literal with timeouts so I catch errors :(

Jaya

--- In l..., "jayasooriah" wrote:
>
> --- In l..., Peter Jakacki wrote:
>
> > sill: error 21: the device is not ready

I have put up an update on my web with timeout increased by 50% where
it failed. Let me know what happens now.

The other option is to use a higher baud rate as timeouts come into
effect depending on baud rate in use only lower than 9600 baud.

Jaya