USB low-full-high speed peripherals Forum Discussions
text.format{('custom.tabs.no.results')}
I connect 128K EEPROM in 68013a system, and the firmware works well.
When I to add some case branch in switch sentence, and the size of compiled firmware just less than 16k (Total Code Bytes = 9354), then the firmware does not work ( window can not recognize my device). If I delete the case branch, the firmware resume work well. I am very sure case sentence is no error because it is very simple. Is it possibily there is a clash in code and .a51 file which include configuration description?
I hope to get your advice.
Attched file is my KeilC setting image.
Thanks.
Show LessI am using a Cy7C64713 FX1 device in which my object (HEX) file is being generated by the KEIL uVision, I am converting this appropriately and programming the FX1 boot EEPROM using the CyConsole LgEEPROM option. This works fine and the FX1 boots and operates as expected.
In my code there is a reserved constant declared in the code space that is specifically allocated in the last code space address (0x1FFF) for specific project reasons that I cannot disclose here. This is done using a linker command line to allocate this to the correct code space address and I have checked this in the object (HEX) file output.
When I create the object (IIC) file using the hex2bix tool (hex2bix.exe -c 0x41 -f 0xc2 -i -o OUTPUT.IIC INPUT.HEX) and inspect the raw binary OUTPUT.IIC file I can see my absolute address constant with the appropriate address prior to it .
After I have download the OUTPUT.IIC file using the CyConsole LgEEPROM and disconnect the EEPROM and read it back using an EEPROM programmer I can see that my absolute address constant is just appended to the code therefore it has not been placed at the correct EEPROM address.
Does anyone know what the IIC file format is as I wish to understand if this is correct or if the CyConsole LgEEPROM download tool is the issue. Alternatively am I creating the IIC file correctly?
Show Less
I am trying to using CyUSB.dll with LabVIEW to access FX2LP, but failed.
My LabVIEW code as follow, it is good running before method "get_Item", and the count of USBDeviceList is 1 or 0 depends on CY7C68013A is attached or not. When it runs after method "get_Item", LabVIEW will be crashed....
It's very kind of you if you give me some advice or an example.
Show LessI have Cypress USB EZUSB FX2 Development kit and I tried the bulk loop example, I am trying to evauluate the connection speed of the EZUSB FX2.
I dint change much of the code, and I just add a timer to measure how much bytes could be transfered in 1s.
To my suprise, I could only achieve about 38kByte/s (300 kb/s), which is very slow compare to advertised speed of 12Mb/s
May I know what could be wrong? or what configuration do I need to make to make it faster???
or this is the fastest speed that could be achieved?
My configuration is the same as default program;
Sending and receiving data of 512 byte per transfer
Show LessHi !
I want to develop an Android app that communicates with a device using a CY7C68053-56BAXI chip.
The chip uses the ReNumeration process (2 steps configuration).
Is the USB-Serial SDK for Android (found here : http://www.cypress.com/?rID=83110) appropriate to develop that kind of application ?
I already have the firmware file to load in the chip, I just don't know how to do it. So, are the necessary functions for loading a firmware on the chip, included in the SDK mentionned above ?
If not, what should I do ?
Even if I'm not sure that it's the proper SDK, I tried to run the application provided in it, on an Android tablet, to try communicating with the Cypress chip.
The problem is, I can't build the .apk because of an error in the native (C/C++) files of the SDK :
Here is the build log:
" Executing tasks: [:app:assembleDebug]
Configuration on demand is an incubating feature.
:app:preBuild
:app:compileDebugNdk
/home/matthieu/Projects/AndroidStudioProjects/CyUSBSerial/app/src/main/jni/CyUSBSerial_JNI/cy_libusb/io.c:21:20: fatal error: config.h: No such file or directory
compilation terminated.
make: *** [/home/matthieu/Projects/AndroidStudioProjects/CyUSBSerial/app/build/intermediates/ndk/debug/obj/local/armeabi-v7a/objs-debug/app//home/matthieu/Projects/AndroidStudioProjects/CyUSBSerial/app/src/main/jni/CyUSBSerial_JNI/cy_libusb/io.o] Error 1
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugNdk'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
/home/matthieu/Programs/android-studio/android-ndk-r10b/ndk-build NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/matthieu/Projects/AndroidStudioProjects/CyUSBSerial/app/build/intermediates/ndk/debug/Android.mk APP_PLATFORM=android-14 NDK_OUT=/home/matthieu/Projects/AndroidStudioProjects/CyUSBSerial/app/build/intermediates/ndk/debug/obj NDK_LIBS_OUT=/home/matthieu/Projects/AndroidStudioProjects/CyUSBSerial/app/build/intermediates/ndk/debug/lib NDK_DEBUG=1 APP_ABI=all
Error Code:
2
Output:
/home/matthieu/Projects/AndroidStudioProjects/CyUSBSerial/app/src/main/jni/CyUSBSerial_JNI/cy_libusb/io.c:21:20: fatal error: config.h: No such file or directory
compilation terminated.
make: *** [/home/matthieu/Projects/AndroidStudioProjects/CyUSBSerial/app/build/intermediates/ndk/debug/obj/local/armeabi-v7a/objs-debug/app//home/matthieu/Projects/AndroidStudioProjects/CyUSBSerial/app/src/main/jni/CyUSBSerial_JNI/cy_libusb/io.o] Error 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 1.206 secs"
Do you know something about this error ? The config.h file is in the same folder as io.c, why can't the compiler find it ?
Thank you for your help.
Matthieu Heitz
Show LessI have a Cypress USB EZUSB FX2 Development kit, I would like to know how can I interface it with my STM32F2xx???
https://strawberry-linux.com/images/fx2-b1.jpg
Is there any application note that I can follow, to implement my firmware in STM32F2xx???
I want to know how should I configure my STM32F2xx port settings???
I will be using parallel communication between Cypress and STM
I use the 68013A chip, the program used CYAPI
When I run the program many times, the program error occurs, the error occurred in sending data function,
the GetLastError () returns 2(ERROR_FILE_NOT_FOUND The system cannot find the file specified.) or 997(ERROR_IO_PENDING Overlapped I/O operation is in progress),
when the error occurs I use the open (), it will return failure. Rerun the program,it will fail too. And with USB Console "Device Properties" can not read the information, but with a USB Console-> "EZ-USB interface" can read. I usually insert the usb line again, the program will run successfully.
Is the problem belong to firmware or driver?
how can I solve this problem? please help me.
Show Less