CPCWiki forum

General Category => Amstrad CPC hardware => Topic started by: gerald on 16:41, 09 September 15

Title: C4CPC FW update
Post by: gerald on 16:41, 09 September 15
To all C4CPC users,

Thanks to the increasing number of  converted games (http://www.cpcwiki.eu/forum/games/converted-gx4000-cpr-the-topic/msg108945/#new)  :) , an issue was found when folder contains more than 247 files.
A new version of C4CPC firmware that fix this issue is available on the C4CPC wiki page, Firmware update section (http://www.cpcwiki.eu/index.php/C4CPC#Firmware_upgrade) as well as the upgrade procedure.

[EDIT 12/09/2015] V1.00.03 : Fix bad behaviour in file read that may read more sector than available in a cluster

The update package (C4CPC_V1.00.03.zip (http://www.cpcwiki.eu/index.php/File:C4CPC_V1.00.03.zip)) contains all you need to do the update :
- dfu-programmer : executable and driver for windows, source and script for OSX, Linux user should get it from they distribution repository
- script for performing the upgrade

Let me know if there is any issue

[EDIT 21/05/2016] V1.00.04 (//http://) : Added compatibility with Symbiface II, CprSelect can now display txt files
Update contains new card firmware as well as CprSelect_v102.cpr

[EDIT 06/08/2016] V1.00.05 (http://www.cpcwiki.eu/index.php/File:C4CPC_V1.00.05.zip) : Fixed cluster truncation error leading to crash when loaded files where on cluster number greater that 65536

[EDIT 20/07/2017] V1.00.06 (http://www.cpcwiki.eu/index.php/File:C4CPC_V1.00.07.zip) : Fixed issue that loaded more sectors than remaining in current cluster
Title: Re: C4CPC FW update
Post by: Bryce on 16:52, 09 September 15
Well CPC ROMs had the same issue, so I guess that makes it a true piece of CPC hardware :)

Bryce.
Title: Re: C4CPC FW update
Post by: TFM on 20:15, 09 September 15
Thanks for the update! Great that you put effort in and support it. Not everybody does.  :) :) :)
Title: Re: C4CPC FW update
Post by: remax on 23:40, 09 September 15
Ok, seems it's Jacques Toubon, like we say in French.
Title: Re: C4CPC FW update
Post by: ||C|-|E|| on 00:20, 10 September 15
Thanks a lot! I will update it during the weekend!  :-*
Title: Re: C4CPC FW update
Post by: fille1976 on 15:52, 10 September 15
updated fine here,thx gerald.
Title: Re: C4CPC FW update
Post by: gerald on 08:50, 12 September 15
New version available, 1st post updated.
While the previous issue could be avoided by having folder with a limited number of files, the new issue found may pop each time you modify the SD card.
Upgrade is stongly recommended  ;)
Title: Re: C4CPC FW update
Post by: Guy0me on 09:54, 12 September 15
C4CPC firmware upgraded in  V1.00.03 !  ;) thanx Gerald
Title: Re: C4CPC FW update
Post by: Kris on 12:16, 12 September 15
Update applied: everything seems OK ;)

Title: Re: C4CPC FW update
Post by: fille1976 on 12:32, 12 September 15
update applied (v1.03),testing later tonight.
Title: Re: C4CPC FW update
Post by: ||C|-|E|| on 12:38, 12 September 15
I will do as with the operating systems, wait for the other users to test it  :laugh:
Title: Re: C4CPC FW update
Post by: seanb on 12:50, 12 September 15
Well that doesn't help me.
I'm waiting for you to test it  :laugh:
Title: Re: C4CPC FW update
Post by: Guy0me on 12:51, 12 September 15
Quote from: seanb on 12:50, 12 September 15
Well that doesn't help me.
I'm waiting for you to test it  :laugh:
Don't worry it works fine  ;)
Title: Re: C4CPC FW update
Post by: xenon on 00:36, 17 September 15
Yes, new firmware works fine  :)
Title: Re: C4CPC FW update
Post by: remax on 10:48, 17 September 15
Is there a way to check Firmware version under the CPC/GX4000 ?



