DSPRelated.com
Forums

Re: doubts about flash programming

Started by Jaime Andres Aranguren Cardona March 18, 2005
Hi,

--- Giovanni <> wrote:
>
> If I read the "Evaluation system manual", it seems
> that to program the
> PSD4256G6V I need the FlashLINK JTAG programming
> cable from
> STMicorelectronics and the PSDsoft Express software,
> but in other
> manuals there is also a link to the tool that is
> provided by AD in
> VisulDSP++ 3.5.
> So I would like to know:
>
> * what software can I use to program flash
> memory
> * the only way by which I can access the flash
> memory is the JTAG port?

As long as you are using the kit with VisualDSP++, you
can programm it from Tools -> Flash programmer... From
it, you first load a programmer driver (.dxe),
normally one provided by ADI. One the driver is loaded
into the DSP, you programm the flash with your .ldr
file, and that's all.

As the PSD devices include an internal PLD and other
stuff, if you want to modify the whole settings on the
device, you'd need ST's FlashLink cable and PSDSoft
Express software.

IHTH.

JaaC Jaime Andr Aranguren Cardona
__________________________________




Hello everybody.
I have a doubt about programming of flash memory in a Blackfin 533
EZ-KIT lite device.
I would like to load the U-BOOT program in flash memory to use ucLinux
in this board. However I don't understand what tool and ports I have to
use to access blackfin flash memory.
If I read the "Evaluation system manual", it seems that to program the
PSD4256G6V I need the FlashLINK JTAG programming cable from
STMicorelectronics and the PSDsoft Express software, but in other
manuals there is also a link to the tool that is provided by AD in
VisulDSP++ 3.5.
So I would like to know:

* what software can I use to program flash memory
* the only way by which I can access the flash memory is the JTAG port?

Moreover is there some free book that explain the way by which works a
JTAG emulator? I'm not interested in a book specific for a platform, but
I would like a general book that explains the usefullness of this tool
Thanks a lot
Giovanni



Thanks for your answer, I have a doubt: in the ucLinux guide there is
the following phrase: "Visual DSP++ and an ICE are required to download
the uClinux kernel to the development system".
So this means that I need a JTAG emulator to download the kernel to the
flash memory.
Is there a cheaper way to do that?
Thanks a lot, Giovanni Jaime Andres Aranguren Cardona wrote:

>Hi,
>
>--- Giovanni <> wrote: >>If I read the "Evaluation system manual", it seems
>>that to program the
>>PSD4256G6V I need the FlashLINK JTAG programming
>>cable from
>>STMicorelectronics and the PSDsoft Express software,
>>but in other
>>manuals there is also a link to the tool that is
>>provided by AD in
>>VisulDSP++ 3.5.
>>So I would like to know:
>>
>> * what software can I use to program flash
>>memory
>> * the only way by which I can access the flash
>>memory is the JTAG port?
>>
>>
>
>As long as you are using the kit with VisualDSP++, you
>can programm it from Tools -> Flash programmer... From
>it, you first load a programmer driver (.dxe),
>normally one provided by ADI. One the driver is loaded
>into the DSP, you programm the flash with your .ldr
>file, and that's all.
>
>As the PSD devices include an internal PLD and other
>stuff, if you want to modify the whole settings on the
>device, you'd need ST's FlashLink cable and PSDSoft
>Express software.
>
>IHTH.
>
>JaaC >Jaime Andr Aranguren Cardona >
>__________________________________ >


Hi,

There is a JTAG project on the blackfin.uclinux.org
site. It is supposed to "replace" the expensive JTAG
emulator for download the kernel to the board.

If your STAMP has already the kernel downloaded, you
can upgrade/modify it by loading through UART (slow)
or through network connection (TFTP).

IHTH.

--- Giovanni <> wrote:
> Thanks for your answer, I have a doubt: in the
> ucLinux guide there is
> the following phrase: "Visual DSP++ and an ICE are
> required to download
> the uClinux kernel to the development system".
> So this means that I need a JTAG emulator to
> download the kernel to the
> flash memory.
> Is there a cheaper way to do that?
> Thanks a lot, Giovanni


