Searching \ for '[PIC] Xwisp2 1.8.1 released' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devprogs.htm?key=wisp
Search entire site for: 'Xwisp2 1.8.1 released'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] Xwisp2 1.8.1 released'
2005\10\25@041024 by Rob Hamerling

flavicon
face

I have released Xwisp2 version 1.8.1 today.
Xwisp2 is an alternative support program for the Wisp628 programmer by
Wouter van Ooijen. Xwisp2 does not need Python.
New with this version:
- Runs now really also on a Mac (many thanks 'Easy B.' for helping to
  fix the dependencies on X86 architecture)
- some newer PICs added: 16F68x/90 for some others improved programming
  speed (with Wisp628 firmware 1.10, provided too)
- some minor improvements
Xwisp2 can be downloaded from my site, see below.

Regards, Rob.

--
Rob Hamerling, Vianen, NL phone +31-347-322822
homepage: http://www.robh.nl/

2005\10\25@102306 by Xiaofan Chen

face picon face
Since I have uninstalled Watcom under Windows, I tried to compile
xwisp2 under Windows with MinGW/Msys and Cygwin. The compiling
under Cygwin failed. However the compiling under MinGW/Msys is
okay once I manual define __W32__ inside xwisp2.h (sorry I do not
know how to add this inside compile.h yet).


Regards,
Xiaofan

Test@PCAMD64 /c/cygwin/home/Test/mcu/xwisp2
$ make
Compiling xwisp2.c
Compiling xwisp2bus.c
Compiling xwisp2cfg.c
Compiling xwisp2cmd.c
Compiling xwisp2com.c
Compiling xwisp2dat.c
Compiling xwisp2hex.c
Compiling xwisp2mis.c
xwisp2mis.c: In function `Help':
xwisp2mis.c:152: warning: zero-length printf format string
xwisp2mis.c:166: warning: zero-length printf format string
xwisp2mis.c:188: warning: zero-length printf format string
Compiling xwisp2tgt.c
Compiling xwisp2os.c
xwisp2os.c: In function `OS_SerialRead':
xwisp2os.c:456: warning: dereferencing type-punned pointer will break
strict-aliasing rules
xwisp2os.c: In function `OS_SerialWrite':
xwisp2os.c:780: warning: dereferencing type-punned pointer will break
strict-aliasing rules
Linking xwisp2w.exe
Compiling xwlist.c
Linking xwlistw.exe

Test@PCAMD64 /c/cygwin/home/Test/mcu/xwisp2
$ xwisp2w port 1 read test.hex
xwisp2 version 1.8.01 for Windows (Oct 25 2005, Unknown compiler 0.0)
Programmer Wisp628, firmware version 1.10
Detected target: 18F252 revision 04 (ID=0404)
Reading target
Reading program memory........OK!
Reading ID memory.............OK!
Reading data memory...........OK!
Reading fuses memory..........OK!
Read terminated successfully in 26.64 seconds
Memory contents stored in hex file test.hex
xwisp2 terminated successfully in 26.94 seconds

Test@PCAMD64 /c/cygwin/home/Test/mcu/xwisp2
$ uname -a
MINGW32_NT-5.1 PCAMD64 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown

Error message under Cygwin
Test@pcamd64 ~/mcu/xwisp2
$ make
Compiling xwisp2.c
Compiling xwisp2bus.c
Compiling xwisp2cfg.c
xwisp2cfg.c: In function `ReadPICSpecs':
xwisp2cfg.c:950: warning: implicit declaration of function `_searchenv'
Compiling xwisp2cmd.c
Compiling xwisp2com.c
Compiling xwisp2dat.c
Compiling xwisp2hex.c
Compiling xwisp2mis.c
xwisp2mis.c: In function `Help':
xwisp2mis.c:152: warning: zero-length printf format string
xwisp2mis.c:166: warning: zero-length printf format string
xwisp2mis.c:188: warning: zero-length printf format string
Compiling xwisp2tgt.c
Compiling xwisp2os.c
xwisp2os.c: In function `OS_SerialRead':
xwisp2os.c:456: warning: dereferencing type-punned pointer will break strict-ali
asing rules
xwisp2os.c: In function `OS_SerialWrite':
xwisp2os.c:780: warning: dereferencing type-punned pointer will break strict-ali
asing rules
Linking xwisp2w.exe
xwisp2cfg.o:xwisp2cfg.c:(.text+0x16ab): undefined reference to `__searchenv'
xwisp2cfg.o:xwisp2cfg.c:(.text+0x181c): undefined reference to `__searchenv'
collect2: ld returned 1 exit status
make: *** [xwisp2w.exe] Error 1

