Public Archive Forum Discussions
I have used the Ep2(4*1K buf) of fx2-lp as a ISO IN endpoint. How to make the ep2 never FULL with PC keep reading data from ep2????
for example: Once entry XferData(), never return!!!
Show LessHello, I'm getting the following warning message when I try this using the FX3 SDK:
sprintf( szOut, "%08X\r\n", <some uint32_t variable> );
warning: format '%08X' expects type 'unsigned int', but argument 3 has type 'uint32_t'
As far as I can see uint32_t is defined as long unsigned
Could someone kindly point me to a doc explaining the format descriptors for the integers for this platorm, i.e. default type and so on or give a quick summary here for others to benefit as well ?
Many thanks, MC
Show LessCyClockWizard 1.0 Install error : I used the win xp mode but still have this problem : CyClockWizard 1.0 requires that your computer is running at least Windows Vista 32_bit or Windows XP 32bit SP2 or Windows Server 2003 32bit SP1 or Windows Server 2008 32bit or windows server 2000 32bit SP4 with IE 6.0. Thank you .
Show LessHello,
I'm using the CYUSB3KIT board and trying to download new firmware into it using my own C++ program.
First, I compiled one of the firmware examples and downloaded it using the Control Center. Everything worked fine. This was using a debug build of the example.
I wrote the C++ firmware downloader program using the example in AN76405 as a guide. This parses the .img file, downloads the code into the FX3 RAM, and even reads it back to verify that it worked.
I took the compiled .img file from the firmware example that I downloaded using the Control Center, and tried to load it using my C++ code. I almost works. The USB opens, the file is read in, and the code is written into the FX3 RAM in blocks.
The problem is, some of the block writes fail. The endpoint write call fails (controlEp->Write(...)). From what I can tell, the problem is with certain sections of memory.
Here's the breakdown:
0x40003000 to 0x40003FFF: WORKS
0x40004000 to 0x4000FFFF: FAILS
0x40010000 to 0x40013FFF: WORKS
0x40014000 to 0x40019400: FAILS
0x40030000 to 0x400320C7: WORKS
I changed the block size for the USB transfer with no effect. I checked the memory map and there's nothing obvious. I'm hoping I'm just missing something simple, but at this point I'm stumped.
-Mark
Show LessHi ,
I am using AN65974 Slave FIFO Firmware provided in Cypress Application Note. When I monitored in the serial port (UART) I got no buffer counts even I got datas from FPGA in Control Center Utility. The following code only I am getting in UART
Data tracker: buffers received: 0, buffers sent: 0.
Data tracker: buffers received: 0, buffers sent: 0.
Data tracker: buffers received: 0, buffers sent: 0.
Data tracker: buffers received: 0, buffers sent: 0.
Data tracker: buffers received: 0, buffers sent: 0.
Why is it so ???
Show LessWICED™ SMART Software Development Kit
The WICED™ SMART SDK includes the tools and software needed to create BT and networking applications for a wide range of products.
The WICED™ SMART SDK runs on Windows.
The SDK is available as a standalone zipfile or as a separate installer bundled with the WICED™ Integrated Development Environment.
Show LessMy usb controller is cy7c67300.
I have downloaded some unexpected code to the EEPROM and I want to erase the EEPROM.
Can you give me the zeroEEPROM.rar or zero_scan.bin ?
My address is
Thank you.
Show LessHello all, I found the cyu3spi.c file containing the source code of the SPI master access API.
And I was looking specially to the implementation of the functions: CyU3PSpiTransmitWords() and CyU3PSpiReceiveWords() to observe to my amazement that they are fully and totally useless for any non-trivial SPI slave.
That is the CyU3PSpiTransmitWords() is transmitting the data TOATLLY discarding the device response, it even has the RX channel disabled !!! and the CyU3PSpiReceiveWords() just send 0 as data in while reading the data out. Of course no sane SPI device in the world works like that, for example image sensors that have SPI interfaces needs an input pattern (register address) to output meaningful data and so on.
Actually I could not think of a more broken and useless SPI master access implementation , so I kindly ask you for help:
is there some sane SPI function where someone can input a pattern and read the result, as all the SPI devices in the world expect, or do I need to rewrite the whole SPI module ?
If it's not , then assuming that I don't include the header provided by the SDK, can I use my own fully re-implementation of the cyu3spi.c ( including initialization and configuration ), with changed function names, without conflicting with the exiting one in the library ( including eventual global state variables ) ?
Also, a very important question, it seems that the slave select pin toggles after each byte no matter the configured SPI word size if the configuration is selected to have the library function taking care of it and not the frimware, this also an enormous bug, is this so, or I misunderstand ?
Please help and eventually include in a future version of the SDK a function that reads the RX data for a given TX data.
Many thanks in advance,
MC
Show Less