DSPRelated.com
Forums

Programming boot EEPROM

Started by kas219 May 27, 2009
I have run into a problem and I hope someone can help me out. I am working with a custom board that uses a 5509A DSP and an SPI EEPROM for code storage.I have successfully tested my software using the JTAG interface and now it is time to load the code onto the EEPROM. The problem it, I don't know how to program the chip through the JTAG.

I have tried "FlashBurn" but it is only set up to program parallel interface Flash chips. "SDFlash" was also not useful because while it can program SPI EEPROM chips, it is not designed to run on the C55xx family. I have a feeling that this is a solved problem since the bootloader is already set up to read from these chips, there muct be an easy way to program them.

So, if anyone has any suggestions on how to program an SPI EEPROM chip over the 5509a's JTAG, please let me know. I am at my whits end.

Thank you
Keith
Keith-

> I have run into a problem and I hope someone can help me out. I am
> working with a custom board that uses a 5509A DSP and an SPI EEPROM
> for code storage.I have successfully tested my software using the
> JTAG interface and now it is time to load the code onto the EEPROM.
> The problem it, I don't know how to program the chip through the JTAG.
>
> I have tried "FlashBurn" but it is only set up to program parallel
> interface Flash chips. "SDFlash" was also not useful because while
> it can program SPI EEPROM chips, it is not designed to run on the
> C55xx family. I have a feeling that this is a solved problem since
> the bootloader is already set up to read from these chips, there
> muct be an easy way to program them.
>
> So, if anyone has any suggestions on how to program an SPI EEPROM
> chip over the 5509a's JTAG, please let me know. I am at my whits end.

I would guess there is a 'ready to use' method, and hopefully someone will point that
out. But if not, then it shouldn't be difficult to take pieces of the utilities you
mention and glue together. Is the SDFlash DSP software written in C code? If so it
shouldn't be difficult to port to C55x, or maybe move its SPI code sections over to
FlashBurn.

One possible reason it's not a slam dunk is the more recent C55x and C64x DSK boards
don't appear to have SPI EEPROM devices.

Also, there was a thread earlier this month on the C55x group, something like "JTAG
programming of Serial EEPROM...", you might pull that up from the archives.

-Jeff
Hi Keith,

Yes, you can use Flashburn utility to burn EEPROM. As far as remember you need to specify the type of flash memory (parallel, serial , 8bit, 16 bit etc) in .cmd file. This will give you hex file that

can be burned in EEPROM.

Regards,
Onkar Patki,
Design Engineer.
----------------------------
Mechatronics Test Equipment (I) Pvt.Ltd.
B, Mayur complex, Opp. Bhelke nagar,
Kothrud, Pune 411 038.
Tel.: 91 20 25386926,27,28,29
Fax:: 91 20 25386930
Mob: 919881730876
Email: m...@vsnl.net
URL: www.mte-india.com
----- Original Message -----
From: kas219
To: c...
Sent: Wednesday, May 27, 2009 7:58 PM
Subject: [c55x] Programming boot EEPROM

I have run into a problem and I hope someone can help me out. I am working with a custom board that uses a 5509A DSP and an SPI EEPROM for code storage.I have successfully tested my software using the JTAG interface and now it is time to load the code onto the EEPROM. The problem it, I don't know how to program the chip through the JTAG.

I have tried "FlashBurn" but it is only set up to program parallel interface Flash chips. "SDFlash" was also not useful because while it can program SPI EEPROM chips, it is not designed to run on the C55xx family. I have a feeling that this is a solved problem since the bootloader is already set up to read from these chips, there muct be an easy way to program them.

So, if anyone has any suggestions on how to program an SPI EEPROM chip over the 5509a's JTAG, please let me know. I am at my whits end.

Thank you
Keith









I tried using the version I downloaded from: http://www.softwaredesignsolutions.com/flashburn.aspx but I could not get it to connect to the board. From the look of it it will only work with parallel flash. If you know of a way to do it I would LOVE to know how.

Thanks
Keith


May 29, 2009 05:58:49 PM, c... wrote:











Hi Keith,

 

