EmbeddedRelated.com
Forums

bootloader sill

Started by mayotte_d March 29, 2007
I am trying to use the sill bootloader program with a usb dongle on
com4 and step 4 of the instructions seems ok except the board is a IAR
kickstart with 12.00 xtal and it says 11.67.

If I try the time ./sill etc as shown below, it doesnt work. If I
just enter time and enter, it does show the time. I am not
sure how to proceed. I don't seem to be able to get the NITE program
to run with my com4 either. Any help would be appreciated.

regards

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\TEMP>sill -i com4
SILL: Serial Intel-format LPC Loader
Copyright (c) 2004-2006 Jayasooriah
Computing and Systems Technology P/L
02.06 2007/01/31 2e65-d540-16dc-f9e8
link sacu ok
boot wlfg ok
load 0248 ok
read d16f ok
boot 7fffd000 (12K)
xtal 00b22000 (11673600)
part 0402ff23 (67305251)
code 0000020b (2.11)
sram 40000000 40007fff
prom 00000000 0003ffff
type (1, 200, 400)
sect (10, 14, 14)
0 00000000 00000fff (4K)
1 00001000 00001fff (4K)
2 00002000 00002fff (4K)
3 00003000 00003fff (4K)
4 00004000 00004fff (4K)
5 00005000 00005fff (4K)
6 00006000 00006fff (4K)
7 00007000 00007fff (4K)
8 00008000 0000ffff (32K)
9 00010000 00017fff (32K)
10 00018000 0001ffff (32K)
11 00020000 00027fff (32K)
12 00028000 0002ffff (32K)
13 00030000 00037fff (32K)
14 00038000 0003ffff (32K)
send 0f03 ok
save pepw ok

C:\TEMP>time ./sill -i usb.1 230400
The system cannot accept the time entered.
Enter the new time:

C:\TEMP>sill

An Engineer's Guide to the LPC2100 Series

--- In l..., "mayotte_d"
wrote:
>
> I am trying to use the sill bootloader program with a usb dongle on
> com4 and step 4 of the instructions seems ok except the board is a IAR
> kickstart with 12.00 xtal and it says 11.67.
>
> If I try the time ./sill etc as shown below, it doesnt work. If I
> just enter time and enter, it does show the time. I am not
> sure how to proceed. I don't seem to be able to get the NITE program
> to run with my com4 either. Any help would be appreciated.
>
> regards
>
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> C:\TEMP>sill -i com4
> SILL: Serial Intel-format LPC Loader
> Copyright (c) 2004-2006 Jayasooriah
> Computing and Systems Technology P/L
> 02.06 2007/01/31 2e65-d540-16dc-f9e8
> link sacu ok
> boot wlfg ok
> load 0248 ok
> read d16f ok
> boot 7fffd000 (12K)
> xtal 00b22000 (11673600)
> part 0402ff23 (67305251)
> code 0000020b (2.11)
> sram 40000000 40007fff
> prom 00000000 0003ffff
> type (1, 200, 400)
> sect (10, 14, 14)
> 0 00000000 00000fff (4K)
> 1 00001000 00001fff (4K)
> 2 00002000 00002fff (4K)
> 3 00003000 00003fff (4K)
> 4 00004000 00004fff (4K)
> 5 00005000 00005fff (4K)
> 6 00006000 00006fff (4K)
> 7 00007000 00007fff (4K)
> 8 00008000 0000ffff (32K)
> 9 00010000 00017fff (32K)
> 10 00018000 0001ffff (32K)
> 11 00020000 00027fff (32K)
> 12 00028000 0002ffff (32K)
> 13 00030000 00037fff (32K)
> 14 00038000 0003ffff (32K)
> send 0f03 ok
> save pepw ok
>
> C:\TEMP>time ./sill -i usb.1 230400
> The system cannot accept the time entered.
> Enter the new time:
>
> C:\TEMP>sill

Hello,

Windows "time" command sets system time. The "time" command I was
using was a GNU BASH shell command (on Unix-line environment in
Windows) which tells how long it took to execute the command.

The purpose of this command is only to show how long the process took
and is not important in your case.

Get SILL checkout if the image will run on your part (at the very
least, to load and run programs from on-chip SRAM) by using the the
verify option as follows:

sill -iv com4

If that works, then you run NITE as follows:

nite -l com4 9600

Then connect the board to COM4 after removing any DTR-to-SRST or
RTS-to-EINT0 jumpers if they are installed. Hit the space bar and the
auto-baud routine should work out what the baudrate is and respond
with welcome text.

I your crystal being 12.00 MHz and SILL reporting 11.67 MHz, I suspect
there is an issue with the baudrate setting through your USB-to-RS232
converter that needs looking into. Drop me an email direct and I
will follow up on this.

Regards,

