Page 1 of 1

jcp / Windows 32 & 64bits

Posted: Wed Feb 04, 2015 7:26 am
by flynn
Good afternoon,

This is an update about jcp2.

You will be able to see the options available by doing:
jcp2 or jcp2 -?

I have mainly used the 64 bits version but the 32 bits one works fine as well. I was able to do a Release version too.
Please read the notes file if you want to know more about the updates.

Reminder: After each download, you have to do a jcp2 -r. If you don't, Bank 2 may not be downloaded correctly. The problem existed also in previous versions. This is something I may look in the future.


jcp2 2.0.5 Release note
-----------------------
* Add the Skunkboard serial number detection
* Fixed the "MSVCR120D.dll not found" error message
* Release version is available
* Some changes in the parameters explanations (tentative)

Re: jcp / Windows 32 & 64bits

Posted: Wed Feb 04, 2015 7:41 am
by a31chris
Thank you Flynn. :)

Re: jcp / Windows 32 & 64bits

Posted: Sun Feb 22, 2015 2:06 am
by a31chris
Got this.

Re: jcp / Windows 32 & 64bits

Posted: Sun Feb 22, 2015 2:31 am
by a31chris
Overwritten yet still identifying itself as built in 2009?
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Cruisin'.STURDY-GIRL>jcp
jcp v02.03.01 built on Oct 14 2009

* Usage: jcp [-rewfnbocdsux] file [$base]
-r = reset (no other args needed)
-f = flash (pass filename + opt base)
-wf= word flash (slow, only if 'f' alone fails)
-ef= erase whole flash
-n = no boot (pass filename + opt base)
-b = boot address (pass base only)
-o = override address (pass filename and base)
-h (cnt) = override the header skip count
-c = launch console (incompatible with n)
-d = dump flash (pass filename)
-s = get board version and serial number
-u = upgrade board bios (if available)
-2 = use bank 2 instead of bank 1 (sb2)
-6 = use 6MB mode instead of banked (sb2)
-x (extconsole.exe) = shell to external console application


C:\Documents and Settings\Cruisin'.STURDY-GIRL>

Re: jcp / Windows 32 & 64bits

Posted: Sun Feb 22, 2015 2:35 am
by a31chris
Why is this one giving me grief. Hmm.

Re: jcp / Windows 32 & 64bits

Posted: Sun Feb 22, 2015 4:53 am
by flynn
a31chris wrote:Overwritten yet still identifying itself as built in 2009?
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Cruisin'.STURDY-GIRL>jcp
jcp v02.03.01 built on Oct 14 2009

* Usage: jcp [-rewfnbocdsux] file [$base]
-r = reset (no other args needed)
-f = flash (pass filename + opt base)
-wf= word flash (slow, only if 'f' alone fails)
-ef= erase whole flash
-n = no boot (pass filename + opt base)
-b = boot address (pass base only)
-o = override address (pass filename and base)
-h (cnt) = override the header skip count
-c = launch console (incompatible with n)
-d = dump flash (pass filename)
-s = get board version and serial number
-u = upgrade board bios (if available)
-2 = use bank 2 instead of bank 1 (sb2)
-6 = use 6MB mode instead of banked (sb2)
-x (extconsole.exe) = shell to external console application


C:\Documents and Settings\Cruisin'.STURDY-GIRL>
Hum, the new executable is jcp2, you are using jcp so may be this is the source of your your problem?

Re: jcp / Windows 32 & 64bits

Posted: Sun Feb 22, 2015 6:15 am
by a31chris
I renamed it to jcp. I will go through things again to make sure I'm not overlooking anything.

Re: jcp / Windows 32 & 64bits

Posted: Sun Feb 22, 2015 6:19 am
by a31chris
sigh...
failed to start.jpg
failed to start.jpg (14.2 KiB) Viewed 19836 times

Re: jcp / Windows 32 & 64bits

Posted: Sun Feb 22, 2015 5:29 pm
by flynn
a31chris wrote:sigh...
failed to start.jpg
This DLL should be in the Visual C++ 13 redistribution package. Could you search if this DLL is present in your system somewhere?
In the meantime, I will check if the VS project can remove the need of this DLL, in the original JCP a different version of this DLL was requested as well so I guess there is some reason(s) to have it.

Re: jcp / Windows 32 & 64bits

Posted: Sun Feb 22, 2015 6:00 pm
by a31chris
I will reinstall the 2013 redistributable.

Re: jcp / Windows 32 & 64bits

Posted: Fri Mar 13, 2015 3:20 am
by flynn
a31chris wrote:sigh...
failed to start.jpg
Hi,
I think I've found your problem with the DLL, this is related to an option not set properly in Visual Studio 2013.
I need to check a couple of things before to post a new version.

Re: jcp / Windows 32 & 64bits

Posted: Fri Mar 13, 2015 5:02 am
by a31chris
ok but probably would have been easier to just recompile it on something like mingw in the first place then mess with VS nonsense.

Thank you though!

Re: jcp / Windows 32 & 64bits

Posted: Sun Mar 15, 2015 9:31 pm
by flynn
Hi,
I have posted the new version in my original message. Since there are size limitations for the attachments, I have uploaded only the Release versions and the Release notes.

Re: jcp / Windows 32 & 64bits

Posted: Mon Mar 16, 2015 3:22 am
by a31chris
Thank you Flynn! I got this. :)

Re: jcp / Windows 32 & 64bits

Posted: Mon Mar 16, 2015 7:21 pm
by a31chris
Thank you for all your hard work Flynn! This works great now!

Code: Select all

C:\Stuff\SkunkBoard>jcp2

jcp2 v2.05.00 - Win32 - built on Mar 14 2015

jcp2 [-?] [-2|6] [-b] [-c] [-d] [-e] [-f] [-h={count}] [-n] [-o] [-q] [-r] [-s]
     [-serial=xxxx]  [-uport={0|..}] [-w] [-x={external console}]
     [filename] [{$|ox}base]

Values by default
Skunkboard memory bank set as 1
$base, or 0xbase, set as $4000
filename set as NULL

Arguments without parameters - can also be attached together (i.e: -ef, etc.)
-? : This display information (optional)
-2 : Use Skunkboard memory bank 2 instead of bank 1
-6 : Use the 6MB mode instead of the banked mode
-b : Boot address with {$base}
-c : Launch console (incompatible with the '-n' option)
-d : Dump Skunkboard memory flash to filename
-e : Erase whole Skunkboard memory flash
-f : Flash {filename} to Skunkboard memory bank at {$base (default: $802000)}
-n : No boot after the Skunkboard memory flash
-o : Override address (pass filename and base)
-q : Quiet mode (useful for SkunkGUIs)
-r : Reset the Jaguar only
-s : Display only Skunkboard version and his serial number
-w : Word flash (slow flash operation, to be used if '-f' alone fails)

Arguments with parameters
-h={count}            : Override the header skip count
-serial=xxxx          : Use Skunkboard serial number (4 digits) to connect
-uport={0|..}         : Force USB port to be used
-x={external console} : Shell to external console application

Undocumented arguments
-! : Override flash
-* : Display the Skunkboard version and his serial number on an banner form
-v : Verbose mode

C:\Stuff\SkunkBoard>
I have already reposted this on the harmless lion forum. The JCP and Jserve binaries you posted on Harmless Lion have been downloaded 15 and 16x from there as of this posting.