Re: [Fx2lib-devel] Allmybrain.com Question/Comment: EZ-USB FX2
Status: Beta
Brought to you by:
mulicheng
From: Dennis M. <de...@ub...> - 2009-09-18 16:29:49
|
I don't currently have any windows specific downloads, but the fx2lib code can be compiled with sdcc on windows. The utilities are written in Python, which can also be run on Windows. The only problem you'd have is the fx2 driver, which currently uses libusb-1.0, and there isn't a port of that on Windows. For my own projects, I use libusb-0.1 on windows. I'd like to provide a more robust windows interface for fx2lib but that is still slated for the future some time. You should, in the mean time, be able to use the cypress utilities on windows to load your firmware though. Most of the examples in fx2lib use printf for debugging. You can see the output of those statements if you have a serial console and attach to the sio-0 port on the dev board at 57600 baud. That is how I debugged and got most of fx2lib working correctly. Yuri wrote: > Maybe I made something wrong. Do you have a .exe for windows? > > ----- Original Message ----- From: "Dennis Muhlestein" > <de...@ub...> > To: "Yuri" <yur...@na...> > Sent: Friday, September 18, 2009 11:06 AM > Subject: Re: Allmybrain.com Question/Comment: EZ-USB FX2 > > >> I pushed changes to the source repository that affected eeprom >> writes. Can you check to make sure you're on the very latest git >> version. The eeprom requires writing single bytes at a time and you >> have to wait for it to be ready between each write (it's slow). >> Latest git version does this correctly. >> >> On Sep 18, 2009, at 7:02 AM, Yuri wrote: >> >>> Dennis, >>> >>> Thanks for the help. I found the program and tryed to upload my >>> firmware to EEPROm. Unfortunatelly when I do that, the program say >>> that wrote some bytes at EPROM, but then, the firmware don't change >>> (even after a restart). If I write in the RAM, the new firmware is >>> recognized. I tryed with my firmware and with the firmware that >>> came with the program. Do you have any idea about what to do to >>> sucefully change permanently my firmware? >>> >>> Thanks! Best regards >>> >>> Yuri >>> ----- Original Message ----- From: "Dennis Muhlestein" >>> <de...@ub... >>> > >>> To: "Yuri Sa Scaramussa" <yur...@na...> >>> Cc: "fx2lib developer mailing list" <fx2...@li... >>> > >>> Sent: Thursday, September 17, 2009 4:06 PM >>> Subject: Re: Allmybrain.com Question/Comment: EZ-USB FX2 >>> >>> >>>> Hi Yuri, >>>> >>>> Have you downloaded fx2lib? fx2lib has eeprom read/write functions >>>> that you can include in your firmware. In addition, there is an >>>> eeprom example that you can use to read/write firmware from the >>>> fx2 eeprom (if attached of course). There is also a script for >>>> converting the ihx files to compressed iic files (iic is the >>>> format used to store the firmware on the prom.) >>>> >>>> Here are some resources: >>>> >>>> Site: http://fx2lib.sf.net >>>> Mailing list: >>>> https://lists.sourceforge.net/lists/listinfo/fx2lib-devel >>>> (Good place to ask fx2/fx2lib specific questions, low traffic) >>>> Git source Repo: http://github.com/mulicheng/fx2lib/ >>>> (I recommend using the latest git version since I'm close to >>>> releasing 0.2 and Sourceforge version is at 0.1 still.) >>>> Blog topics I've written on the fx2: http://allmybrain.com/tag/fx2/ >>>> >>>> Best wishes, >>>> -Dennis >>>> >>>>> Yuri Sa Scaramussa <yur...@na...> wrote: >>>>> Hi Denis! I\\\'m using a device with EZ-USB fx2 and I\\\'m already >>>>> sucefully >>>>> uploaded a new firmware to the device\\\'s RAM, using >>>>> fx2_programmer. Now I\\\'m >>>>> trying to change the firmware permanently, but I\\\'m really not >>>>> finding a way. >>>>> Did you changed the firmware in EEPROM? What I have to do for >>>>> change it?</p><br >>>>> /> >>>>> <p>Thanks!!! >>>>> >>>> >>>> >>>> >>>> __________ Informao do ESET NOD32 Antivirus, verso da vacina 4433 >>>> (20090917) __________ >>>> >>>> A mensagem foi verificada pelo ESET NOD32 Antivirus. >>>> >>>> http://www.eset.com >>>> >>>> >>> >> >> >> >> __________ Informação do ESET NOD32 Antivirus, versão da vacina 4436 >> (20090918) __________ >> >> A mensagem foi verificada pelo ESET NOD32 Antivirus. >> >> http://www.eset.com >> >> >> > |