Title: Re: C4CPC FW update
Post by: gerald on 10:52, 17 September 15
Quote from: remax on 10:48, 17 September 15
Is there a way to check Firmware version under the CPC/GX4000 ?
Just start it with no SD card in it. Version is displayed on left bottom corner
Title: Re: C4CPC FW update
Post by: Guy0me on 10:53, 17 September 15
Quote from: remax on 10:48, 17 September 15
Is there a way to check Firmware version under the CPC/GX4000 ?
remove the miniSD card from the c4cpc and power on the machine  :P

Gerald you are too fast for me lol
Title: Re: C4CPC FW update
Post by: remax on 10:58, 17 September 15
Thank You !
Title: Re: C4CPC FW update
Post by: Phantomz on 14:05, 20 September 15
@gerald (http://www.cpcwiki.eu/forum/index.php?action=profile;u=250)  Thanks for the firmware update  :)

Sorry for playing a part in making you have to make it  :laugh:

Just installed it, as I need to remove the sd card a lot when I need to test stuff on real hardware, works great, cheers  8)
Title: Re: C4CPC FW update
Post by: gerald on 14:22, 20 September 15
Quote from: Phantomz on 14:05, 20 September 15
Just installed it, as I need to remove the sd card a lot when I need to test stuff on real hardware, works great, cheers  8)
For these kind of test, just use the USB connection and C4CPCCom python script.
Well, I just need to upload the latest version. The one shipped with V1_00_00 cards will not work with later version.

Edit : now on C4CPC (http://www.cpcwiki.eu/index.php/C4CPC) page : File:C4CpcCom.zip - CPCWiki (http://www.cpcwiki.eu/index.php/File:C4CpcCom.zip)
Title: Re: C4CPC FW update
Post by: dragon on 15:08, 20 September 15
The only thing i miss in c4pc is he use micro sd instead of sd card.

why? if microsd is more small that normal sd?. Because with a sd slot, you can put a sd-wifi card in and update the card without cable and without extract the microsd from the cartridge :).




Title: Re: C4CPC FW update
Post by: gerald on 15:16, 20 September 15
Quote from: dragon on 15:08, 20 September 15
The only thing i miss in c4pc is he use micro sd instead of sd card.

why? if microsd is more small that normal sd?. Because with a sd slot, you can put a sd-wifi card in and update the card without cable and without extract the microsd from the cartridge :) .
Micro SD is used because of space reasons.
There was no way to put a full SD and keep the original case compatibility. The SD slot would have interfered with the only mounting hole, and make the layout difficult in the RAM/PLD area.
Title: Re: C4CPC FW update
Post by: CraigsBar on 15:35, 20 September 15
Microsd is fine for me. Updated my 2 this morning. Perfect, thanks.
Title: Re: C4CPC FW update
Post by: Phantomz on 16:39, 12 April 16
Quote from: dragon on 15:08, 20 September 15
The only thing i miss in c4pc is he use micro sd instead of sd card.

why? if microsd is more small that normal sd?. Because with a sd slot, you can put a sd-wifi card in and update the card without cable and without extract the microsd from the cartridge :).

@dragon (http://www.cpcwiki.eu/forum/index.php?action=profile;u=251)

Will the sd-wifi card work with the C4CPC ? I didn't even know you could get sd-wifi cards  ::)

I've just picked up a " SD to MicroSD Card Extension Cable " for the C4CPC for my GX4000, I know the micro sd port has 10000 insertion cycles, but I thought it wouldn't hurt to protect it from wear and tear.
I need to keep removing and inserting the card to test the carts I do as the GX4000 isn't near a PC, haven't got around to buying a new laptop yet ( last one got old and died ).  :(

The added bonus of the lead is that I can use SD cards or micro sd cards with the sd to micro sd adaptor.  ;)
Title: Re: C4CPC FW update
Post by: dragon on 16:49, 12 April 16
Oh i not know this cable : )

I theory only in theory it can be work. But its impossible know without probe it

Are these adapters.

