1 2 Previous Next 25 Replies Latest reply on May 18, 2012 8:53 AM by omkar.vedpathak

    CY3686 Dev Board Help

    omkar.vedpathak

      Dear Sir/Madam,

         

       

         

      I have recently purchased the NX2LP-Flex Development board (which comes with a seperate CY3684 board with the FX2LP chip for development purposes) and have issues with getting started.  I am running Windows 7 x64 on an intel I7 computer.   I began to follow the instructions in the dev kit getting started guide,  plugged in the FX2LP board (with NX2LP board mounted on-top) and all the status LEDs (1-5)  were lit.  THe board was configured with EEPROM ON and LARGE EEPROM.  Windows detected the USB as an unkown device and I proceeded the install the drivers.   I used the windows vista x64 driver, but it resulted in a "Cypress NX2LP - Unprogrammed USB Device" to appear in Device manager, so I thought the installation of drivers was sucessful.  However upon connecting the RS232 cable and loading Keil, the Green LED D7 remained unlit and the PC did not mount my device as a drive letter, as suggested by the getting started guide.    The Nandmfg.exe program could not find the device either.

         

       

         

      I wanted to get this to work, so uninstalled the drivers and tried reinstalling the windows 7 drivers x64 for  CY7C68013.  Now the device was detected as cypress fx2lp dev kit.  But i still could not detect the device using Nandmfg.exe.  In order to try to get the whole thing working I ended up following a forum support note which suggested that I should flash the NAND chips on my NX2LP board with firmware.. So on USB Control Centre I flashed the 4k page file.iic file using the ProgramFX2>64kb eeprom menu  , (as I had a 4k NAND chip installed in U4 and U8 on the NX2LP board as it came shipped with these).  The operation completed sucessfully, but now my device does not appear in the device manager at all, even with view hidden devices setting on.  I am worried that I may have made the EEPROM inaccesiblle.

         

       

         

      Furthermore when I switch to small eeprom the device is detected under Other devices  as an unkown device, but I can't install any of the drivers successfully.  The PID and VID are as follows in this case: \VID_04B4&PID_0082&REV_0000.

         

      When I switch the eeprom off, the device, after installation of drivers installs sucessfully as FX2LP Development Kit in device manager.  But again I can't seem to detect the device on Nanmfg.exe, although the device is found in the Cypress USB suite control centre. This time the PID and VID are as follows: USB\VID_04B4&PID_8613&REV_:001.

         

      Can you please help me to get the kit back to factory settings and help me get started to mount the device as a drive (which your kit promises comes out the box!)?

         

      Your help is much appreciated.

         

       

         

      Many Thanks,

         

       

         

      Sach

        • 1. Re: CY3686 Dev Board Help
          omkar.vedpathak

           PS i did start windows while pressing F8 and Enabling Unverified Drivers setting

             

           

             

          Thanks

          • 2. Re: CY3686 Dev Board Help
            gayathri.vasudevan

             Hi Sachin,

               

             

               

            Now that you have changed the contents of EEPROM, you will have to load bootloader.iic file first into EEPROM. Please follow the below steps:

               

             

               

            1. Connect FX2LP with EEPROM seitch in "NO EEPROM" position.

               

            2. Change the EEPROM switch to "EEPROM" position and EEPROM SELECT switch to "LARGE EEPROM" position.

               

            3. Open Control centre.

               

            4. Select "Program FX2 -> 64KB EEPROM" and browse to the bootloader.iic that you can find at "C:\Cypress\USB\NX2LP-Flex\Boot-Loader" after installing NX2LP DVK (http://www.cypress.com/?rID=14320).

               

            5. Now, if the NX2LP-Flex board if it is already mounted on FX2LP base board (with Nand flashes on socket), just unplug and connect the whole thing. Else mount them and connect.

               

            6. Open the NandMfg utility. It will show as "Unprogrammed device" as you saw initially, and  the Program button would be enabled.

               

            7.  Only after you program the flash, the PC will assign drive letter.  

               

            8. Now, select your desired "nx2" file (which you can find at "C:\Cypress\USB\NX2LP-Flex\MfgTool" after installling NX2LP DVK)  using FILE -> Select Configuration option in the NandMfg.exe menu. You can find:

               

            defualt.nx2 --> for 512 page size

               

            default2k.nx2 --> 2k page size

               

            default4k.nx2 --> for 4k page size

               

            9. Accordingly, select the nx2 file and then click on the program button as to program the device.

               

            10. Once it is programmed (Statusbar displays "Device programmed and formatted"), unplug and replug the device. Now the PC will assign the drive.

               

             

               

            Regards,

               

            Gayathri

            • 3. Re: CY3686 Dev Board Help
              omkar.vedpathak

               Thanks Gayathri that was very helpful!

                 

               

                 

              I had already sucessfully programmed the NAND Flash, i just didn't realise I had to flash the large EEPROM before I could use it! 

              • 4. Re: CY3686 Dev Board Help
                omkar.vedpathak

                 Hi Gayathri,

                   

                 

                   

                The issue with the small EEPROM switch on still persists though - I'm trying to install the driver (to be able to use the Keil debugging tool) with no success. PID VID:  \VID_04B4&PID_0082&REV_0000.

                   

                 

                   

                Thanks

                   

                 

                   

                Sach

                • 5. Re: CY3686 Dev Board Help
                  gayathri.vasudevan

                   Hi Sachin,

                     

                   

                     

                  Can you please check if Cymonpre.inf is present under "C:\WINDOWS\inf" and mon.spt is found under "C:\WINDOWS\system32\cymon" ?

                     

                   

                     

                  Regards,

                     

                  Gayathri

                  1 of 1 people found this helpful
                  • 6. Re: CY3686 Dev Board Help
                    omkar.vedpathak

                     Hi Gayathri,

                       

                     

                       

                    CyMonPre.inf is present however the mon.spt file and folder cymon are not present in system 32.

                       

                     

                       

                    Thanks

                    • 7. Re: CY3686 Dev Board Help
                      omkar.vedpathak

                       I've installed the FX2lP dev kit, which should have copied these files to the appropriate locations.. I just don't know whether to do this manually, as some of the drivers in the folder with mon.spt are xp and me compatible..

                      • 8. Re: CY3686 Dev Board Help
                        omkar.vedpathak

                        Additonally hoping I can get the right filesoto be in place in the windows directory. Which iic file shall I program the small EEPROM with, to get the Keil Dev tools working?

                           

                        Thanks

                           

                        Sach

                        • 9. Re: CY3686 Dev Board Help
                          gayathri.vasudevan

                           Hi Sachin,

                             

                           

                             

                          The small EEPROM must be programmed with  Fx2LP_C0.iic which can be found at location  "C:\Cypress\USB\Examples\ FX2LP\EEPROM Images".

                             

                           

                             

                          REgards,

                             

                          Gayathri

                          1 of 1 people found this helpful
                          • 10. Re: CY3686 Dev Board Help
                            omkar.vedpathak

                             Hi,

                               

                             

                               

                            Still can’t get the monitor to work using the small eeprom (and get green led 7 on).  I’ve managed to load the monitor using Cy-Console EX USB interface though.     

                             

                               

                            Thanks     

                             

                            • 11. Re: CY3686 Dev Board Help
                              gayathri.vasudevan

                               Hi Sachin,

                                 

                               

                                 

                              After installing FX2LP DVK, is mon.spt present under "C:\WINDOWS\system32\cymon ? What is the error seen when you are trying to bind the driver? Can you please try the following when youa re trying manually bind using inf. Place the script file and CyUSB.sys file in the same directory as inf.

                                 

                               

                                 

                              Regards,

                                 

                              Gayathri

                              1 of 1 people found this helpful
                              • 12. Re: CY3686 Dev Board Help
                                omkar.vedpathak

                                 Hi,

                                   

                                 

                                   

                                The cmon folder is not present in the system32 directory, and so the mon.spt isnt present there.  I placed mon.spt in the same folder as cyusb.inf and .sys, I modifiied the inf to match the PID and VID of the dev kit with small eeprom on, and the driver is installed correctly.  However the gren light /monitor still doesn't automatically work.  THe cyusb.inf contains no reference to the mon.spt file, so I can't understand how it calls it - do i have to modify cyusb.inf using the cyload.inf example to call mon.spt.  

                                   

                                Thanks

                                • 13. Re: CY3686 Dev Board Help
                                  gayathri.vasudevan

                                   Hi Sachin,

                                     

                                   

                                     

                                  You are supposed to use Cymonpre.inf and not CyUSB.inf. Cymonpre.inf has reference to the mon.spt.

                                     

                                   

                                     

                                  Regards,

                                     

                                  Gayathri

                                  1 of 1 people found this helpful
                                  • 14. Re: CY3686 Dev Board Help
                                    omkar.vedpathak

                                     I've tried it ..When I try to force its installation using the have disk procedure (and with mon.spt and cyusb.sys (x64) in the folder..), windows complains that the folder i specified doesn't contain a s compatible software driver for your device.. make sure it is designed to work for windows for x64-based systems..)  .. in addition do i have to put in my own custom GUID at this stage (just for using Keil debug)?

                                       

                                    Thanks for your continued support

                                    1 2 Previous Next