EOL and CodeWarrior max code size

Started by digby_2331 in 68HC1213 years ago

Hello: I too, was concerned about the EOL and 'not recommended for new designs' statements on FreeScale's website. Most of these...

Hello: I too, was concerned about the EOL and 'not recommended for new designs' statements on FreeScale's website. Most of these statements appear when trying to order sample parts. I noticed that the DG256, DP512, DP256, and DT256 are either EOL or 'not recommended for new designs'. I spoke with a Freescale rep and she told me that they are sim


9S12DP256 & BDLC

Started by juppy999 in 68HC1214 years ago 1 reply

Hi All SAE J1850 defines PWM (41.6 kbps) and VPW (10.4 kbps) modes, but the BDLC controller on DP256 appears to be VPW...

Hi All SAE J1850 defines PWM (41.6 kbps) and VPW (10.4 kbps) modes, but the BDLC controller on DP256 appears to be VPW _only_. Have I missed something, or is the J1850 spec not fully implemented by the BDLC, despite the blurb suggesting otherwise? Regard


S12E128 SPI CPHA logic inverted?

Started by Bruce McMillan in 68HC1215 years ago 3 replies

User feedback. Porting code from DP256 to E128, it seems that the CPHA logic may be inverted from that described in the SPI module...

User feedback. Porting code from DP256 to E128, it seems that the CPHA logic may be inverted from that described in the SPI module documentation (and inverted from the standard implementation of the SPI port on various versions). It's possible that the problem is noise o


DP256 - DP512 Transition

Started by Jonathan Masters in 68HC129 years ago 5 replies

Hello All. I have recently started to upgrade an old board that uses DP256B's with DP512. I managed to program the board a couple of days ago...

Hello All. I have recently started to upgrade an old board that uses DP256B's with DP512. I managed to program the board a couple of days ago with no issues. Today, I ran into a problem with my application code - it couldn't write to paged flash when downloading data from my PC app. This was quickly identified as a problem with the bank select in my flash loading routine. However no...


flashing a secured DP256

Started by Longworth, Kevin in 68HC1215 years ago 9 replies

Is there a reason why I can't flash program using a bootloader, a secured star 12? The documentation says flash...

Is there a reason why I can't flash program using a bootloader, a secured star 12? The documentation says flash programming should work fine, but it doesn't work when the part is secured (no flash protection at all) and works fine when it isn't secured. Of course I ca


ADC Help

Started by Manjunath in 68HC1214 years ago 4 replies

Hello everybody, I am using DP256 series of HCS12 microcontroller. I am using ADC of 10 bit in Interrupt Mode. I am testing...

Hello everybody, I am using DP256 series of HCS12 microcontroller. I am using ADC of 10 bit in Interrupt Mode. I am testing ADC by Connecting one end of the resistor to the adc pin and the other pin to +12v. or otherwise connecting +12v to adc pin. I can get corresponding valu


BDM communications on the HCS12..Pls help.

Started by iewgnip in 68HC1215 years ago

Hi.. I am using the HCS12DJ256. It is very similar to the DP256. I am trying to use one master S12 to bitmap/read memories of...

Hi.. I am using the HCS12DJ256. It is very similar to the DP256. I am trying to use one master S12 to bitmap/read memories of another S12 (target).For example, user who wants to read memory location $2000 will tell the master to read loc $2000 at the target. With this, I'm


trouble with Output Compare

Started by Steve Letkeman in 68HC1215 years ago 2 replies

Has anybody else run into troubles with the output compare function of the DP256? It appears that channel 0-6 can only be run with...

Has anybody else run into troubles with the output compare function of the DP256? It appears that channel 0-6 can only be run with channel 7 enabled, is that true? Steve Automated lighting systems at www.brightan.com Embedded micro-controllers and CAN interfaces at www.


C32 memory confusion

Started by Dean Manion in 68HC1213 years ago 2 replies

I've developed a GCC C program on an Axiom DP256 development board and everything works great. Now I have built a prototype of the real target...

I've developed a GCC C program on an Axiom DP256 development board and everything works great. Now I have built a prototype of the real target board using C32 processor and have gotten to the point where I want to load the program. I have a P&E Multilink BDM cable and when I attach it using NOICE it recognizes the processor and every thing is cool, I'm just not sure of what memory map I s


SCI communication from PC with EVB(DP256)

Started by Yogeesh in 68HC1215 years ago 1 reply

Hi, We are using M68KIT9S12DP256 Evaluation board (EVB), P&E multilink BDM interface, and ZAP ICD 6812 (paged) V3.70a on...

Hi, We are using M68KIT9S12DP256 Evaluation board (EVB), P&E multilink BDM interface, and ZAP ICD 6812 (paged) V3.70a on Win98SE. We are not able to generate SCI receive interrupt in EVB when we try sending data from PC's serial port to EVB. We are sending set of


Re: Syncing 32Mhz Bus To 2Mhz PWM

Started by Anonymous in 68HC1214 years ago 2 replies

Hello, I am using DP256 EVM from motorola with stock 16mhz osc / 8mhz bus. I have been able to over clock mcu to 32mhz bus speed...