BestOfferBuy Adaptador Clase 10 WiFi Carcasa Tarjetas Memoria SDHC Micro SD TF (https://www.amazon.es/gp/aw/d/B0173WR7TY/ref=mp_s_a_1_1?qid=1460476324&sr=8-1&pi=SY200_QL40&keywords=sd+wifi+micro&dpPl=1&dpID=418zOw%2BiIoL&ref=plSrch)

And the other type witouth microsd

Amazon.es: sd wifi (https://www.amazon.es/gp/aw/s/ref=is_s_?__mk_es_ES=%C3%85M%C3%85Z%C3%95%C3%91&k=sd+wifi+)

[M] Toshiba FlashAir Class10 Wi-Fi SD Card Review (http://www.madshrimps.be/articles/article/1000547/Toshiba-FlashAir-Class10-Wi-Fi-SD-Card-Review/0#axzz2qYyTuqvA)

But i think maybe is best gerald made an opinion.  :).
Title: Re: C4CPC FW update
Post by: Phantomz on 17:18, 12 April 16
Quote from: dragon on 16:49, 12 April 16
Oh i not know this cable : )

I theory only in theory it can be work. But its impossible know without probe it

Are these adapters.

BestOfferBuy Adaptador Clase 10 WiFi Carcasa Tarjetas Memoria SDHC Micro SD TF (https://www.amazon.es/gp/aw/d/B0173WR7TY/ref=mp_s_a_1_1?qid=1460476324&sr=8-1&pi=SY200_QL40&keywords=sd+wifi+micro&dpPl=1&dpID=418zOw%2BiIoL&ref=plSrch)

And the other type witouth microsd

Amazon.es: sd wifi (https://www.amazon.es/gp/aw/s/ref=is_s_?__mk_es_ES=%C3%85M%C3%85Z%C3%95%C3%91&k=sd+wifi+)

[M] Toshiba FlashAir Class10 Wi-Fi SD Card Review (http://www.madshrimps.be/articles/article/1000547/Toshiba-FlashAir-Class10-Wi-Fi-SD-Card-Review/0#axzz2qYyTuqvA)

But i think maybe is best gerald made an opinion.  :).

I agree.  ;)

I'm glad I got the cable though, I will get another later, or if I don't need to use it anymore on the GX4000, I'll use it on my Amiga 3000, I'm using a SCSI to Micro SD Interface Adapter inside it, with this cable,
I can have the SD card reader out the back of the Amiga.  :D
Title: Re: C4CPC FW update
Post by: Token on 18:51, 12 April 16
Quote from: Phantomz on 16:39, 12 April 16

I've just picked up a " SD to MicroSD Card Extension Cable "


Didn't knew it as well  :-[ :laugh:
I'll buy one for my consolized PCW and HxC slim!
Title: Re: C4CPC FW update
Post by: gerald on 20:42, 21 May 16
Hi All,

I've just released a new version of C4CPC firmware (http://www.cpcwiki.eu/index.php/C4CPC#Latest_Firmware).
This new version mainly add text file display in CprSelect, and also add support for Symbiface II

Text display requires that both FW and CprSelect are updated.

When a Symbiface II card is detected, its expansion ROM are disabled
- If the bootload is used, the ROM will be re-enabled once the CPR is loaded
- If CprSelect is used, the ROM will stay disabled to make sure converted game works.
This mean that if you use CprSelect to load a system CPR, the Symbiface ROM won't be recognise.

Let me know if you find any problem with this new version
Title: Re: C4CPC FW update
Post by: CraigsBar on 21:20, 21 May 16
@Gerald, you are fantastic, many many thanks.
Title: Re: C4CPC FW update
Post by: ||C|-|E|| on 23:44, 21 May 16
Thank you very much!!  :-* :-*
Title: Re: C4CPC FW update
Post by: TotO on 07:51, 22 May 16

Nice 1000th post gerald!  8)


Quote from: gerald on 20:42, 21 May 16
Hi All,

I've just released a new version of C4CPC firmware (http://www.cpcwiki.eu/index.php/C4CPC#Latest_Firmware).
This new version mainly add text file display in CprSelect, and also add support for Symbiface II

Text display requires that both FW and CprSelect are updated.

When a Symbiface II card is detected, its expansion ROM are disabled
- If the bootload is used, the ROM will be re-enabled once the CPR is loaded
- If CprSelect is used, the ROM will stay disabled to make sure converted game works.
This mean that if you use CprSelect to load a system CPR, the Symbiface ROM won't be recognise.

Let me know if you find any problem with this new version
Title: Re: C4CPC FW update
Post by: gerald on 08:20, 22 May 16
Quote from: TotO on 07:51, 22 May 16
Nice 1000th post gerald!  8)
indeed !

