Forums

can the onboard flash be used to store parameters?

Started by bharat pathak March 17, 2010
Hello,

    We have C6713 DSK from TI. Is it possible to store 
    paramters to flash memory (256 KB onboard) so that
    i could retrive the same, when i run another program?

    I am utilizing this board for speech recognition project
    and want to store the speech templates generated during
    training process. I wish to store those on flash, so that
    they would not be erased when power goes off.

    When i actually test using speech inputs, the template of
    the speech input would then be compared with the stored
    templates on the flash.

    Please help.

Regards
Bharat
bharat pathak wrote:
> Hello, > > We have C6713 DSK from TI. Is it possible to store > paramters to flash memory (256 KB onboard) so that > i could retrive the same, when i run another program? > > I am utilizing this board for speech recognition project > and want to store the speech templates generated during > training process. I wish to store those on flash, so that > they would not be erased when power goes off. > > When i actually test using speech inputs, the template of > the speech input would then be compared with the stored > templates on the flash. > > Please help. > > Regards > Bharat
Probably, but the details depend on the processor. If this processor's flash works like others that I've used then it's not going to be the easiest thing in the world -- you generally can't read any of the flash if you're writing to it or erasing, which means you need to run the flash read/write routines out of RAM, and you can't do anything else. Ask on comp.arch.embedded -- this is really far more a generic embedded programming question than a DSP one, and the crew over there is a larger one than the regulars here. -- Tim Wescott Control system and signal processing consulting www.wescottdesign.com

bharat pathak wrote:

> Hello, > > We have C6713 DSK from TI. Is it possible to store > paramters to flash memory (256 KB onboard) so that > i could retrive the same, when i run another program?
Oh, what an idiot... If there is a flash on the board, then there is a way to read and write it. Although writing to flash could be not so good idea, as the flash could contain bootloader which you don't want to erase by accident. VLV
Vladimir,

   Mind your language. You might know lot of things which
   does not qualify you to insult others.

   I too have good enough experience in DSP theory, modelling
   and implementations with vlsi perspective. But I am 
   begineer using DSP boards. And remember all begineers will
   ask all kinds of questions.

   You may choose not to respond, if you do not like the level
   of the question being asked.

Regards
Bharat

   

bharat pathak wrote:

> Vladimir, >=20 > Mind your language. You might know lot of things which > does not qualify you to insult others. >=20 > I too have good enough experience in DSP theory, modelling > and implementations with vlsi perspective. But I am=20 > begineer using DSP boards. And remember all begineers will > ask all kinds of questions. >=20 > You may choose not to respond, if you do not like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E0 =E1=E5=EB=FC=E5 =F1=F3=F8=E8=EB=E0, =E0 =FF =E5=E3=EE =EC=EE=F7= =E8=EB =CE=F2=E5=F6 =EC=E5=ED=FF =E7=E0 =FD=F2=EE =E4=F3=E1=E8=ED=EA=EE=FE =EB=E5= =F7=E8=EB =D1=E8=E4=E5=EB =FF =EF=EE =E4=E2=E0 =E3=EE=E4=E0 =E2 =F7=E5=F2=E2=E5=F0=F2= =EE=EC =E8 =F8=E5=F1=F2=EE=EC =CF=F0=E8=E4=F3=F0=EE=EA =ED=E5=ED=EE=F0=EC=E0=EB=FC=ED=FB=E9 - =F1=EA=E0= =E7=E0=EB=E8 =E2=F1=E5 =EF=EE=F2=EE=EC =C2 =F1=E5=E4=FC=EC=EE=EC =F1=E8=E4=E5=EB =F2=F0=E8 =E3=EE=E4=E0, =E0 =E2= =FB=E3=ED=E0=EB=E8 =E7=E0 =F2=EE, =D7=F2=EE =FF =ED=E0 =EF=E5=F0=E5=EC=E5=ED=E5 =EF=F0=EE=EF=E8=E2=E0=F2=FC= =F1=E2=EE=E5 =EF=E0=EB=FC=F2=EE =DF =E1=FB=EB =E2 =F1=E5=EC=FC=E5 =EE=E1=F3=E7=EE=E9, =E2=F1=E5 =F5=E0=FF= =EB=E8 =EC=E5=ED=FF =CE=F2=F6=EE=E2=F1=EA=EE=E9 =E4=EB=E8=ED=ED=EE=E9 =EF=E0=EB=EA=E8 =E1=EE=FF= =EB=F1=FF =EA=E0=EA =EE=E3=ED=FF! =CF=EE=F2=EE=EC =FF =E2=F1=F2=F0=E5=F2=E8=EB =D2=E0=ED=FE, =EC=EE=F7=E8=F2= =FC=F1=FF =EF=E5=F0=E5=F1=F2=E0=EB =D1=EA=E0=E7=E0=EB - =CF=F0=EE=F9=E0=E9, =EF=E0=EF=E0=F8=E0! =C8 =F1 =ED=E5= =FE =F3=E1=E5=E6=E0=EB! (c) Tokarev
Vladimir Vassilevsky wrote:
> > > bharat pathak wrote: > >> Vladimir, >> >> Mind your language. You might know lot of things which >> does not qualify you to insult others. >> >> I too have good enough experience in DSP theory, modelling >> and implementations with vlsi perspective. But I am begineer >> using DSP boards. And remember all begineers will >> ask all kinds of questions. >> >> You may choose not to respond, if you do not like the level >> of the question being asked. > > Я в детстве был обижен жестокою судьбой > Но все обиды детства прошли само собой > Я очень неспособный и очень был дурной > Родители и сестры - все мучились со мной > > Болел я очень долго, a чем - сказать смешно > Да ладно, расскажу я, теперь мне все равно > Прям до седьмого класса в постель мочился я > Живьем меня хотела сожрать моя семья > > Болел я энурезом - ну просто стыд и срам > Мне бабушка Мария стирала по утрам > Она белье сушила, а я его мочил > Отец меня за это дубинкою лечил > > Сидел я по два года в четвертом и шестом > Придурок ненормальный - сказали все потом > В седьмом сидел три года, а выгнали за то, > Что я на перемене пропивать свое пальто > > Я был в семье обузой, все хаяли меня > Отцовской длинной палки боялся как огня! > Потом я встретил Таню, мочиться перестал > Сказал - Прощай, папаша! И с нею убежал! > > (c) Tokarev
The Google translation is pretty weird. I'd like to hear what it sounds like. Jerry -- Discovery consists of seeing what everybody has seen, and thinking what nobody has thought. .. Albert Szent-Gyorgi ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
On Thu, 18 Mar 2010 03:58:25 -0400, Jerry Avins wrote:

