Re: [Fx2lib-devel] [All My Brain] Comment: "Cypress GPIF waveform behavioral model"
Status: Beta
Brought to you by:
mulicheng
From: Dennis M. <de...@ub...> - 2009-05-20 22:09:11
|
Jon Elson wrote: > Dennis Muhlestein wrote: >> >> >> The lights are hard coded to the addresses on the fx2 ez-usb devel >> board (CY3684/3674). There are 4 lights at the top of the board d2-d5 >> that toggle on and off if I recall correctly. If you're not using >> the fx2 devel board, and you have a serial port, you could try the >> serial program as an example. >> > Ah HA! that's the problem, I have a SerMod-56. The 56-pin version of > the chip doesn't have the memory bus brought out, so no wonder I don't > see any activity. Is there a simple change to the lights.c code that > can allow the 8051 to wiggle some output pins? Are you talking about the P[A-E]x pins? Those are modified just by writing to the appropriate special function register ( depending on how you configure them anyway) >> >> Good luck! Do post your progress and issues along the way. Did you >> happen to see the fx2lib framework post? It's a quick way to get up >> and running with your firmware and is quite close to the Keil based >> framework provided by Cypress. > I tried joining the SourceForge group fx2lib-devel, but the mailing > list still shows up as "read only" to me on the SourceForge web page. Did you get to this page: https://lists.sourceforge.net/lists/listinfo/fx2lib-devel > > Are there any published codes that use the GPIF? I haven't been able > to find anything that shows how to do this. I just need some REALLY > basic GPIF functions to slow the transmission down and generate a > strobe pulse for each word transferred. My attempts to kluge some > GPIF configuration into Wolfgang Wieser's fx2pipe code just locked > things up. Most likely too large a program or putting the block of > GPIF bytes in the wrong location. I haven't added any gpif examples to fx2lib because to use the GPIF, you have to attach a device. The default fx2 devel board doesn't have anything to talk to. The documentation for the gpif functions is here though: http://fx2lib.sourceforge.net/docs/gpif_8h.html Or you can look at the gpif header if you're using git with the repository. -Dennis |