Cumulus Firware Compilation
Re: Cumulus Firware Compilation
Okay, I'm afraid I'm not going to be able to help. If only metadata read this...
He had similar problems, as you already read in the forum. Iss provided a modded code that printed error messages (check this post http://forum.defence-force.org/viewtopi ... =120#p9409).
But metadata was quite cryptic (at least to me) when he said he solved it. He just said he learnt the difference between a BIN file and an HEX file... http://forum.defence-force.org/viewtopi ... =135#p9436
And that is all.
Hope someone comes with a new idea.
He had similar problems, as you already read in the forum. Iss provided a modded code that printed error messages (check this post http://forum.defence-force.org/viewtopi ... =120#p9409).
But metadata was quite cryptic (at least to me) when he said he solved it. He just said he learnt the difference between a BIN file and an HEX file... http://forum.defence-force.org/viewtopi ... =135#p9436
And that is all.
Hope someone comes with a new idea.
Re: Cumulus Firware Compilation
Yop, i use bootloader code from ISS from this topic http://forum.defence-force.org/viewtopi ... =120#p9409 . I compile it in mp lab using modded linker, maybe this is also problem Echh I feel like a child in the fog...
Code: Select all
// File: 18f46k20_g.lkr
// Generic linker script for the PIC18F46K20 processor
LIBPATH .
#IFDEF _CRUNTIME
#IFDEF _EXTENDEDMODE
FILES c018i_e.o
FILES clib_e.lib
FILES p18f46k20_e.lib
#ELSE
FILES c018i.o
FILES clib.lib
FILES p18f46k20.lib
#FI
#FI
CODEPAGE NAME=page START=0x0 END=0xFFFF
CODEPAGE NAME=idlocs START=0x200000 END=0x200007 PROTECTED
CODEPAGE NAME=config START=0x300000 END=0x30000D PROTECTED
CODEPAGE NAME=devid START=0x3FFFFE END=0x3FFFFF PROTECTED
CODEPAGE NAME=eedata START=0xF00000 END=0xF003FF PROTECTED
#IFDEF _EXTENDEDMODE
DATABANK NAME=gpre START=0x0 END=0x5F
#ELSE
ACCESSBANK NAME=accessram START=0x0 END=0x5F
#FI
DATABANK NAME=gpr0 START=0x60 END=0xFF
DATABANK NAME=sector_buffer_section START=0x100 END=0x3FF PROTECTED
//DATABANK NAME=gpr2 START=0x200 END=0x2FF
//DATABANK NAME=gpr3 START=0x300 END=0x3FF
DATABANK NAME=gpr4 START=0x400 END=0x4FF
DATABANK NAME=gpr5 START=0x500 END=0x5FF
DATABANK NAME=gpr6 START=0x600 END=0x6FF
DATABANK NAME=gpr7 START=0x700 END=0x7FF
DATABANK NAME=gpr8 START=0x800 END=0x8FF
DATABANK NAME=gpr9 START=0x900 END=0x9FF
DATABANK NAME=gpr10 START=0xA00 END=0xAFF
DATABANK NAME=gpr11 START=0xB00 END=0xBFF
DATABANK NAME=gpr12 START=0xC00 END=0xCFF
DATABANK NAME=gpr13 START=0xD00 END=0xDFF
DATABANK NAME=gpr14 START=0xE00 END=0xEFF
DATABANK NAME=gpr15 START=0xF00 END=0xF5F
ACCESSBANK NAME=accesssfr START=0xF60 END=0xFFF PROTECTED
SECTION NAME=sector_buffer_section RAM=sector_buffer_section
#IFDEF _CRUNTIME
SECTION NAME=CONFIG ROM=config
#IFDEF _DEBUGSTACK
STACK SIZE=0x100 RAM=gpr13
#ELSE
STACK SIZE=0x100 RAM=gpr14
#FI
#FI
Re: Cumulus Firware Compilation
Attached is what I found in my archives.
Unfortunately only HEX files, sorry it was long time ago.
Please try it, I hope it helps...
Unfortunately only HEX files, sorry it was long time ago.
Please try it, I hope it helps...
- Attachments
-
- Cumulus-fw.zip
- (29.38 KiB) Downloaded 406 times
Re: Cumulus Firware Compilation
Congrats, great progress!
ROM content is the one which is used in emulators too and can be downloaded form here.
Compiling XC95144 code is bit tricky, if you have any problems I think we can solve them .
ROM content is the one which is used in emulators too and can be downloaded form here.
Compiling XC95144 code is bit tricky, if you have any problems I think we can solve them .
Re: Cumulus Firware Compilation
Great!
Please iss, put the file in the repository... clearly having the binay files in addition to the sources looks like a good idea!
Please iss, put the file in the repository... clearly having the binay files in addition to the sources looks like a good idea!
Re: Cumulus Firware Compilation
Very good When i finish i also share working files in one place.
Ok, next day fight, i upload 2 diffrent JED files to XC95144 without success. Also ,somebody know why in Cumulus is Flash EEprom 256, not normal eprom like 27c64 ? Rom for microdisc is 8 KB. So what about rest? Write 4x8kb in to eeprom?
I would be grateful for the working JED file for XC95144XL.
On the moment:
Ok, next day fight, i upload 2 diffrent JED files to XC95144 without success. Also ,somebody know why in Cumulus is Flash EEprom 256, not normal eprom like 27c64 ? Rom for microdisc is 8 KB. So what about rest? Write 4x8kb in to eeprom?
I would be grateful for the working JED file for XC95144XL.
On the moment:
Re: Cumulus Firware Compilation
First, here is how I repaired my Cumulus 2 years ago - literally everything was burnt!
@Chema: I can't upload to SVN, but someone with write access can do it .
In the attached zip file are ALL needed binary files.@Chema: I can't upload to SVN, but someone with write access can do it .
- Attachments
-
- Cumulus-fw-bin.zip
- (56.65 KiB) Downloaded 430 times
- coco.oric
- Squad Leader
- Posts: 720
- Joined: Tue Aug 11, 2009 9:50 am
- Location: North of France
- Contact:
Re: Cumulus Firware Compilation
Dear all,
here is the process i use to change the firmware on my cumulus :
Processus de Compilation.
1. télécharger et installer mplabx
2. télécharger et installer le compilateur C18 de microchip
3. créer un nouveau projet dans l’ide mplabx avec les options : -standalone, PIC18F46K20, -select ICD3 (non fondamental), C18 compiler et donner un nom au projet
4. Ouvrir la fenetre projet (Windows->Project) et ajouter les fichiers de type .h (header), .lkr (linker) et .c
5. click «run» -> «Build project»
6. Télécharger hex2bin http://hex2bin.sourceforge.net/
7. copier le fichier .hex compilé dans le répertoire hex2bin
8. en ligne de commande, taper hex2bin -l 10000 YOURHEXFILENAME
The tools :
. EaseUS Partition Master 9.3.0 permet de reformater correctement la carte SD. Il est nécessaire que seul le fichier CUMULUS.BIN (majuscules) soit présent sur la carte SD pour reprogrammer le firrmware.
. Installer les logiciels requis ci-dessous : MPLab C18 et MPLABx IDE (nécessite de s’enregistrer sur le site) et Hex2Bin Attention, le Cumulus possède 2 types d’écran : le PCF8833 et le S1D15G10 (point noir) et le header 6610.h doit en tenir compte (#define)
Sorry, it's in french but i wrote it 3 years ago when i tried to change the buttons' role.
Didier
here is the process i use to change the firmware on my cumulus :
Processus de Compilation.
1. télécharger et installer mplabx
2. télécharger et installer le compilateur C18 de microchip
3. créer un nouveau projet dans l’ide mplabx avec les options : -standalone, PIC18F46K20, -select ICD3 (non fondamental), C18 compiler et donner un nom au projet
4. Ouvrir la fenetre projet (Windows->Project) et ajouter les fichiers de type .h (header), .lkr (linker) et .c
5. click «run» -> «Build project»
6. Télécharger hex2bin http://hex2bin.sourceforge.net/
7. copier le fichier .hex compilé dans le répertoire hex2bin
8. en ligne de commande, taper hex2bin -l 10000 YOURHEXFILENAME
The tools :
. EaseUS Partition Master 9.3.0 permet de reformater correctement la carte SD. Il est nécessaire que seul le fichier CUMULUS.BIN (majuscules) soit présent sur la carte SD pour reprogrammer le firrmware.
. Installer les logiciels requis ci-dessous : MPLab C18 et MPLABx IDE (nécessite de s’enregistrer sur le site) et Hex2Bin Attention, le Cumulus possède 2 types d’écran : le PCF8833 et le S1D15G10 (point noir) et le header 6610.h doit en tenir compte (#define)
Sorry, it's in french but i wrote it 3 years ago when i tried to change the buttons' role.
Didier
coco.oric as DidierV, CEO Member
Historic owner of Oric, Apple II, Atari ST, Amiga
Historic owner of Oric, Apple II, Atari ST, Amiga
Re: Cumulus Firware Compilation
It's more handy for updating, you don't need to erase the software with an UV lamp to re-write. I suppose that the EEPROM contains also the update microprogram.
-
- Squad Leader
- Posts: 774
- Joined: Sat May 21, 2011 7:21 pm
- Location: Between UK and France
- Contact:
Re: Cumulus Firware Compilation
The EEPROM contain only the microdisk ROM and nothing else. (which is on a legal point a view quite problematic to be honest)
My Projects: Replic'Oric Project - StratoCumulus Project
Re: Cumulus Firware Compilation
It would probably be possible to replace the EEPROM by our own code.
As far as I remember, 90% of it is unused code from the first DOS, all the EEPROM does is to basically load some data, check it's a valid DOS format, loads the boot sector, and run the code after having disabled itself.
Probably about 256 bytes of code, give or take
-
- Squad Leader
- Posts: 774
- Joined: Sat May 21, 2011 7:21 pm
- Location: Between UK and France
- Contact:
Re: Cumulus Firware Compilation
Of course, I'm not saying it would be hard
My Projects: Replic'Oric Project - StratoCumulus Project
Re: Cumulus Firware Compilation
All I mean is that this eprom is far from being a core part of the product, and in case of legal troubles looming, it would probably take a week to get a replacement one, and we could even use the additional room for adding stuff like a standard file loading library :p