replace dbug with Colilo on M5474LITE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

replace dbug with Colilo on M5474LITE

4,279 Views
elee
Contributor I
Had problems - cannot replace dbug with Colilo from v2.6 LTIB BSP (200512xx.iso)
 
TARGET Board:  M5474Lite  (M5475AFE); recognized there is no NOR flash and no code flash.  Colilo must be in Boot Flash to replace dbug...
 
tried using dbug to load colilo_mcf5475.srec (tried both rebuilt on host and using the srec from the bsp '/images' directory) to RAM area first (go colilo at 1000400) and successfully saw a
colilo>
 prompt came up, then tried to tftp colilo_mcf5475_only.bin to boot flash (image size = 65258 bytes)  and flash 0xff800000 0x1000, then go 0xff800400 and saw a couple of weird characters before the lines of "Colilo M547x-M548x Bootloader" and "2005 Freescale/2004 Motorola (c)" came up.  Then supposingly I reset the board and should see colilo come up after reset, but failed.
 
please see some other issues as in attachments
 
Labels (1)
0 Kudos
3 Replies

444 Views
raulen
Contributor III

Hi,

I'm working with a MCF5484Lite and having the same trouble.  Do you achieve to solve it?

I think the generated bootloader by LTIB works right only on 5475 and 5485 due to the lack of another flash memory in our board and the differences in the memory map. Probably we should modify some parameters in the colilo source code and re-generate it ourselves. But I am not sure how.

Any ideas?

Best regards,

Raúl Moreno

 

0 Kudos

444 Views
Gian
Contributor I
Hi Raùl!

I have your same problem using M5484Lite EVB:
All compiling with LTIB works, the colilo image transfer also, but the colilo executing crash with this output:

ColdFire MCF548X on the M5484LITE
Firmware v4a.1a.1d (Built on Dec 6 2004 11:53:07)
Copyright 1995-2004 Freescale Semiconductor, Inc.

Enter 'help' for help.

dBUG> dn
Downloading S-Record 'colilo_mcf5485.srec' from 192.168.1.39
S-record download successful!
TFTP transfer completed
Read 195180 bytes (382 blocks)
dBUG> go 1000400
Code Manufactor detected = F000 (S/B 0x89)
Code Device detected = F000 (S/B 0x8803)
Boot Device detected = 88C5 (S/B 0x88C3)ÿàààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààààà

External Reset

ColdFire MCF548X on the M5484LITE
Firmware v4a.1a.1d (Built on Dec 6 2004 11:53:07)
Copyright 1995-2004 Freescale Semiconductor, Inc.

Enter 'help' for help.

dBUG>

and I must reset the board as you seen above.

I agree with you about the colilo image version: it seems targeted specially for M5475 and M5485 processors and so doesn't work with M5484...

Have you solved this trouble?
What do you think about the possibility of load a linux kernel image through Lolo?

Best regards,

Gianluca Salvador
0 Kudos

444 Views
Gian
Contributor I
I solved the problem!!!!!!!!!!

It was a stupidity: simply by default colilo operates on 19200 baud rate

set baud 19200

go 0x1000400

FireEngine board boot...
Colilo>
0 Kudos