now back to 9  :D
Title: Re: C4CPC FW update
Post by: TFM on 21:18, 23 May 16
Quote from: gerald on 20:42, 21 May 16
Hi All,

I've just released a new version of C4CPC firmware (http://www.cpcwiki.eu/index.php/C4CPC#Latest_Firmware).
This new version mainly add text file display in CprSelect, and also add support for Symbiface II

Text display requires that both FW and CprSelect are updated.

When a Symbiface II card is detected, its expansion ROM are disabled
- If the bootload is used, the ROM will be re-enabled once the CPR is loaded
- If CprSelect is used, the ROM will stay disabled to make sure converted game works.
This mean that if you use CprSelect to load a system CPR, the Symbiface ROM won't be recognise.

Let me know if you find any problem with this new version


Thanks for following my advice, will test asap.  :)
Title: Re: C4CPC FW update
Post by: TFM on 21:08, 24 May 16
Getting an error message when trying to install the programmer... how to fix it?



Title: Re: C4CPC FW update
Post by: rave_dj on 22:26, 24 May 16
Hi.

Try the first solution and run the program. If it doesn´t work move to the next solution

First: Run as administrator

Second: move the folder to c: (I see a "!" in the path and some programs don´t like this)

Third: Unrar the file attached and copy in the program folder.

Fourth :Unrar the file attached and copy it to c:\windows\System32 (32 bit system) or c:\windows\sysWOW64 (64 bit system) and register it (in the folder where the file is, run a elevated terminal and type "regsvr32 libusb0.dll").

Hope it helps  :D :D :D

(excuse my poor english)
Title: Re: C4CPC FW update
Post by: Phantomz on 14:59, 25 May 16
Quote from: TFM on 21:08, 24 May 16
Getting an error message when trying to install the programmer... how to fix it?

I hope you got the problem sorted out and now have it all working.  :)

I had the same problem for some reason, I didn't have this problem with the last firmware update, I thought the problem must have be due to having upgraded to windows 10.  ???

I didn't download or install anything, I just unplugged it and tried in a different usb port, did the reset thing on the cart then it worked! very odd  ???
Title: Re: C4CPC FW update
Post by: gerald on 16:56, 25 May 16
Quote from: TFM on 21:08, 24 May 16
Getting an error message when trying to install the programmer... how to fix it?
libusb is installed by the atmel DFU driver. Did you install it before launching the update batch file ?

Either let windows find it or better install it by hand :
Right click on C4CPC_V1.00.04\windows\dfu-prog-usb-1.2.2\atmel_usb_dfu.inf and select install

Then connect your card, put dip switch 4 on, reset the card. Windows should install the driver for your card if it's no done already.
Once this is done, you can do the update with the bat file
Title: Re: C4CPC FW update
Post by: TFM on 18:38, 25 May 16
Thank you all for the great advice! Guess some day it would be nice to have a bullet proof step by step guide. In case I can make this I will post it here.  :)
Title: Re: C4CPC FW update
Post by: zeropolis79 on 16:48, 06 August 16
I'm too scared to try this incase I **** things up.
Title: Re: C4CPC FW update
Post by: arnoldemu on 17:56, 06 August 16
Quote from: zeropolis79 on 16:48, 06 August 16
I'm too scared to try this incase I **** things up.
I don't think you will.

I've updated the firmware lots of times and I've not broken it yet !  :)
Title: Re: C4CPC FW update
Post by: zeropolis79 on 19:41, 06 August 16
Thanks
Title: Re: C4CPC FW update
Post by: TFM on 20:56, 09 August 16
Quote from: arnoldemu on 17:56, 06 August 16
I've updated the firmware lots of times and I've not broken it yet !  :)


