Sign in

username:

password:



Not a member?

Search c55x



Search tips

Subscribe to c55x



c55x by Keywords

AIC23 | C5509 | CCS | CSL | EMIF | EVM | GEL | GPIO | HPI | Interfacing | JTAG | McBSP | OMAP | Omap15 | OMAP59 | RTDX | SDRAM | TMS320VC5509 | USB | XDS5

Ads

Discussion Groups

Discussion Groups | TMS320C55x | FlashBurn for 5510 problems

Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).

  

Post a new Thread

FlashBurn for 5510 problems - mtre...@hotmail.com - Oct 26 15:34:22 2007



I am a newbie to the TI C55x DSP and I am trying to use the FlashBurn Porting kit to burn
an AT45DB642D Atmel flash chip. I am using the DSK5510 example to start with that uses a
different flash chip and I am having problems getting things to work.
My flash chip is connected to the DSP through the McBSP so I have set the bootloader for a
serial SPI EEPROM boot from McBSP0.
I have modified the FBTCDSK5510.pjt by changing the EraseFlash and FlashWrite functions and 
the TargetConfig.h file to refelct the commands for the AT45 chip.
I have a logic analyzer attached to the MISO and MOSI and chip select lines and I can see that
the chip select is lowering as expected but no other data is being transmitted when I try to
erase or program the flash.
I am wondering if the issue is the fact that according to the AT45 flash spec the chip select
line needs to go low after sending a command which does not happen.
Also do I need to include the setup for the McBSP in the FlashBurn code?
I didn't think I needed to but again I am a newbie to this stuff.

Anyone else have a similar flash chip that they have used FlashBurn with?

Any help would be appreciated.

Thanks
Monika



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: FlashBurn for 5510 problems - iewil2000 - Oct 26 20:39:24 2007

There is a lot of work to do to port 5510 flashburn, with works with 
parallel flash, to SPI flash such as AT45. Yes, as you suspected, you 
have to configure McBsp as SPI in clock stop mode. Then at least you 
will see commands from McBsp on the scope.

Wei

--- In c...@yahoogroups.com, mtrend123@... wrote:
>
> I am a newbie to the TI C55x DSP and I am trying to use the 
FlashBurn Porting kit to burn an AT45DB642D Atmel flash chip. I am 
using the DSK5510 example to start with that uses a different flash 
chip and I am having problems getting things to work.
> My flash chip is connected to the DSP through the McBSP so I have 
set the bootloader for a serial SPI EEPROM boot from McBSP0.
> I have modified the FBTCDSK5510.pjt by changing the EraseFlash and 
FlashWrite functions and  the TargetConfig.h file to refelct the 
commands for the AT45 chip.
> I have a logic analyzer attached to the MISO and MOSI and chip 
select lines and I can see that the chip select is lowering as 
expected but no other data is being transmitted when I try to erase 
or program the flash.
> I am wondering if the issue is the fact that according to the AT45 
flash spec the chip select line needs to go low after sending a 
command which does not happen.
> Also do I need to include the setup for the McBSP in the FlashBurn 
code?
> I didn't think I needed to but again I am a newbie to this stuff.
> 
> Anyone else have a similar flash chip that they have used FlashBurn 
with?
> 
> Any help would be appreciated.
> 
> Thanks
> Monika
>



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: FlashBurn for 5510 problems - Jeff Brower - Oct 27 14:09:01 2007

Monika-

> I am a newbie to the TI C55x DSP and I am trying to use the FlashBurn Porting kit to burn
an AT45DB642D Atmel flash
> chip. I am using the DSK5510 example to start with that uses a different flash chip and I
am having problems getting
> things to work.
> My flash chip is connected to the DSP through the McBSP so I have set the bootloader for a
serial SPI EEPROM boot from
> McBSP0.
> I have modified the FBTCDSK5510.pjt by changing the EraseFlash and FlashWrite functions
and  the TargetConfig.h file
> to refelct the commands for the AT45 chip.
> I have a logic analyzer attached to the MISO and MOSI and chip select lines and I can see
that the chip select is
> lowering as expected but no other data is being transmitted when I try to erase or program
the flash.
> I am wondering if the issue is the fact that according to the AT45 flash spec the chip
select line needs to go low
> after sending a command which does not happen.
> Also do I need to include the setup for the McBSP in the FlashBurn code?
> I didn't think I needed to but again I am a newbie to this stuff.
>
> Anyone else have a similar flash chip that they have used FlashBurn with?

Flashburn is not the easiest utility to use or get working with hardware other than the
TI-provided examples.  My
suggestion would be to first write some small, simple code that does read/write to the Atmel
Flash chip -- essentially
a device driver.  Once you're sure that's working, then go for the Flashburn port.

Otherwise you will be trying to debug two major issues at the same time, with unnecessary
confusion.

-Jeff



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )