HC908 'reserved' memory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HC908 'reserved' memory

2,273 Views
admin
Specialist II
The data-sheet for the QB8 shows the first 4K of flash to be 'reserved', despite the fact that
the chip is otherwise described as '8k of flash'. Are users meant to use this area or not?
Does it actually work if you do?
A similar question arises for the 'as-advertised' 256bytes of ram. A look at the memory-map
diagram shows that half of it is reserved. 
Is this false advertising? [ LOL ] or can we actually use these areas without a penalty sometime
in the future?
Also, is there an .inc file available for this version somewhere?
Thanks,
Alan.
Labels (1)
0 Kudos
6 Replies

447 Views
bigmac
Specialist III
Hello Alan,
 
The "reserved" areas of flash and RAM apply to the 908QB4 version of the device, and not the 908QB8. 
 
The 'QB4 device would use the same silicon internally, but the reserved areas may not have been tested, or may have failed somewhere, so their correct operation cannot be guaranteed, should you attempt to use them.
 
The include files for the device may be found within the CodeWarrior installation.  Assuming you are using assembler, the directory is  ...\Lib\Hc08c\Device\asm_include\
 
If you use the wizard to create a new ASM project, the required include file should automatically be visible to the project.
 
Regards,
Mac
 


Message Edited by bigmac on 2008-06-11 04:08 PM
0 Kudos

447 Views
admin
Specialist II
Hi, Many thanks for that. I'm still in the (asm) dark-ages and hadn't thought to look there!
Cheers.
0 Kudos

447 Views
admin
Specialist II
Hello again,
Found that the wanted info is not part of my old (V2.1)!! code-warrior...
I've been using only the P&E tools, with QY series. Downloaded new CW version,
but won't install. Says 'Insufficient memory', and a look in Task-manager shows that
yes, there is nothing left of my 512M!! Any ideas?
All I need is to have a copy of the QB8 include/register file(s) to use with assembler.
Alan.
0 Kudos

447 Views
bigmac
Specialist III
Hello Allan,
 
The file you require is attached.  However you probably won't be able to do full chip simulation for this device with your early CW version.  Alternatively, you could always remain with the P&E assembler.  Since the include file only contains equates, I would expect that it should be compatible with either assembler.
 
For the latest versions of CW, I believe the memory issue is with the installer program.  I have an old Win98 machine with even less memory capacity than yours, and was able to install CW versions 3.1 and 5.0 without problem (except I still have to program the devices using P&E tools).  However, for later releases of CW, the normal installation method was problematic.  Actually, I have managed, by a round about method, to get CW6.0 at least partially working on this machine.
 
I also have a WinXP machine on which the later versions will install, but no CW IDE of any version will run at all.  But I can still run individual tools alone.  What a mess!
 
Regards,
Mac
 
0 Kudos

447 Views
admin
Specialist II
Hi,
Once again, many thanks!! This should do exactly what I want, and save lots of typing,
since I've up-graded from QY4 and need to use the SPI and ESCI modules.
Seems like this series of chips could benefit from an improved (more holistic?)
support arrangement...no working simulator after all this time can't help chip sales.
The forum however, is fantastic and has provided answers to any questions I've had.
Cheers,
Alan.  
0 Kudos

447 Views
bigmac
Specialist III
Hello Alan,
 
My reference to the lack of full chip simulation would apply to your very early version of CW only, because it originally did not support the 908QB8 device.  Normally upgrade packages are available for various versions of CW when new devices are introduced.  However, the question arises whether there is a suitable upgrade package for the version that you are using.
 
FCS requires more than just another .inc file for the device.
 
Regards,
Mac
 
0 Kudos