Programming FLASH on HC908

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

Programming FLASH on HC908

4,717 Views
erokc
Contributor I
I have CW IDE Ver. 5.6.1.1506  The documentations says to select TOOLS, Program FLASH.  The menu on my program does not have TOOLS, in its place is PROCESSOR EXPERT.
 
I can't get an answer from Freescale.  Does anyone know why I don't have a TOOLS menu item?
 
I received the program with the FSICEBASE and supporting hardware.  I have not installed a license, could that be relative?
 
Thanks much for your help.
 
Dave

Message Edited by J2MEJediMaster on 2007-04-12 10:39 AM

Labels (1)
Tags (1)
0 Kudos
11 Replies

1,192 Views
CrasyCat
Specialist III
Hello
 
CodeWarrior for HC08 uses an external debugger. It does not use the debugger integrated in CodeWarrior.
 
So menu Tools do not apply for HC08.
Note that reference to that menu has disappeared in the latest release of the HC08 software.
 
FSICEBASE is an emulator. As such it emulates the target memory (especially the target MCU Flash).
You will not be able to program the flash for that connection.
Just hit the debug button  and the application will be downloaded in emulated flash (RAM) and run from there.
 
CrayCat
0 Kudos

1,192 Views
erokc
Contributor I
Thanks CrasyCat,
 
I had asked in a service request how to program the FLASH on board in the finished product and was told Code Warrior would do that.  I'm ready to run code in the finished target prototype before I order production boards.
 
I have built the serial driver and circuit that's in the HC908AP data sheet.  I made test points on the finished board to connect and program the FLASH.  Is there software available to communicate with the microcontroller and load my user program into FLASH?
 
Dave
 
 
0 Kudos

1,192 Views
CrasyCat
Specialist III
Hello
 
OK. You are looking for a production flash programming tool. Am I right?
 
CodeWarrior can help you to program load an application in flash and debug it from there.
So if you wish to program  only a couple of chips, you may be able to use CodeWarrior.
I would not say that CodeWarrior is well suited to perform production flash programming.  
 
For bigger volume, I would recommend you to check the P&E web site (http://www.pemicro.com) and check CyclonePRO software & Hardware. This can be used for production/standalone flash programming.
 
If you wish to program small volumes and decide you can use CodeWarrior, then you have to use another connection than FSICEBASE. You need to use a MON08 Multilink or a USB-ML-MON08 and use a P&E Multilink/Cyclone Pro Connection in the debugger.
 
This will allow you to program the flash.
 
I hope this helps. 
 
CrasyCat
0 Kudos

1,193 Views
erokc
Contributor I
I have the hardware to communicate with the MC86HC908AP16 built into the test set.  I will load the user program in FLASH and run the hardware tests for the product.  This way I can build the product with no code installed.  If (when) the firmware needs updating it gets updated faster.  It also lets me update customer product.
 
All I need is a program to communicate through the serial port of the circuit in the data sheet under MONITOR, Ch. 8.  I have the hardware built.  A production programmer is of no use.
 
Surely there is a program already written to run in Windows to erase/program the FLASH.
 
Any ideas?
 
Dave
0 Kudos

1,193 Views
CrasyCat
Specialist III
Hello
 
I am wondering whether AN2295 and accompanying software (AN2295SW)  might not help you to fix that problem?
 
This application note is available on Freescale Web page.
 
CrasyCat
0 Kudos

1,193 Views
erokc
Contributor I
Yes, that application note looks like what I need.  It will take me a bit to see how to impliment it on the PC.  I may have questions about that.  I don't see an .exe file to run but let learn what I can first.  I'm an assembly programmer, not C.
 
Thanks,
 
Dave
0 Kudos

1,193 Views
bigmac
Specialist III
Hello Dave,
 
From your earlier post, I suspect you wish to use the MON08 interface for in-circuit programming, rather than the serial boot loader approach.  For the MON08 method, you can download the PROG08SZ utility from the P&E website.  The version suitable for HC908 devices is a free download.
 
The utility uses the S19 file generated by the assembler.
 
Regards,
Mac
0 Kudos

1,193 Views
erokc
Contributor I
Bigmac,  you're my hero.  This is exactly what I need.  It looks like there is a serial number sequencer that I can use if it works with the PROG08SZ.  I knew someone had the software and someone would come to my rescue.  MY target is alive!
 
Thanks very much!
 
Dave
0 Kudos

1,193 Views
erokc
Contributor I
Bigmac,
 
I have loaded and run the PROG08SZ Ver.2.21 and it works fine.  The documentation that came with it is for Ver. 1  I have requested current documentation from P&E Micro but no response.  Any idea where I might current documentation.  The serial number feature is something I can use but there is no example serial file or instructions.  There may be some other features I would like to know about too.
 
I just remembered there was a separate zip file for a serial number function.  I will check it, maybe it has documentation.
 
Dave
0 Kudos

1,193 Views
peg
Senior Contributor IV
Hi Dave,
 
Help is notoriously light on when it comes to P&E's products, although there is enough users here to help you out with any problems you may have. The serialise programme is fairly self explanatory I would have thought.
 
0 Kudos

1,193 Views
erokc
Contributor I
I did unzip the serial.zip I mentioned and it appears to create the serial file that is asked for in the PROG08SZ. I still have to try it out.
 
Thanks for your assistance.
 
Dave
0 Kudos