Yes, you can use Flashburn utility to
burn EEPROM. As far as remember you need to specify the type of flash
memory (parallel, serial , 8bit, 16 bit etc) in .cmd file. This will give you
hex file that

 

can be burned in EEPROM.

 

 

 

Regards,
Onkar Patki,
Design
Engineer.
----------------------------
Mechatronics
Test Equipment (I) Pvt.Ltd.
B, Mayur complex, Opp. Bhelke nagar,
Kothrud,
Pune 411 038.
Tel.: 91 20 25386926,27,28,29
Fax:: 91 20 25386930
Mob:
919881730876
Email: m...@vsnl.net
URL:
www.mte-india.com




To: c...






I have run into a problem and I hope someone can help me out. I am working
with a custom board that uses a 5509A DSP and an SPI EEPROM for code storage.I
have successfully tested my software using the JTAG interface and now it is
time to load the code onto the EEPROM. The problem it, I don't know how to
program the chip through the JTAG.

I have tried "FlashBurn" but it is
only set up to program parallel interface Flash chips. "SDFlash" was also not
useful because while it can program SPI EEPROM chips, it is not designed to
run on the C55xx family. I have a feeling that this is a solved problem since
the bootloader is already set up to read from these chips, there muct be an
easy way to program them.

So, if anyone has any suggestions on how to
program an SPI EEPROM chip over the 5509a's JTAG, please let me know. I am at
my whits end.

Thank you
Keith

















__._,_.___










">http://www.dsprelated.com/groups/c55x/1.php



_____________________________________

About this discussion group:



Archives:  http://www.dsprelated.com/groups/c55x/1.php



To Post:  Send an email to c...



Other DSP Related Groups: http://www.dsprelated.com/groups.php














stime43856850













__,_._,___

Keith-

> I tried using the version I downloaded from:
> http://www.softwaredesignsolutions.com/flashburn.aspx but I could not get it to
> connect to the board. From the look of it it will only work with parallel flash. If
> you know of a way to do it I would LOVE to know how.

When you say "it won't connect" can you clarify? Do you mean CCS + JTAG would not
connect? Or do you mean CCS connected Ok (normally), then you did something specific
with Flashburn (for example, some type of GUI action with the plug-in, or download
some DSP code and try to run), and then you get some type of error message? If the
latter, what was the error message?

-Jeff

> May 29, 2009 05:58:49 PM, c... wrote:
>
> Hi Keith,
>
> Yes, you can use Flashburn utility to burn EEPROM. As far as remember you
> need to specify the type of flash memory (parallel, serial , 8bit, 16 bit
> etc) in .cmd file. This will give you hex file that
>
> can be burned in EEPROM.
>
> Regards,
> Onkar Patki,
> Design Engineer.
> ----------------------------
> Mechatronics Test Equipment (I) Pvt.Ltd.
> B, Mayur complex, Opp. Bhelke nagar,
> Kothrud, Pune 411 038.
> Tel.: 91 20 25386926,27,28,29
> Fax:: 91 20 25386930
> Mob: 919881730876
> Email: m...@vsnl.net
> URL: www.mte-india.com
>
> ----- Original Message -----
> From: kas219
> To: c...
> Sent: Wednesday, May 27, 2009 7:58 PM
> Subject: [c55x] Programming boot EEPROM
>
> I have run into a problem and I hope someone can help me out. I
> am working with a custom board that uses a 5509A DSP and an SPI
> EEPROM for code storage.I have successfully tested my software
> using the JTAG interface and now it is time to load the code
> onto the EEPROM. The problem it, I don't know how to program
> the chip through the JTAG.
>
> I have tried "FlashBurn" but it is only set up to program
> parallel interface Flash chips. "SDFlash" was also not useful
> because while it can program SPI EEPROM chips, it is not
> designed to run on the C55xx family. I have a feeling that this
> is a solved problem since the bootloader is already set up to
> read from these chips, there muct be an easy way to program
> them.
>
> So, if anyone has any suggestions on how to program an SPI
> EEPROM chip over the 5509a's JTAG, please let me know. I am at
> my whits end.
>
> Thank you
> Keith