Hello, I am using DP256 EVM from motorola with stock 16mhz osc / 8mhz bus. I have been able to over clock mcu to 32mhz bus speed trying a few different pll settings. When I enable ECLOCK output it seems to start either high or low output when processed from flash/eeprom or ram. is there an


-bs Cosmic Link option

Started by Longworth, Kevin in 68HC1216 years ago 7 replies

The Cosmic manual says -bs is 14 for 68HC12 processors. For the Star12, DP256, -bs causes the PPAGE register to be incorrect for far...

The Cosmic manual says -bs is 14 for 68HC12 processors. For the Star12, DP256, -bs causes the PPAGE register to be incorrect for far calls to banked memory. The manual calls the -bs "bank size" however it appears to be a shift offset of 16 bits. I address $328000 the PPAGE should


Problem with PWM4 on 9S12C128 80 pin version

Started by Nigel Johnson in 68HC1211 years ago 7 replies

I have downloaded AN2250, which was written in CW for the DP256. I converted and compiled it under gcc3.6. I am trying to generate pwm audio...

I have downloaded AN2250, which was written in CW for the DP256. I converted and compiled it under gcc3.6. I am trying to generate pwm audio on PWM4, using the generate sounds app from AN2250. The output of PWM4, pin 80, is connected to a first order filter consisting of a .01 uF to gnd and A 47Kohm going to a 4066 input which is disabled. I have tried all combinations of input/outpu...


Warning A12004

Started by manekb2000 in 68HC1215 years ago 1 reply

Hi, I use Motorola bootloader for DP256, and i have some warnings: "Warning : A12004: Value is truncated to two bytes ...

Hi, I use Motorola bootloader for DP256, and i have some warnings: "Warning : A12004: Value is truncated to two bytes BootDP256.Asm line 236" for pcr register, it's sample line: jsr PromptResp,pcr; How I can do to eliminate this warnings ?


Linker error

Started by galenpatrickogrady in 68HC1215 years ago 1 reply

I'm using CW v1.2 for a DP256 project in command line environment (makefile, etc.) and I'm getting a bizzare error message when my...

I'm using CW v1.2 for a DP256 project in command line environment (makefile, etc.) and I'm getting a bizzare error message when my prm file is being processed by the linker. Here is the error: Linking ..\prm\banked_flash.prm ..\prm\banked_flash.prm(241): ERROR L1903: U


DP256 - DP512

Started by Jonathan Masters in 68HC129 years ago 2 replies

Again... I have moved my metrowerks license back to my old machine which is a 2.4GHZ Celeron. The new machine is a 2.66GHZ Core2 Quad...

Again... I have moved my metrowerks license back to my old machine which is a 2.4GHZ Celeron. The new machine is a 2.66GHZ Core2 Quad Q9400. Everything works on the old machine. So I copied the project to the new machine lock stock and barrel. License back and so came back all the problems. Irrevocable conclusion ... despite having used Metrowerks on the Core2 machine for a month or ...


Please Help me on Input Capture Timer CH7

Started by sontrang91 in 68HC1215 years ago 2 replies

Hi I am a senior student in Electrical Engineering. I am doing my senior design and having trouble with the input capture Ch7....

Hi I am a senior student in Electrical Engineering. I am doing my senior design and having trouble with the input capture Ch7. Could anybody please send me an example code to set up the timer ch7 to capture an input from my switch. I am using the CML12S-DP256 from Axion, using the


Quick Flash Advice

Started by Jonathan Masters in 68HC1213 years ago 4 replies

Hi, I have a system (DP256) under test where the code is located in physical space from 0x4000-0x7fff and 0xc000-0xffff. The code downloads...

Hi, I have a system (DP256) under test where the code is located in physical space from 0x4000-0x7fff and 0xc000-0xffff. The code downloads data int 0x8000-0xBFFF in page 0x3A which it uses to run the system. During the testing, the data is static, the code is changing as it is being debugged. I can save a lot of time if the flash in the paged area is not erased whenever I invoke the deb


Hiware compiler, Star12, and linear addressing

Started by Alexandre Plombin in 68HC1216 years ago 1 reply

Hi, Has anyone had issues working with linear addressing on the Star12 DP256, generating a true linear s-record (0x0C.0000 to...

Hi, Has anyone had issues working with linear addressing on the Star12 DP256, generating a true linear s-record (0x0C.0000 to 0x0F.FFFF ... thanks Gordon!) with the Hiware (hum, Metrowerks) compiler? It seems that Hiware is using the linear addresses during symbol resulution at lin


run-time programming of EEPROM in DP256

Started by danielkolodka2002 in 68HC1212 years ago 6 replies

Hello dear people, actually we are trying to program, using a run-time routine, the EEPROM of the MCU: HCS912DP256, but we could not do it...

Hello dear people, actually we are trying to program, using a run-time routine, the EEPROM of the MCU: HCS912DP256, but we could not do it yet. We modify and traslate to C, the assembler routine used for Erase de EEPROM in the bootloader code, of course we change the code to command the internal FSM, that automatically erase and program this memory. The result is always the same, every t...