CW6.0 MCU - S08DZ60 - Troubles in generating SCI interruptions

cancel
Showing results for 
Search instead for 
Did you mean: 

CW6.0 MCU - S08DZ60 - Troubles in generating SCI interruptions

2,992 Views
Contributor I
Hi,
 
    I'm a new user of CodeWarrior IDE, I'm developing firmware for HS08 CPU cores. I'm trying to generate a simple interrupt for a TX routine (Serial Comm. Interface). The interrupt was intended to be generated via TDRE request, but when I debug the prgm I get the message from Command line in the True-Time Simulator....[SCI Warning - DMARE/DMATE bits are not functional and will prevent interrupts.]. I've tried to look in the HCS08 manual, and noting, but in a deep search I've found out that these bits exist in the HC08 family, but not in the HCS08 family wich is pretty wierd to me. I'd like to get some help, please.
 
Humberto
  



Message Edited by Humberto on 2007-07-28 02:52 PM

--
Alban Edit: FSL Part Number must figure in Message Subject line.
Message Edited by Alban on 2007-07-31 10:43 AM
--
Alban Edit: MODIFIED FSL Part Number from Message Subject line.



Message Edited by Alban on 2007-08-01 08:36 AM
Labels (1)
Tags (1)
0 Kudos
12 Replies

140 Views
Contributor I

I find the reason that TXDI=1 made "DMARE/DMATE bits are not functional and will prevent interruput

".

0 Kudos

140 Views
Contributor I
hi,
 
   I've checked, and my .exe file for CW instalation is named for 6.0 version, but when I retrieve this info from the already installed product, I got the 5.9.0 version. What's that?
 
Humberto.
0 Kudos

140 Views
Senior Contributor II
Hi Humberto,

That is the magic of IDE !

CodeWarrior is not only one tool but a suite of tools.
You only checked the IDE to give you 6.0, but the compiler, the debugger and other tools from the suite can be modified.

To get the GENERAL RELEASE version of the FULL SUITE, you need to click on the About -> Product Installed and look at the top.
If you read [IMPORTANT] When Asking about CODEWARRIOR !!!, it is explained there.

Cheers,
Alban.


Message Edited by Alban on 2007-08-01 08:37 AM
0 Kudos

140 Views
Contributor II
I don't have a specific answer to your question, but only a suggestion on how to find the answer.
 
Create a new project using Processor Expert, set up a SCI with the same proporties and generate the code.  Take a look at how they did it and you may find your answer.
 
uCTechnoGeek
0 Kudos

140 Views
Contributor I
Hi uCTechnoGeek, thanks for the reply. 
 
      I've already did that. All my device initialization was made using Processor Expert. After the last  instruction, excluding ISR's, in the MCUinit.c file, (asm CLI) , the message  [DMARE/DMATE bits are not functional and will prevent interrupts] is given. But what truly make me lost is that the DMARE/DMATE bits, wich control the SCI usage in the HC08 family, doesn't belong or even exist in the HCS08 family, I got no way to access then and fix problem. I've read the manual in the SCI config section and there is no mention of the DMARE/DMATE bits.
 
Humberto
 
0 Kudos

140 Views
Senior Contributor IV
Hi Humberto,
 
Which version of Codewarrior are you using?
What S08 derivative are you targetting?
I would guess that you are targetting the wrong processor in CW.
These bits seem to be for a MPU with a DMA controller. Not sure that any S08's have one???
 
0 Kudos

140 Views
Contributor I
Hi peg,
 
I'm using the CodeWarrior IDE version 5.9.0 Build 2330, wich is an evaluation version. My targetting device is MC9S08DZ60, I didn't find nothing about DM Accces in this family, I've found something about it in the HC08 core-based processor, but in my target nothing. I've searched the intire datasheet.
 
Humberto
0 Kudos

140 Views
Senior Contributor IV
Hi Humberto,
 
I made a project for the DZ60 in CW5.1 and it failed to locate the .prm for this device (works for other targets).
This on its own should not cause what you are seeing but casts doubt on CW support of this derivative.
 
Alban:
Perhaps this thread would be better in the CW forum for other CW experts to see?
 
0 Kudos

140 Views
Senior Contributor II
indeed David! Done + 1st post renamed
0 Kudos

140 Views
Specialist III
Hello
 
I assume you are using CodeWarrior for MCU V6.0.
To retrieve version information:
- Start CodeWarrior
- Select Help -> About Freescale CodeWarrior
- Click on "Install Products"
- CodeWarrior version used is displayed on top in the Installed Products dialog.
 
HCS08DZ60 is not supported with CodeWarrior for HC08 V5.1 unless you download and install the appropriate service pack.
 
I made some tests with CodeWarrior for MCU V6.0 and HCS08DZ60, but I could not reproduce your problem. I assume this is something specific related to your project.
 
I would recommend you to submit a service request for that to get a support engineer looking at that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.
 
CrasyCat
0 Kudos

140 Views
Contributor I
Hi CrasyCat and Peg,
 
My CW version is 5.9.0 (post 5), it seens to be a better choice to upgrade to 6.0 version, before submiting a service request, and see what happens. thanks for the help.
 
Humberto.
0 Kudos

140 Views
Senior Contributor IV
Hi CrasyCat,
 
The OP seems to have CW5.1 (see his last post)
 
I have CW5.1 6124 without any SP specific to any of the D family yet the new project wizard allowed me to produce a project for a DZ60 (along with the error noted before).
 
Maybe the short answer is CW6.0 though.
 
0 Kudos