Jaya
--- In l..., "mayotte_d" wrote:
>
> I am trying to use the sill bootloader program with a usb dongle on
> com4 and step 4 of the instructions seems ok except the board is a IAR
> kickstart with 12.00 xtal and it says 11.67.
>
> If I try the time ./sill etc as shown below, it doesnt work. If I
> just enter time and enter, it does show the time. I am not
> sure how to proceed. I don't seem to be able to get the NITE program
> to run with my com4 either. Any help would be appreciated.
>
> regards
>
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> C:\TEMP>sill -i com4
> SILL: Serial Intel-format LPC Loader
> Copyright (c) 2004-2006 Jayasooriah
> Computing and Systems Technology P/L
> 02.06 2007/01/31 2e65-d540-16dc-f9e8
> link sacu ok
> boot wlfg ok
> load 0248 ok
> read d16f ok
> boot 7fffd000 (12K)
> xtal 00b22000 (11673600)
> part 0402ff23 (67305251)
> code 0000020b (2.11)
> sram 40000000 40007fff
> prom 00000000 0003ffff
> type (1, 200, 400)
> sect (10, 14, 14)
> 0 00000000 00000fff (4K)
> 1 00001000 00001fff (4K)
> 2 00002000 00002fff (4K)
> 3 00003000 00003fff (4K)
> 4 00004000 00004fff (4K)
> 5 00005000 00005fff (4K)
> 6 00006000 00006fff (4K)
> 7 00007000 00007fff (4K)
> 8 00008000 0000ffff (32K)
> 9 00010000 00017fff (32K)
> 10 00018000 0001ffff (32K)
> 11 00020000 00027fff (32K)
> 12 00028000 0002ffff (32K)
> 13 00030000 00037fff (32K)
> 14 00038000 0003ffff (32K)
> send 0f03 ok
> save pepw ok
>
> C:\TEMP>time ./sill -i usb.1 230400
> The system cannot accept the time entered.
> Enter the new time:
>
> C:\TEMP>sill
>
Has anyone here tried out the lpc2148, USB bootloader that Paparazzi
uses.

http://www.recherche.enac.fr/paparazzi/wiki/index.php/Main_Page

The main issue I have is getting a working lpc loader to run under
windows. I might have to try linux.

This bootloader is based off of LPCUSB, and should work well if I get
the loader app to run.

let me know if anyone has this working on windows, or even linux for
that matter.

--- In l..., "mayotte_d" wrote:
>
> I am trying to use the sill bootloader program with a usb dongle on
> com4 and step 4 of the instructions seems ok except the board is a IAR
> kickstart with 12.00 xtal and it says 11.67.
>
> If I try the time ./sill etc as shown below, it doesnt work. If I
> just enter time and enter, it does show the time. I am not
> sure how to proceed. I don't seem to be able to get the NITE program
> to run with my com4 either. Any help would be appreciated.
>
> regards
>
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> C:\TEMP>sill -i com4
> SILL: Serial Intel-format LPC Loader
> Copyright (c) 2004-2006 Jayasooriah
> Computing and Systems Technology P/L
> 02.06 2007/01/31 2e65-d540-16dc-f9e8
> link sacu ok
> boot wlfg ok
> load 0248 ok
> read d16f ok
> boot 7fffd000 (12K)
> xtal 00b22000 (11673600)
> part 0402ff23 (67305251)
> code 0000020b (2.11)
> sram 40000000 40007fff
> prom 00000000 0003ffff
> type (1, 200, 400)
> sect (10, 14, 14)
> 0 00000000 00000fff (4K)
> 1 00001000 00001fff (4K)
> 2 00002000 00002fff (4K)
> 3 00003000 00003fff (4K)
> 4 00004000 00004fff (4K)
> 5 00005000 00005fff (4K)
> 6 00006000 00006fff (4K)
> 7 00007000 00007fff (4K)
> 8 00008000 0000ffff (32K)
> 9 00010000 00017fff (32K)
> 10 00018000 0001ffff (32K)
> 11 00020000 00027fff (32K)
> 12 00028000 0002ffff (32K)
> 13 00030000 00037fff (32K)
> 14 00038000 0003ffff (32K)
> send 0f03 ok
> save pepw ok
>
> C:\TEMP>time ./sill -i usb.1 230400
> The system cannot accept the time entered.
> Enter the new time:
>
> C:\TEMP>sill
>
> -----Original Message-----
> From: l...
> [mailto:l...]On Behalf
> Of sashi ono
> Sent: Thursday, March 29, 2007 6:10 PM
> To: l...
> Subject: [lpc2000] Re: bootloader sill (Paparazzi usb bootloader)
> LPC-USB based
>
> Has anyone here tried out the lpc2148, USB bootloader that Paparazzi
> uses.
>
> http://www.recherche.enac.fr/paparazzi/wiki/index.php/Main_Page
>
> The main issue I have is getting a working lpc loader to run under
> windows. I might have to try linux.
>
> This bootloader is based off of LPCUSB, and should work well if I get
> the loader app to run.
>
> let me know if anyone has this working on windows, or even linux for
> that matter.

What problem specifically are you having under Windows? I've used
both Flash Magic, and lpc21isp (which comes with WinARM), without
problems under Windows. These may work best if you use an actual
hardware com port, rather than a USB one.

If you need a USB bootloader then this one works well:
http://www.tnkernel.com/usb_fw_upgrader.html. It is also based on
LPCUSB. The only issue with it, is that the driver it uses is a
demo version, and it times out every 4 hours, requiring a PC reboot
to get it working again.

Mike