Jaime Andr Aranguren Cardona
__________________________________




First of all thanks a lot for your endurance and your kindness.
I want make you another question, to confirm things that you said me:

1. BF533 doesn't need a JTAG emulator provided I accept a slower
debug session (and I will accept it :-))
2. to program the flash memory on the BF533 I can use an inexpensive
tool lik that provided by PSD or similar, that is a cable between
PC and JTAG connector that will enable me to load the uboot image
on flash memory.
3. After the load of u-boot in memory, I will be able to use uLinux
in my board and debug my application without the external JTAG
emulator

Thanks again for your help, and sorry if I asked so often if the JTAG
emulator is absolutely necessary, but it is a bit to expensive for my
university group. Jaime Andres Aranguren Cardona wrote:

>Hi,
>
>--- Giovanni <> wrote: >>Ok, it seems interesting, because our lab has 6
>>BF533 ezkit lite board.
>>
>>
>
>Great! Good material to work with! >
>>I will search for the project that you are talking
>>about.
>>Do you have some idea if it works well with the
>>BF533 EZ-KIT LITE?
>>
>>
>
>I don't think so!!! If you have the ezKit, you don't
>need it anyway, because the kit itself has the onboard
>JTAG interface. Tha's what the USB iterface + Cypress'
>EzUSB microcontroller are for. It is like having an
>onboard emulator, the same functionality, although
>much more slow. >
>>In fact, I don't have the STAMP board.
>>Thanks a lot Giovanni
>>PS the project that you are talking about is the
>>"jtagtools" project?
>>
>>
>
>Yes, it is. >
>>Thanks a lot Giovanni
>>
> >Jaime Andr Aranguren Cardona >
>__________________________________ >


Hello Giovanni,

Let me reply to you inlined.

Regards.

--- Giovanni <> wrote:

> First of all thanks a lot for your endurance and
> your kindness.

You're very welcome.

> I want make you another question, to confirm things
> that you said me:
>
> 1. BF533 doesn't need a JTAG emulator provided I
> accept a slower
> debug session (and I will accept it :-))

Correct.

> 2. to program the flash memory on the BF533 I can
> use an inexpensive
> tool lik that provided by PSD or similar, that
> is a cable between
> PC and JTAG connector that will enable me to
> load the uboot image
> on flash memory.

That is one solution, although there is another one,
even cheaper: the JTAG interface on the EzKit, which
you access to via USB, enables you to program the
onboard Flash memory, with whatever .ldr file you have
developed. You first load a flash programming driver,
which is nothing but a .dxe (DSP executable file) that
you load (via the USB-JTAG interface) into the DSP and
enables you to write to the flash memory from the DSP!
I think the menu options in VisualDSP++ are Tools ->
Flash Programming.

Those PDS devices are more than a simple flash memory
(http://www.st.com/stonline/products/families/memories/psm/index.htm).
They integrate a PLD and often times (depending on the
model) also a secondary flash memory. ST provides the
FlashLINK JTAG parallel port programmer, which added
to the PSD SoftExpress software enables you to modify
the PLD equations, besides reprogrammng the flash. For
simple usage of the flash memory as non-volatile
storage for your DSP programs, you don't need the
FlashLINK nor PSD SoftExpress tools, the VisualDSP++
Flash Programming Driver will suffice.

I wouldn't recommend you to change the PLD equations
unless you REALLY know what you are doing, because you
might misconfigure some settings of the kit.

> 3. After the load of u-boot in memory, I will be
> able to use uLinux
> in my board and debug my application without
> the external JTAG
> emulator

I suppose so. I've used ucLinux, but on the STAMP
board, I've not used it yet on the EzKit.

> Thanks again for your help, and sorry if I asked so
> often if the JTAG

Don't worry, I like to share the few things I know
about ADI DSPs, and make it easy to others to start
using them.

> emulator is absolutely necessary, but it is a bit to
> expensive for my
> university group.

Yes, it IS! Jaime Andr Aranguren Cardona

__________________________________________________