Hi, I've a strange problem with fast GPIO on LPC2378. Specifically, I can neither set nor reset the pin 4.1 of GPIO port, while I can set and reset pin 4.0, 4.2 and 4.3. Moreover, if I execute the code step-by-step with Ulink2 debugger I find a problem also with pin 4.2. In fact with my oscilloscope I see that after the reset instruction FIO4CLR = 0x04; I see the level of the pin goes low but soon after it goes suddenly to high level. Moreover if I watch the value of FIO4PIN on the watch window I see a value different from the one displayed by the peripheral window of FAST GPIO. I suspect there is bad interaction between uVision and my software execution. Is there any register I have to configure to avoid this strange behaviour?
Thanks and bye
Demis
Thank you for information! I'm currently using uvision V 3.53 (I don't know if this is the latest one) and ulink2 with firmware version 1.20.
Is it possible to update firmware inside ulink2?
And what about the fact that port 4.1 is not affected by my set and reset instructions? Any suggestion?
Thank you and regards,
Go to uVision menu Help - About ... and check the Target DLL: UL2ARM.DLL Version number.
V1.32 or higher (part of latest MDK) is required for correct display of Fast GPIO.
ULINK2 FW will be automatically upgraded to V1.30 (the first time you use it).
I've the UL2ARM.DLL V1.30. How can I do to update this dll? Should I download the whole MDK 3.15b?
Thanks and regards
Install MDK 3.15b