flash programming code for 9S12

Started by Steve Letkeman in 68HC1215 years ago 2 replies

Hi, I have seen a few threads concerning issues in getting the 9s12DP256 to program its own flash memory via serial or CAN and now...

Hi, I have seen a few threads concerning issues in getting the 9s12DP256 to program its own flash memory via serial or CAN and now it's my turn to do this and was wondering if there is any code floating around for this? Thanks, Steve Automated lighting syste


9S12DP256 Vs 9S12DP512

Started by Ravi Raj in 68HC1212 years ago 1 reply

Hi, I am using a 9S12DP256C for my application. As DP256 is going obsolete soon, we are thinking of going to DP512. But I am not sure that I...

Hi, I am using a 9S12DP256C for my application. As DP256 is going obsolete soon, we are thinking of going to DP512. But I am not sure that I can port the executable directly on 512 without rebuilding it. In other words can DP512 be a drop in replacement for DP256 hardware and software wise. Can anybody throw some light on this please? Thanks in advance Ravi This email may contain con...


bus interface for 9S12DP256 BDLC

Started by ctrobot28 in 68HC1215 years ago 1 reply

To interface the 9S12/BDLC to the j1850 bus, is an MC33390 transceiver the right part? Or is it possible to do it without this? ...

To interface the 9S12/BDLC to the j1850 bus, is an MC33390 transceiver the right part? Or is it possible to do it without this? (Since I can't find anyplace that has it in qty. 1.) Thanks, Patrick


sci routines icc12

Started by Cyril in 68HC1214 years ago 2 replies

Hello i would like to know whether anyone has routines in C ( for use with ICC12 compiler) that program SCI interface. I use...

Hello i would like to know whether anyone has routines in C ( for use with ICC12 compiler) that program SCI interface. I use axiom cml-9s12dp256 board and mc9s12dp256 MCU. any code would be very much appreciated. thanks.


How comes the 'D-Bug12 EVB Mode' is three times faster?

Started by fanderssohn in 68HC1215 years ago 1 reply

Thank you so much, hakan, for helping me with the compiler options! Everything works fine, now. Here is a phenomenon I'm not...

Thank you so much, hakan, for helping me with the compiler options! Everything works fine, now. Here is a phenomenon I'm not able to explain. I am again running the little test program ('blink' written by Oliver Thamm)on my 9s12dp256 T-Board, which makes a LED light ru


HCS12 flash programming

Started by IvO in 68HC1214 years ago

Hi I have a CML-9S12DP256 boar and I'm having problems with its flash. I use the ax-bdm12 to debug the system and no matter what I...

Hi I have a CML-9S12DP256 boar and I'm having problems with its flash. I use the ax-bdm12 to debug the system and no matter what I cannot do anything with the FLASH memory. I ported some Motorola routines to erase/program flash blocks but it did not work. My last attempt i j


Serial Communication

Started by oooweee428 in 68HC1212 years ago 8 replies

Does anyone know or have a serial communication program, I am trying to transmit and recieve characters and I would like an example program I...

Does anyone know or have a serial communication program, I am trying to transmit and recieve characters and I would like an example program I can go by. I looked at the Theo files and was just wondering if someone has anything else. Thanks guys in advance. Whether its in assembly langauge or in C++ it would be great. By the way I am using the CML-9S12DP256 board. Thanks in advance ...


EEPROM and RAM memory map

Started by Pascal in 68HC1213 years ago 4 replies

Hello, I would like to configure my 9s12dp256 to use register : 0-3FF, EEPROM 400-13FF, RAM 1400- 43FF Is it possible? If yes, i...

Hello, I would like to configure my 9s12dp256 to use register : 0-3FF, EEPROM 400-13FF, RAM 1400- 43FF Is it possible? If yes, i don't find the correct value of INITEE and INITRM An other question : if RAM is > at $4000 wich is a fixed flashed page, what append? All of these adress questions are not clear for me.... Thank you


Flashing program

Started by Anonymous in 68HC1214 years ago 2 replies

Hello ! I'm discovering Motorola 9S12DP256 - ICC12 C Compiler, - NoIce debugger, - P&e Multilink BDM. For the moment,...

Hello ! I'm discovering Motorola 9S12DP256 - ICC12 C Compiler, - NoIce debugger, - P&e Multilink BDM. For the moment, I developed sample programs in RAM area, moved in address 0xD000. In a next step, I'll buy full professionnal version, whic


Failing 9S12DP256's

Started by Todd Morton in 68HC1214 years ago 6 replies

Here is an interesting problem: I have a student's program that causes the BDM to fail...or at least not communicate. After...

Here is an interesting problem: I have a student's program that causes the BDM to fail...or at least not communicate. After his program crashes (it works for awhile) I can no longer communicate to the BDM through the Noral debugger or a D-Bug12 pod. The only thin


USB Host with 9S12A256

Started by bkohan_2000 in 68HC1213 years ago 3 replies

I would like to add a USB Host to a 9S12DP256 design. I beleive the hardware is easily available. Is the USB Host software portable to the...

I would like to add a USB Host to a 9S12DP256 design. I beleive the hardware is easily available. Is the USB Host software portable to the 9S12?


Downloading C program to EEPROM

Started by MK in 68HC1212 years ago 1 reply

Hello everyone, I developed an application in C language. I have two files -> one that contains the function definitions and the other one...

Hello everyone, I developed an application in C language. I have two files -> one that contains the function definitions and the other one contains the main program. I was testing my code on ICC12 with the TARGET options set to 9s12dp256 in 12K RAM mode. If I would like to port my program to the EEPROM in order for my Minidragon+ board to auto start the applications, can someone give me th


slightly OT q. for BDLC experts

Started by ctrobot28 in 68HC1215 years ago 1 reply

I'm using an MC33390 transceiver between the 9S12DP256 and the J1850 bus. The datasheet for the 33390 shows a recommended...

I'm using an MC33390 transceiver between the 9S12DP256 and the J1850 bus. The datasheet for the 33390 shows a recommended application circuit, with a 25V MOV (varistor) across the output. But it also specifies an output capacitance of 470 pf. I cannot find a MOV with that


HCS12 Bank Switch

Started by Phillip Mastroianni in 68HC1214 years ago 6 replies

How does the compiler deal with bank switching? We current are using 9s12DP256 processor which uses banked memory. If there is a...

How does the compiler deal with bank switching? We current are using 9s12DP256 processor which uses banked memory. If there is a document which I can read that would be helpful. Also this process use .5u SST flash, which requires a fixed length srecord. Does the current build too


serial comm. electrical interface question

Started by ctrobot28 in 68HC1214 years ago 3 replies

I have to connect an SCI port on a 9S12DP256 to another microcontroller. My very basic question is: is the SCI output inverted,...

I have to connect an SCI port on a 9S12DP256 to another microcontroller. My very basic question is: is the SCI output inverted, i.e. 5V is logic 0, 0V is logic 1? Or does that inversion happen in an RS232 driver (e.g. MAX232)?


S-Record Out of Range

Started by Shayne C. Rich in 68HC1214 years ago 2 replies

I've got an Tech Arts 9S12DP256 board. I am using the Imagecraft compiler. When I download any of the demo programs I get the error:...

I've got an Tech Arts 9S12DP256 board. I am using the Imagecraft compiler. When I download any of the demo programs I get the error: S-Record Out of Range I presume this is a problem with the SRecCvt utility? My SRecCvt command looks like: SRecCvt -


Problems with hardware module I2C.

Started by corpuscasado in 68HC1215 years ago

Hi all, I'm using 24C16 and 9S12DP256. I'm using the module hardware i2c. I have problems when I'm reading the value of IBDR...

Hi all, I'm using 24C16 and 9S12DP256. I'm using the module hardware i2c. I have problems when I'm reading the value of IBDR register because I lose read byte of the memory. Can anybody help. Thank you for your help in advance. Corpus


Re: 9S12DP256 EVB Debugging Ideas - Comments Desired

Started by Richard in 68HC1212 years ago

At 09:13 PM 8/10/2006, Eric Engler wrote: > --- In 6...@yahoogroups.com, Richard > wrote: > > > > Unless you have written an...

At 09:13 PM 8/10/2006, Eric Engler wrote: > --- In 6...@yahoogroups.com, Richard > wrote: > > > > Unless you have written an ELF/DWARF reader, I can guarantee you > that it > > will take you many days/weeks/months to support that for GCC. > > Yeah, it looks hard but I like the flexibility of the format. > > > OTOH, anyone can probably w


ATD module not working

Started by teleko7 in 68HC1215 years ago 1 reply

Hi everybody. i?m working with a 9S12DP256 and in particular, with its ATD module, trying to sample a PWM signal generated by the...

Hi everybody. i?m working with a 9S12DP256 and in particular, with its ATD module, trying to sample a PWM signal generated by the same micro. New conversions are suposed to start just by writing to registers ATDCTL4 or ATDCTL5, but in my case this doesn?t happen. I?ve looked for


BDLC on 9S12DP256 - transceiver delay?

Started by ctrobot28 in 68HC1215 years ago 1 reply

I'm using the MC33390 transceiver, and not sure of correct setting for the DLCBARD register delay bits. Can anyone give me a...

I'm using the MC33390 transceiver, and not sure of correct setting for the DLCBARD register delay bits. Can anyone give me a number that's known to work with this transceiver? (I'm now using 0x09 for a 18us delay.) Is the setting really critical or should I expect to recei