Still some bulletproof manual would help. I didn't dare up to now.  :-X
Title: Re: C4CPC FW update
Post by: gerald on 20:19, 10 August 16
Quote from: TFM on 20:56, 09 August 16

Still some bulletproof manual would help. I didn't dare up to now.  :-X
Don't be shy, there is nothing you can break, the firmware update use the ATMEL bootloader that cannot be erased by the process.

On windows :
1. install the ATMEL DFU drivers : These are located in the C4CPC_V1.00.05\windows\dfu-prog-usb-1.2.2 folder of the update archive. Just right-click on atmel_usb_dfu.inf and select install. You'll need admin right for this.
2. prepare the card for update : put DIP switch 4 ON, other switch position does not matter.
3. connect the card to the PC, then press and release the reset button. This will restart the card in DFU mode. Windows should find the driver you installed previously.
4. launch the C4CPC_V1.00.05\windows\UpdateCartEmu.bat batch file. Et voilà !
Title: Re: C4CPC FW update
Post by: TFM on 22:14, 11 August 16
Quote from: gerald on 20:19, 10 August 16
On windows :
1. install the ATMEL DFU drivers : These are located in the C4CPC_V1.00.05\windows\dfu-prog-usb-1.2.2 folder of the update archive. Just right-click on atmel_usb_dfu.inf and select install. You'll need admin right for this.


Well, I get an error message: "The INF file you selected does not support this method of installation"
Title: Re: C4CPC FW update
Post by: gerald on 12:00, 12 August 16
Quote from: TFM on 22:14, 11 August 16

Well, I get an error message: "The INF file you selected does not support this method of installation"
Which version of windows are you using.
I've just tested it with windows 7 and 10 and it's working. Are you sure you have administrative right ?
Anyone else is having this problem ?
Title: Re: C4CPC FW update
Post by: dragon on 13:13, 12 August 16
I update from windowx xp(32bit) with last updates. and all o.k So winxp is tested.
Title: Re: C4CPC FW update
Post by: TFM on 16:28, 12 August 16
Quote from: gerald on 12:00, 12 August 16
Which version of windows are you using.
I've just tested it with windows 7 and 10 and it's working. Are you sure you have administrative right ?
Anyone else is having this problem ?


Windows 7 - 64 bit. How can I be sure to have admin rights (when I installed the OS I made only a single user having admin rights).
Title: Re: C4CPC FW update
Post by: gerald on 17:04, 12 August 16
Quote from: TFM on 16:28, 12 August 16

Windows 7 - 64 bit. How can I be sure to have admin rights (when I installed the OS I made only a single user having admin rights).
You should have them, otherwise you wouldn't be able to install any software.

Let's do it the other way:
- Plug the card with DIP switch 8 ON to your PC, reset the card.
- Windows should look for a driver online, but will fail to find one.
- Open the device manager (configuration panel / system and security / system )
- In the listed device you should find the ATm32U4DFU
[attachimg=1]
- Right-click on it, select properties
- In properties, select update driver
- Select the second option : search a driver on the computer
- browse to the C4CPC_V1.00.05\windows\dfu-prog-usb-1.2.2 then select next
The drive should be installed

