Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).
Hi, I am having problem in programming the flash chip (chip-id: S29AL004D) which is interfaced with TMS320C5510 DSP. I am trying to program the Flash using sdFlash Utility provided by Spectrum Digital through SD510USB emulator. I have updated algorithm files for the Flash Erase/Program/Verify. Flash Erase operation is working fine for me. When I try to do Flash program operation the following error is displayed in the output window of the sdFlash Utility. MSG: Reloading flash image file ERR: Exceeded algorithm execution timeout. ERR: Failed algorithm execution. ERR: Failed at block address 0x00014000. ERR: Program flash failed. WARNING: THE CONTENTS OF THE SECURITY PASSWORD LOCATIONS IN THE FLASH MAY NOT BE IN THE EXPECTED STATE. FOR FURTHER DEBUG PLEASE CHECK THE README FILE INCLUDED IN THE LATEST PROGRAMMING ALGORITHM RELEASE (JULY 2004 AND LATER) SPECIFIC TO YOUR DEVICE. I even tried by commenting everything in the Program() function used in the algorithm file for doing flash program except setting PRG_status=0 & return statement, even then I am getting the same error. Is anybody using the sdFlash utility for doing flash operation? Kindly guide me in this regard. I am not sure whether I have to set the following field in the Programming tab of sdFlash utility ST0: ST1: PMST: PMST Address: At present I have left the above field blind. regards, S.VimalKumar. ------------------------------------ OMAP35x EVM jump-starts low-power apps ------------------------------------ The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x
Vimal- > I am having problem in programming the flash chip (chip-id: S29AL004D) > which is interfaced with TMS320C5510 DSP. I am trying to program the > Flash using sdFlash Utility provided by Spectrum Digital through > SD510USB emulator. I have updated algorithm files for the Flash > Erase/Program/Verify. Flash Erase operation is working fine for me. > When I try to do Flash program operation the following error is > displayed in the output window of the sdFlash Utility. You mention C5510, but which board? Your board? Or DSK 5510? The default setting of Spectrum Digital 5510 files are going to be for the Flash device on the DSK board. The DSK 5510 has the AM29LV400B Flash device, so I suggest to look for an sdFlash Utility 'config file' (or similar) that you can modify to set the Flash device type. > ST0: > ST1: > PMST: > PMST Address: > > At present I have left the above field blind. These fields are important when the DSP boots, but you have to get the Flash programmed first. -Jeff > MSG: Reloading flash image file > ERR: Exceeded algorithm execution timeout. > ERR: Failed algorithm execution. > ERR: Failed at block address 0x00014000. > ERR: Program flash failed. > WARNING: THE CONTENTS OF THE SECURITY PASSWORD LOCATIONS > IN THE FLASH MAY NOT BE IN THE EXPECTED STATE. FOR > FURTHER DEBUG PLEASE CHECK THE README FILE INCLUDED IN > THE LATEST PROGRAMMING ALGORITHM RELEASE (JULY 2004 AND LATER) > SPECIFIC TO YOUR DEVICE. > > I even tried by commenting everything in the Program() function used in the algorithm file for doing flash program except setting PRG_status=0 & return statement, even then I am getting the same error. > > Is anybody using the sdFlash utility for doing flash operation? Kindly guide me in this regard. I am not sure whether I have to set the following field in the Programming tab of sdFlash utility > > ST0: > ST1: > PMST: > PMST Address: > > At present I have left the above field blind. > > regards, > S.VimalKumar. ------------------------------------ OMAP35x EVM jump-starts low-power apps ------------------------------------ The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x
Dear Jeff, Thanks for your reply. Regarding your question about board, It is my custom board with TMS320C5510 DSP & Flash S29AL004D in addition to other chips. As I understand SDFlash Utility is generic, independent of any flash device. To support the operation of custom flash device we need to modify the alogorithm file based on the flash chip requirement. (Correct me if I am wrong). I have updated the adopts.cfg file using the SDConfig Utility to set the DSP Id & Port Number. Anything else I have to do? Erase Operation is working fine. The Sequence I using for flash program operation is 1. Select menu Device->Flash (This will pop up the dialogbox named flash with 3 checkbox (Erase,Program,Verify). 2. I will select the program checkbox and press start button. Other than the above things anything else need to be done?. regards, S.VimalKumar. ----- Original Message ----- From: "Jeff Brower" <j...@signalogic.com> To: "Vimal Kumar S" <v...@datapatterns.co.in> Cc: <c...@yahoogroups.com> Sent: Tuesday, May 27, 2008 9:34 PM Subject: Re: [c55x] Problem in Programming Flash interfaced with C5510 > Vimal- > >> I am having problem in programming the flash chip (chip-id: S29AL004D) >> which is interfaced with TMS320C5510 DSP. I am trying to program the >> Flash using sdFlash Utility provided by Spectrum Digital through >> SD510USB emulator. I have updated algorithm files for the Flash >> Erase/Program/Verify. Flash Erase operation is working fine for me. >> When I try to do Flash program operation the following error is >> displayed in the output window of the sdFlash Utility. > > You mention C5510, but which board? Your board? Or DSK 5510? > > The default setting of Spectrum Digital 5510 files are going to be for the > Flash > device on the DSK board. The DSK 5510 has the AM29LV400B Flash device, so > I suggest > to look for an sdFlash Utility 'config file' (or similar) that you can > modify to set > the Flash device type. > >> ST0: >> ST1: >> PMST: >> PMST Address: >> >> At present I have left the above field blind. > > These fields are important when the DSP boots, but you have to get the > Flash > programmed first. > > -Jeff > >> MSG: Reloading flash image file >> ERR: Exceeded algorithm execution timeout. >> ERR: Failed algorithm execution. >> ERR: Failed at block address 0x00014000. >> ERR: Program flash failed. >> WARNING: THE CONTENTS OF THE SECURITY PASSWORD LOCATIONS >> IN THE FLASH MAY NOT BE IN THE EXPECTED STATE. FOR >> FURTHER DEBUG PLEASE CHECK THE README FILE INCLUDED IN >> THE LATEST PROGRAMMING ALGORITHM RELEASE (JULY 2004 AND LATER) >> SPECIFIC TO YOUR DEVICE. >> >> I even tried by commenting everything in the Program() function used in >> the algorithm file for doing flash program except setting PRG_status=0 & >> return statement, even then I am getting the same error. >> >> Is anybody using the sdFlash utility for doing flash operation? Kindly >> guide me in this regard. I am not sure whether I have to set the >> following field in the Programming tab of sdFlash utility >> >> ST0: >> ST1: >> PMST: >> PMST Address: >> >> At present I have left the above field blind. >> >> regards, >> S.VimalKumar. ------------------------------------ OMAP35x EVM jump-starts low-power apps ------------------------------------ The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x
Vimal- > Regarding your question about board, It is my custom board with TMS320C5510 > DSP & Flash S29AL004D in addition to other chips. > > As I understand SDFlash Utility is generic, independent of any flash device. > To support the operation of custom flash device we need to modify the > alogorithm file based on the flash chip requirement. (Correct me if I am > wrong). I don't know SDFlash well enough to comment on it specifically, but I would say this -- somewhere you have to say "which device" to the code that writes the Flash. Flash devices tend to be different, especially for the sequence of patterns and addresses used for write operations. In my experience, sometimes the differences are substantial. > I have updated the adopts.cfg file using the SDConfig Utility to set the DSP > Id & Port Number. Anything else I have to do? SDConfig settings only affect the emulator and JTAG scan path. > Erase Operation is working fine. The Sequence I using for flash program > operation is > 1. Select menu Device->Flash (This will pop up the dialogbox named flash > with 3 checkbox (Erase,Program,Verify). How do you know it's working? Can you run some DSP code, stop, set up a CCS memory display window, and read Flash mem locations? Also, which CEn space has Flash mem? Note -- reading Flash is like other memory: simple, and should work from a CCS display window. That does *not* apply to writes. > 2. I will select the program checkbox and press start button. > > Other than the above things anything else need to be done?. My suggestion is to go to basics before you try to boot code. Erase the Flash, verify it happens. Then write something (anything) to Flash mem (preferably just one sector), then go read again and verify that area is no longer erased. -Jeff > ----- Original Message ----- > From: "Jeff Brower" <j...@signalogic.com> > To: "Vimal Kumar S" <v...@datapatterns.co.in> > Cc: <c...@yahoogroups.com> > Sent: Tuesday, May 27, 2008 9:34 PM > Subject: Re: [c55x] Problem in Programming Flash interfaced with C5510 > > > Vimal- > > > >> I am having problem in programming the flash chip (chip-id: S29AL004D) > >> which is interfaced with TMS320C5510 DSP. I am trying to program the > >> Flash using sdFlash Utility provided by Spectrum Digital through > >> SD510USB emulator. I have updated algorithm files for the Flash > >> Erase/Program/Verify. Flash Erase operation is working fine for me. > >> When I try to do Flash program operation the following error is > >> displayed in the output window of the sdFlash Utility. > > > > You mention C5510, but which board? Your board? Or DSK 5510? > > > > The default setting of Spectrum Digital 5510 files are going to be for the > > Flash > > device on the DSK board. The DSK 5510 has the AM29LV400B Flash device, so > > I suggest > > to look for an sdFlash Utility 'config file' (or similar) that you can > > modify to set > > the Flash device type. > > > >> ST0: > >> ST1: > >> PMST: > >> PMST Address: > >> > >> At present I have left the above field blind. > > > > These fields are important when the DSP boots, but you have to get the > > Flash > > programmed first. > > > > -Jeff > > > >> MSG: Reloading flash image file > >> ERR: Exceeded algorithm execution timeout. > >> ERR: Failed algorithm execution. > >> ERR: Failed at block address 0x00014000. > >> ERR: Program flash failed. > >> WARNING: THE CONTENTS OF THE SECURITY PASSWORD LOCATIONS > >> IN THE FLASH MAY NOT BE IN THE EXPECTED STATE. FOR > >> FURTHER DEBUG PLEASE CHECK THE README FILE INCLUDED IN > >> THE LATEST PROGRAMMING ALGORITHM RELEASE (JULY 2004 AND LATER) > >> SPECIFIC TO YOUR DEVICE. > >> > >> I even tried by commenting everything in the Program() function used in > >> the algorithm file for doing flash program except setting PRG_status=0 & > >> return statement, even then I am getting the same error. > >> > >> Is anybody using the sdFlash utility for doing flash operation? Kindly > >> guide me in this regard. I am not sure whether I have to set the > >> following field in the Programming tab of sdFlash utility > >> > >> ST0: > >> ST1: > >> PMST: > >> PMST Address: > >> > >> At present I have left the above field blind. > >> > >> regards, > >> S.VimalKumar. ------------------------------------ OMAP35x EVM jump-starts low-power apps ------------------------------------ The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture:http://www.DSPRelated.com/omap35x