Willem Jansen
12 years ago
Hello fellow developers,
I have a simple beginner question regarding the I/O ports. I got a
simple Development Board of the 56pin version of the cy7c68013a.
(http://www.ebay.de/itm/EZ-USB-FX2LP-CY7C68013A-USB-Development-Core-Board-Module-Logic-Analyzer-EEPROM-/400470811401?pt=LH_DefaultDomain_77&hash=item5d3deba309)
To get started I want to see the I/O Pins of the chip to change from
3.3V to 0V and back. I therefore changed to lights-example as follows:
#include <fx2regs.h>
#include <lights.h>
#include <delay.h>
void main(void)
{
// loop endlessly
for(;;) {
delay(3000);
IOD=0x00;
delay(3000);
IOD=0xFF;
}
}
However, my voltmeter does not show any changes once I loaded it with
"sudo fx2load -v 0x04b4 -p 0x0082 build/lights.bix"
To be even more precise, I seems that all pins of the IOD-port are
somewhat disconnected, as there is no voltage difference neither to and
GND nor the 3.3V Pins.
Any ideas?
Regards,
Willem
I have a simple beginner question regarding the I/O ports. I got a
simple Development Board of the 56pin version of the cy7c68013a.
(http://www.ebay.de/itm/EZ-USB-FX2LP-CY7C68013A-USB-Development-Core-Board-Module-Logic-Analyzer-EEPROM-/400470811401?pt=LH_DefaultDomain_77&hash=item5d3deba309)
To get started I want to see the I/O Pins of the chip to change from
3.3V to 0V and back. I therefore changed to lights-example as follows:
#include <fx2regs.h>
#include <lights.h>
#include <delay.h>
void main(void)
{
// loop endlessly
for(;;) {
delay(3000);
IOD=0x00;
delay(3000);
IOD=0xFF;
}
}
However, my voltmeter does not show any changes once I loaded it with
"sudo fx2load -v 0x04b4 -p 0x0082 build/lights.bix"
To be even more precise, I seems that all pins of the IOD-port are
somewhat disconnected, as there is no voltage difference neither to and
GND nor the 3.3V Pins.
Any ideas?
Regards,
Willem
--
-----------------------------
Willem Jansen
-----------------------------
Willem Jansen