> Vladimir Vassilevsky wrote: >> >> >> bharat pathak wrote: >> >>> Vladimir, >>> >>> Mind your language. You might know lot of things which does not >>> qualify you to insult others. >>> >>> I too have good enough experience in DSP theory, modelling and >>> implementations with vlsi perspective. But I am begineer >>> using DSP boards. And remember all begineers will >>> ask all kinds of questions. >>> >>> You may choose not to respond, if you do not like the level of the >>> question being asked. >> >> Я в детстве был обижен жестокою судьбой Но все обиды детства прошли >> само собой Я очень неспособный и очень был дурной Родители и сестры - >> все мучились со мной >> >> Болел я очень долго, a чем - сказать смешно Да ладно, расскажу я, >> теперь мне все равно Прям до седьмого класса в постель мочился я Живьем >> меня хотела сожрать моя семья >> >> Болел я энурезом - ну просто стыд и срам Мне бабушка Мария стирала по >> утрам Она белье сушила, а я его мочил Отец меня за это дубинкою лечил >> >> Сидел я по два года в четвертом и шестом Придурок ненормальный - >> сказали все потом В седьмом сидел три года, а выгнали за то, Что я на >> перемене пропивать свое пальто >> >> Я был в семье обузой, все хаяли меня Отцовской длинной палки боялся как >> огня! Потом я встретил Таню, мочиться перестал Сказал - Прощай, папаша! >> И с нею убежал! >> >> (c) Tokarev > > The Google translation is pretty weird. I'd like to hear what it sounds > like.
It is framed as if it might be poetry, which would make machine translation even more obscure than it usually is. -- www.wescottdesign.com

Tim Wescott wrote:

> On Thu, 18 Mar 2010 03:58:25 -0400, Jerry Avins wrote: > >>The Google translation is pretty weird. I'd like to hear what it sounds >>like. > > > It is framed as if it might be poetry, which would make machine > translation even more obscure than it usually is.
:) Just a poetic way to say: "Ослик был сегодня зол - он узнал, что он осел" "Little donkey was angry today: he just learned that he is a jackass" That's from russian ABC book for children :)))) VLV
In article <H-idnSpIucPBnzzWnZ2dnUVZ_o2dnZ2d@giganews.com>,
Vladimir Vassilevsky  <nospam@nowhere.com> wrote:
> > >bharat pathak wrote: > >> Hello, >> >> We have C6713 DSK from TI. Is it possible to store >> paramters to flash memory (256 KB onboard) so that >> i could retrive the same, when i run another program? > >Oh, what an idiot... > >If there is a flash on the board, then there is a way to read and write >it. Although writing to flash could be not so good idea, as the flash >could contain bootloader which you don't want to erase by accident.
Actually, it is not so stupid as it seems. You yourself indicate that at least you must take care not to erase the bootloader. Likewise you must take care not to erase your own program. You have to use a processor that can erase flash in blocks. If the TI processor can't do that, at least Renesas can. (e.g.R16C). It had been better to sum up requirements first, then switching processors late in the game. I have done some work with Renesas in Forth and could do that in actual practice. That means, from my program I can erase part of the flash, then put something there. How the ubiquitous Visual Studio clones for c-programming hold up against such a task I don't know. It can be a challenge to find out how to do that even if there is a way. You have your work cut out for you. Click on each of the silly little drawings (icons) and look what happens. ;-) If you have invested heavily in the project already, and there is no internal flash, you may interface a flash from parallel I/O. [follow up set to comp.arch.embedded ]
> >VLV
Groetjes Albert -- -- Albert van der Horst, UTRECHT,THE NETHERLANDS Economic growth -- being exponential -- ultimately falters. albert@spe&ar&c.xs4all.nl &=n http://home.hccnet.nl/a.w.m.van.der.horst