Hello Dave,
The simplest approach may be to run the CW assembler and debugger/simulator as separate tools, when required, and not via the CW IDE. This will permit you to use your own text editor, and can potentially give a much simpler structure for the project. Note that this approach is suitable for absolute assembly only (not re-locatable assembly), but I guess this also applied your old HC705C9 code anyway.
You will probably need to include a "default" project.ini file within the same directory as your main assembly file and any incude files, so the assembler can find them. The method that works for me is to open the assembler program, drag the project.ini file to the assembler window (done once per session), and then drag the main assembly file to the assembler window, as required.
Alternatively, if you have previously used P&E tools for the HC705, it may be simpler to stick with them for the HC908. These are a free download from the P&E web site for the HC908 devices.
Note that there are a number of differences to be taken into account between code written for CW assembler, and P&E CASM08 assembler, particularly for pseudo-ops and directives. The CW assembler gives more flexibility for conditional assembly, and the like.
Regards,
Mac
Hello Dave,
For programming the flash, you will need to use the MON08 interface, or something equivalent. I happen to use the MON08-MULTILINK product from P&E, but there are other products. You can also construct your own interface. I also use the P&E PROG08SZ flash programmer software, available from their web site. This directly uses the S19 file.
However, I do not directly use the 16-pin header associated with MON08 - it is too bulky, and leaves the pins of the device rather exposed to accidental contact, and possibly more prone to damage due to static discharge. I would normally provide a row of eight plated-through holes on the PCB, with six connections to the required port pins, plus Vdd and ground. When I wish to program the MCU, I have made up an adaptor that "plugs" into the holes, with contact maintained by applying sideways pressure during the short period required for programming.
I also notice that P&E also have a utility called "Serialise", intended to handle sequential serial numbers, although I have not personally used this yet.
Regards,
Mac