Forums

Cypress FX2 EEPROM image won't run

Started by LeftSpin March 22, 2006
Cypress technical support has been really horrible, I hope someone here can 
help.

I have a program for the FX2LP part. It runs fine when loaded with the Keil 
debug monitor, but does not
run when loaded via CyConsole, or loaded into EEPROM.

For the EEPROM, I'm using this command line:

hex2bix -i -c 0x00 -f 0xC2 -o test.iic test.hex

I have looked at the EEPROM image in the prom burner's buffer, and it seems 
correct. I decoded the first
16 bytes or so, and everything matched.


I send some data out the serial port before doing any USB stuff. If I load 
the program with the debugger, but
don't connect the USB cable, I get the text out. When I try the same thing 
with the EEPROM, I get nothing.

Anybody got some ideas?

Thanks!



LeftSpin wrote:

> For the EEPROM, I'm using this command line: > hex2bix -i -c 0x00 -f 0xC2 -o test.iic test.hex > > I have looked at the EEPROM image in the prom burner's buffer, and it > seems correct. I decoded the first 16 bytes or so, and everything > matched.
I don't know about the FX2, but the FX requires a header at the start of the EPROM image - is that being injected? Regards, -- Mark McDougall, Engineer Virtual Logic Pty Ltd, <http://www.vl.com.au> 21-25 King St, Rockdale, 2216 Ph: +612-9599-3255 Fax: +612-9599-3266
"Mark McDougall" <markm@vl.com.au> wrote in message 
news:4421f842$0$4632$5a62ac22@per-qv1-newsreader-01.iinet.net.au...
> LeftSpin wrote: > >> For the EEPROM, I'm using this command line: >> hex2bix -i -c 0x00 -f 0xC2 -o test.iic test.hex >> >> I have looked at the EEPROM image in the prom burner's buffer, and it >> seems correct. I decoded the first 16 bytes or so, and everything >> matched. > > I don't know about the FX2, but the FX requires a header at the start of > the EPROM image - is that being injected? >
Yes.. It seems he is doing a 'C2' load. I am so busy I can't look it up. I have all of the FX2 load stuff built into my apps and do not use hex2bix or the CyConsole so there may be something there he has to deal with.
> Regards, > > -- > Mark McDougall, Engineer > Virtual Logic Pty Ltd, <http://www.vl.com.au> > 21-25 King St, Rockdale, 2216 > Ph: +612-9599-3255 Fax: +612-9599-3266