You just need to start the C4CPC_V1.00.05\windows\UpdateCartEmu.bat batch file
Title: Re: C4CPC FW update
Post by: remax on 17:18, 12 August 16
What can easily be overlooked (it just happened to me) : RESET THE CARD
Title: Re: C4CPC FW update
Post by: Phantomz on 17:46, 13 August 16
Working great here, thanks @gerald (http://www.cpcwiki.eu/forum/index.php?action=profile;u=250)  :)
Title: Re: C4CPC FW update
Post by: fille1976 on 19:25, 13 August 16
updated mine yesterday,checked the cards firmware starting it without sdcard,says 1.05
so everything went fine,played after the update xenon.
Title: Re: C4CPC FW update
Post by: gerald on 21:24, 20 July 17
Just released a new version fixing issue mentioned here (http://www.cpcwiki.eu/forum/software-related/6128-plus-cartridge/msg146896/#msg146896)
See 1st post or C4CPC wiki page (http://www.cpcwiki.eu/index.php/C4CPC#Latest_Firmware)
Title: Re: C4CPC FW update
Post by: 00WReX on 03:46, 22 July 17
Update successful  ;)

QuoteC:\C4CPC_V1.00.07\windows>UpdateCartEmu.bat
Manufacturer Code: 0x58 (88)
"--- Erase ---"
Erasing flash...  Success
Checking memory from 0x0 to 0x6FFF...  Empty.
"--- Flash ---"
Checking memory from 0x0 to 0x4F7F...  Empty.
0%                            100%  Programming 0x4F80 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]  Success
0%                            100%  Reading 0x7000 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]  Success
Validating...  Success
0x4F80 bytes written into 0x7000 bytes memory (70.98%).
"--- EEProm ---"
0%                            100%  Programming 0x400 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]  Success
0%                            100%  Reading 0x400 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]  Success
Validating...  Success
0x400 bytes written into 0x400 bytes memory (100.00%).

C:\C4CPC_V1.00.07\windows>

Thanks Gerald.

Cheers,
Shane
Title: Re: C4CPC FW update
Post by: rickyordi on 22:06, 22 July 17
Hello Gerald,

I have two questions :

Is it normal that at the time of the firmware execution, that the terminal closes quickly by itself and that I do not see the end ?

I see so far:

Manufacturer Code: 0x58 (88)
"--- Erase ---"
Erasing flash...  Success
Checking memory from 0x0 to 0x6FFF...  Empty.
"--- Flash ---"
Checking memory from 0x0 to 0x4F7F...  Empty.
0%                            100%  Programming 0x4F80 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]  Success
0%                            100%  Reading 0x7000 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]  Success
Validating...  Success
0x4F80 bytes written into 0x7000 bytes memory (70.98%).
"--- EEProm ---"
0%                            100%  Programming 0x400 bytes...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]  Success


After checking the firmware by removing the SD card, I see this :
C4CPC :_00_07

Is that normal ?

Best regards,
Eric
Title: Re: C4CPC FW update
Post by: gerald on 09:33, 23 July 17
Quote from: rickyordi on 22:06, 22 July 17
Is that normal ?
Yes  :)
Title: C4CPC FW update windows 10 drivers
Post by: asertus on 16:02, 28 December 20
Hi, just a little update for this thread. Maybe you already know the issue, but I have just found it.


I had "deleted" my c4cpc configuration, but as I was using M4 I did not worry much. I have tried to restore it, installing 1.07, etc.., but I was unable, wrong drivers and device not found in windows 10. Finally, this morning, I found out the drivers for AT32UC3A3 in windows 10. Here the links

Install one of
http://studio.download.atmel.com/7.0.1931/driver-libusb0-installer-x64-7.0.1931.msi (http://studio.download.atmel.com/7.0.1931/driver-libusb0-installer-x64-7.0.1931.msi) or http://studio.download.atmel.com/7.0.1931/driver-libusb0-installer-x86-7.0.1931.msi (http://studio.download.atmel.com/7.0.1931/driver-libusb0-installer-x86-7.0.1931.msi) and one of http://studio.download.atmel.com/7.0.1931/driver-atmel-installer-x64-7.0.1931.msi (http://studio.download.atmel.com/7.0.1931/driver-atmel-installer-x64-7.0.1931.msi) or http://studio.download.atmel.com/7.0.1931/driver-atmel-installer-x86-7.0.1931.msi (http://studio.download.atmel.com/7.0.1931/driver-atmel-installer-x86-7.0.1931.msi)


And here the thread.. https://www.avrfreaks.net/forum/atmel-chipset-windows-10-driver-signature (https://www.avrfreaks.net/forum/atmel-chipset-windows-10-driver-signature)


I have installed the x64 versions and it worked fine and my c4cpc is alive again, run UpdateCartEmu.bat from the pack, C4CPC_V1.00.07.zip and everything went fine


Just for anyone who might be interested.


Powered by SMFPacks Menu Editor Mod