> can I call you and tell me the global/static variable problem? Did you try the super small program that I suggested earlier? Eliminate all global/static vars -- basically eliminate software completely except for reset vector and some small asm language loop. What happens if you do that? -Jeff > ----- Original Message ----- > From: "Jeff Brower" <> > To: "Andrew Xiang" <> > Cc: <> > Sent: Thursday, July 31, 2003 1:22 PM > Subject: Re: [c54x] RESET ? cold start? >> Andrew- >> >> > Have you used a system with flash on board? How do you tie the RESET >> for >> > both DSP and flash? >> > I suspect the flash is not ready when the DSP comes up and look for >> the >> > data. >> >> Depends on the Flash device, but I think unlikely. What part is it? >> >> > If the software runs, why would it run sometimes and not some other > times? >> >> One reason would be that global and static variables are not being >> initialized reliably. There are few ways that could happen. >> >> -Jeff >> >> >> > ----- Original Message ----- >> > From: "Jeff Brower" <> >> > To: "Andrew Xiang" <> >> > Cc: <> >> > Sent: Thursday, July 31, 2003 11:33 AM >> > Subject: Re: [c54x] RESET ? cold start? >> > >> > >> >> Andrew- >> >> >> >> > I have the program in flash. When I do cold reboot, it does not >> come >> >> up >> >> > properly everytime, sometime, it goes into some dead stage. I >> either >> > have >> >> > to >> >> > press the reset button or cold restart again? How can I solve this >> > issue? >> >> >> >> Could be hardware, could be your code (not all variables >> initialized), >> >> hard to tell. So divide and conquer. Find out first if a small > program >> >> that does nothing but jump from reset vector and loop (maybe turn on >> an >> >> LED or something so you can see) will work. If that works 100 times, >> >> then >> >> it's not a hardware issue. >> >> >> >> Jeff Brower >> >> system engineer >> >> Signalogic >> >> >> >> _____________________________________ >> >> Note: If you do a simple "reply" with your email client, only the > author >> > of this message will receive your answer. You need to do a "reply >> all" > if >> > you want your answer to be distributed to the entire group. >> >> >> >> _____________________________________ >> >> About this discussion group: >> >> >> >> To Join: Send an email to >> >> >> >> To Post: Send an email to >> >> >> >> To Leave: Send an email to >> >> >> >> Archives: http://www.yahoogroups.com/group/c54x >> >> >> >> Other Groups: http://www.dsprelated.com >> >> >> >> >> >> ">http://docs.yahoo.com/info/terms/ >> >> >> >> >> >> >> > >> > >> >> >> _____________________________________ >> Note: If you do a simple "reply" with your email client, only the author > of this message will receive your answer. You need to do a "reply all" if > you want your answer to be distributed to the entire group. >> >> _____________________________________ >> About this discussion group: >> >> To Join: Send an email to >> >> To Post: Send an email to >> >> To Leave: Send an email to >> >> Archives: http://www.yahoogroups.com/group/c54x >> >> Other Groups: http://www.dsprelated.com >> >> >> ">http://docs.yahoo.com/info/terms/ >> >> > |