Hi,
I have a Rev. C eZdsp USb stick 5505 that I am trying to use standalone.
As a test, I've used the programming tool from here
http://code.google.com/p/c5505-ezdsp/
to flash the Audio Filter Demo from that same page. (I used the .out file that came with the download - made a hex file from that with hex55.exe version 4.3.8)
It works great when started from CCS4 (connect USB stick, DO NOT load a program, just press run), however, it does not run correctly when just powered up from USB or a 5 volt battery pack with a USB connection. What happens is the code sort of runs (led blinks with correct timings) but it seems the codecs never power up - i hear a pop, and then only a tiny amount of distorted sound throughput, which is exactly the same type of sound throughput I hear when i put audio through them when the board is not powered at all.
I can, however, get the board to power up properly and run the code as expected by quickly unplugging and re-plugging the USB cable (with less than 2 seconds unplugged), which leads me to believe there is some problem with the reset circuitry on the eZdsp stick 5505. Maybe the DSP is coming out of reset too early? I've had that problem with other boards.
I thought at first it might be that i needed to include something from the gel file, but that all seemed taken care of and also, it boots properly, as i said, if I just un-power and re-power quickly. I tried adding various wait delays ( USBSTK5505_wait( Uint32 delay ); ) before and between the various startup function calls in main(), but to no avail.
This exact the same thing happens with custom code I've written by modifying the Audio Filter Demo project code.
Does anyone have thoughts on this? Could I maybe write some code to read registers and if I don't get what I expect, make the DSP reset itself? Is that sort of thing possible? Or can I maybe put a capacitor somewhere on the board to delay coming out of reset? I can't find a reset pin broken out immediately, but have not looked at the schematics yet. Or should I just include instructions on my prototype box to "turn on and off and on quickly before use" ? ;)
Thanks a bunch!