Forums

Rif: Re: Rif: Re: Rif: Bootloading through CAN bus

Started by Unknown December 9, 2002

Don't afraid. linker.cmd is simple. If you compare my file ahd original
file you can see that I have done little changes.

The line:

.bflash_ext (RX) : ORIGIN = 0x7000, LENGTH = 0x0DFF # boot flash
memory extension

is to define the new segment in normal flash where you can put your boot
code.

The section:

.main_application_program :
{
# .text sections

# * (.text)
bootstart.c (.text)
flashprog.c (.text)
prog.c (.text)
sparser.c (.text)

} > .bflash

now specific the projec file name to put in boot sector. In original file
the * (.text) mean tha all file must put in bflash and now I specific the
file name.

The new section:

.main_extension_application_program :
{
# .text sections

bootloader.c (.text)
com.c (.text)
spidrivers.c (.text)
mmcdrv.c (.text)
mmcfat.c (.text)
mmc.c (.text)

* (rtlib.text)

} > .bflash_ext

specific the file name tu be in new bflash_ext segment.

This is all. If you need more help please contact me.
Regards, "Mohammad

Serjooei - Per:

Kar-Tech, Inc." Cc:

<Mohammad@kar-tec Oggetto: Re: Rif: Re: Rif:
[motoroladsp] Bootloading
h.com> through CAN bus
06/12/02 18.24

Per favore,

rispondere a

Mohammad

I've had no experience on linker.cmd file. I've been using an example of
CodeWarrior.
So I have no idea how to change that to work for me. Do you know any
document for
link commands? I'm sending the linker.cmd attached to this massage. If
making
changes is easy please do that for me.
I'm also wondering that changing linker.cmd is enough and compiler takes
care of
everything or I have do something especial to jump from original boot flash
to the
extesion part.

Thanks in advance,
Mohammad

To:
From:
Date sent: Fri, 6 Dec 2002 17:07:54 +0100
Subject: Rif: Re: Rif: [motoroladsp] Bootloading through
CAN bus

Try it now. My firewall had cut .cmd files.
I'm also interest to a bootloader via CAN!!!
----- Inoltrato da Giuliano Tognon/QEM/IT il 06/12/02 17.07 -----

Giuliano Tognon

Per:

06/12/02 17.04 Cc:

Oggetto: Rif: Re: Rif:
[motoroladsp] Bootloading through
CAN bus Try now
Regards,

----- Inoltrato da Giuliano Tognon/QEM/IT il 06/12/02 17.04 -----

Giuliano Tognon

Per:

06/12/02 15.42 Cc:

Oggetto: Rif: Re: Rif:
[motoroladsp] Bootloading through
CAN bus(Document link: Giuliano
Tognon)

(See attached file: linker.zip)

You must add the "bflash_ext" segment in linker.cmd file as you can
see in attached file. Please be sure that your firmware not exceed
0x7000 address. Regards, "Mohammad
Serjooei - Per:

Kar-Tech, Inc." Cc:
<Mohammad@kar-tec Oggetto:
Re: Rif: [motoroladsp] Bootloading through CAN
h.com> bus 06/12/02 15.24
Per favore,
rispondere a
Mohammad

Since we have no external flash in many of our applications we prefer
to have an extension with internal flash. Could you please let me know
about the details. I'm pretty sure 4Kw would work for us. Have you
done this by linker commands? I highly appreciate your help.

Thanks

Subject: Rif: [motoroladsp] Bootloading through CAN
bus To: Copies to:
From:
Date sent: Fri, 6 Dec 2002 08:52:09
+0100 If you want you can increase boot sector size using normal internal
flash sectors. Actual boot sector is not different from other sectors,
is only extern if you start in mode B so you can boot from an external
memory. I have a boot loader that is 4Kword (2Kw boot sector + 2Kw of
normal internal flash) and can receive program boot both from serial
or from a MultiMediaCard. Thanks
"Mohammad
Serjooei - Per:

Kar-Tech, Inc." Cc:
<Mohammad@kar-tec Oggetto:
[motoroladsp] Bootloading through CAN bus
h.com>

05/12/02 17.13
Per favore,
rispondere a
Mohammad
We've been using bootloader initially JTAGed into Boot Flash in order
to download the application code via serial port. At the moment we
need to download the application code via CAN bus instead of serial
port. Our major

problem is the small size of boot flash which is almost filled with
the supplied bootloader by CW and made it impossible to change
bootloader to interface through CAN bus to get the application code.
Has anybody any experience in this regard. I would appreciate any
information regarding this. Thanks, MohammadKar-Tech Inc. Tel: (262)
646-9444 ext. 232 Fax: (262) 646-9445 E-mail:

Visit us on the web at http://www.kar-tech.com
_____________________________________
Note: If you do a simple "reply" with your email client, only the
author of this message will receive your answer. You need to do a
"reply all" if you want your answer to be distributed to the entire
group.

_____________________________________
About this discussion group:

To Join:

To Post:

To Leave:

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3 ">http://docs.yahoo.com/info/terms/
Kar-Tech Inc.
Tel: (262) 646-9444 ext. 232
Fax: (262) 646-9445
E-mail:

Visit us on the web at http://www.kar-tech.com

Kar-Tech Inc.
Tel: (262) 646-9444 ext. 232
Fax: (262) 646-9445
E-mail:

Visit us on the web at http://www.kar-tech.com The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

---- File information -----------
File: linker.cmd
Date: 2 Apr 2001, 9:09
Size: 4404 bytes.
Type: Binary
(See attached file: linker.cmd) Date: 12/ 9/2002 09:34:32
File: linker.cmd
Action: Blocked;



Attachment (not stored)
linker.cmd
Type: application/octet-stream