Test@pcamd64 ~/mcu/xwisp2
$ uname -a
CYGWIN_NT-5.1 pcamd64 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown unknown Cy
gwin


On 10/25/05, Rob Hamerling <spam_OUTr.hamerlingTakeThisOuTspamhccnet.nl> wrote:
{Quote hidden}

> -

2005\10\25@104056 by Jan-Erik Soderholm

face picon face
Rob Hamerling wrote:

> I have released Xwisp2 version 1.8.1 today.

Just a minor thing...

Personaly I think that it would be better to have
a consistent format of the version numbers.

Both 1.8.1 and 1.8.01 is currently used.

Regards,
Jan-Erik.



2005\10\25@105726 by Xiaofan Chen

face picon face
I find out a simple way to change compiler.h so that I do not need to
change xwisp2.h file. I also find out that there is a typo in the
makefile xwisp2_gu.mak.


Regards,
Xiaofan

1) change compiler.h, add Win32/MinGW GCC configuration

#elif defined(__GNUC__) && defined(__WIN32__)             // GCC + WIN32
 #define compiler_name     "GCC"
 #define compiler_version  (__GNUC__)
 #define compiler_minor    (__GNUC_MINOR__)
 #define max(x,y) ((x > y) ? (x) : (y))                // missing ..
 #define min(x,y) ((x < y) ? (x) : (y))                // .. functions
 #define __W32__
 #define strnicmp strncasecmp                          // alias
 #define stricmp  strcasecmp                           // alias

2) copy xwisp2_gu.mak to xwisp2gw.mak
Change the target to xwisp2w.exe and xwlistw.exe and
correct the typo in line 15 (should be xwisp2cfg.o)

3) make and run

Test@PCAMD64 ~/xwisp2
$ xwisp2w read test252.hex
xwisp2 version 1.8.01 for Windows (Oct 25 2005, GCC 3.4)
Programmer Wisp628, firmware version 1.10
Detected target: 18F252 revision 04 (ID=0404)
Reading target
Reading program memory........OK!
Reading ID memory.............OK!
Reading data memory...........OK!
Reading fuses memory..........OK!
Read terminated successfully in 26.64 seconds
Memory contents stored in hex file test252.hex
xwisp2 terminated successfully in 26.94 seconds

2005\10\25@110233 by Rob Hamerling

flavicon
face

Hi Xiaofan,

Xiaofan Chen wrote:
> Since I have uninstalled Watcom under Windows, I tried to compile
> xwisp2 under Windows with MinGW/Msys and Cygwin. The compiling
> under Cygwin failed. However the compiling under MinGW/Msys is
> okay once I manual define __W32__ inside xwisp2.h (sorry I do not
> know how to add this inside compile.h yet).

I don't have any of these installed, so I cannot be of much help!
The compiler you used is not recognised by compiler.h, so some compile
time variables will not be set (correctly).



> xwisp2os.c: In function `OS_SerialRead':
> xwisp2os.c:456: warning: dereferencing type-punned pointer will break
> strict-aliasing rules

I'll check with the Windoze prototypes.

>
> xwisp2cfg.c:950: warning: implicit declaration of function `_searchenv'

-searchenv() is not standard, and is apparently not present in the
library of this compiler...
I don't have the intention to support every compiler in the world, I
deliver working executables for OS/2, Linux and W32  ;-)

Regards, Rob.

--
Rob Hamerling, Vianen, NL phone +31-347-322822
homepage: http://www.robh.nl/

2005\10\25@140254 by Rob Hamerling

flavicon
face


Xiaofan Chen wrote:

> #elif defined(__GNUC__) && defined(__WIN32__)             // GCC + WIN32
 (etc)

OK, thanks for the research, will be in the next release.

Rob.

--
Rob Hamerling, Vianen, NL phone +31-347-322822
homepage: http://www.robh.nl/

More... (looser matching)
- Last day of these posts
- In 2005 , 2006 only
- Today
- New search...