Topic : Bug in 91x_gpio.c on RIDE 6.22.10 - BN747

Forum : ARM

Original Post
Post Information Post
March 24, 2008 - 1:40pm
Guest

Hi friends,
I am using RIDE 06.10.22 BN747-St7-ARM-80C51-P2.
I realised that the STR9 Lib inside the RIDE LIB folders are pretty old, version 1.1.
It has a bug on 91x_gpio.c on function GPIO_Init.
This bug is very well commented on other str9 foruns around the web and it is critical for those who use the GPIO's port 8 and 9.
I'm using a REVA with a STR912FW44. I soldered a I2C EEPROM and a LCD on the EMI bus.
The I2C were not functioning properly, i guess due to the bug commented above.
How can i upgrade the STR9 Lib ? It seems to be already compiled on RIDE and my sources are being linked against some pre-made libs.
Any help ?
Thanks for the help
TudaDocHell

Replies
Post Information Post
+1
0
-1
March 25, 2008 - 9:42am
Guest

Hello,

the STR9 lib sources are provided as well, with a RIDE project ready to compile a new set of libraries. Here is what I recommend:

1. Download the new version of the library
2. Replace the .c and .h files using their new version, in place they are located in the actual project directory (C:\RIDE\LIB\STRX\STR91X_LIB). If you use a Diff utility (e.g. WinMerge) to check out the differences before overwriting, it would be even better.
3. Compile the libraries in STR91X_LIB.prj and STR91X_LIB_thumb.prj
4. make a backup of the library files located in C:\RIDE\LIB\STRX and copy the newly compiled ones instead.

Lionel

+1
0
-1
March 25, 2008 - 10:45pm
Guest

Thanks Lionel, i will do as you told.
I was already checking the differences with winmerge in order to search for possible bug reasons on my code.
Later i post the results...