Forums Search for: HCS12
Target hc12 Mathworks vs metrowerks codewarrior
inHello, I downloaded the CodeWarrior for the HCs12. I want to use it in combination with the target for the HC12 of...
Hello, I downloaded the CodeWarrior for the HCs12. I want to use it in combination with the target for the HC12 of Mathworks. The target works with version 1.2 or 2.0. The one I downloaded from www.metrowerks.com is version 3.1. Matlab doesn't recognize this v
hc12mem v1.1
inhttp://cml.mfk.net.pl/hc12mem/ I made some improvements to my hc12mem program for HCS12 MCUs. hc12mem is a command line tool for...
http://cml.mfk.net.pl/hc12mem/ I made some improvements to my hc12mem program for HCS12 MCUs. hc12mem is a command line tool for erasing, reading and writing FLASH and EEPROM internal memories, it can also protect/unprotect whole MCU. Works under unix derivatives (FreeBSD and GNU/linux tested), and MS Windows
Help with PK-HCS12C32 Starter Kit
inI'm having trouble getting the Softec PK-HCS12C32 Starter Kit to accept a test program written in assembly. To avoid introducing errors, I...
I'm having trouble getting the Softec PK-HCS12C32 Starter Kit to accept a test program written in assembly. To avoid introducing errors, I decided to try a minimal program, making no changes to the "stationery" code. I opened a new project in CodeWarrior and used the wizard to create an assembly project. Selected absolute (non-relocatable). Selected 9S12C32 and PK-HCS12 target. ...
EEPROM based file system via SPI
Hi All I have just published a tutorial showing how to add an EEPROM to the SPI of the HCS12 (with diagrams and photos of the adapter for...
Hi All I have just published a tutorial showing how to add an EEPROM to the SPI of the HCS12 (with diagrams and photos of the adapter for typical EVB and DEMO boards) for use as an external file system - it is specifically for the NE64 to increase the program code space to 64k while still allowing web pages (up to 64k) to be served from simple and cheap external memory. http://www....
IAR HCS12 Banked memory code
inHi there, I'm using a MC9S12DP512 with a P&E USB BDM. I have problem getting the code to the chip using Banked code model. Using the...
Hi there, I'm using a MC9S12DP512 with a P&E USB BDM. I have problem getting the code to the chip using Banked code model. Using the normal code model everything is fine exept that i'm limited in size. In banked memory mode, building goes well exept that loading the code to the chip using debug function will generate the following fatal error:
HAL for HC12s
inA friend from Korea passed me this Hardware Abstraction Layer implementation for HCS12, thought some folks might find it useful. ...
A friend from Korea passed me this Hardware Abstraction Layer implementation for HCS12, thought some folks might find it useful. http://www.acelab.org/HAL/files.html Regds Jay
Codewarrior - IEEE32, float, double and sprintf()
inI require a floating point number with at least 12 decimal places. Using Codewarrior HCS12, I turn on -Cf for IEEE32 doubles. I am using...
I require a floating point number with at least 12 decimal places. Using Codewarrior HCS12, I turn on -Cf for IEEE32 doubles. I am using Banked memory model. sprintf(&buffer[0],"blahblah",blah) does not display correctly any floats, ints, doubles when used through TERM_WriteString(buffer); Is it just sprintf() and the internal data is ok, or is the data bad? Is there some
HCS12 Watchdog...Reset
inHello, I need for my programm a reset-function. I want to call a function ResetApplication(). Then I want to use the watchdog to reset the...
Hello, I need for my programm a reset-function. I want to call a function ResetApplication(). Then I want to use the watchdog to reset the application. I do not know how to use the watchdog exactly. After the reset the programm should start at the beginning. If the following code complete or have I to do something else. To reset I only have to start the watchdog!? void ResetApplicatio(...
Smart Card REader developed on HCS12 (SNAG)
inHi, We are developing smart card reader using MC9S12A256B controller. We are having the source code for the reference design of the...
Hi, We are developing smart card reader using MC9S12A256B controller. We are having the source code for the reference design of the Smart card reader developed on P89C51RD2 Philips 8 bit controller, when the code is ported to the motorola it is failing in the Authentication Process (Crypto Error). We are unable to find the problem as the code is porte
Metrowerks small memory model banked memory
inHi All, I am using Metrowerks for HCS12 v2.0. In the small memory model it is easy to get access to the 2 16k fixed flash pages, but I...
Hi All, I am using Metrowerks for HCS12 v2.0. In the small memory model it is easy to get access to the 2 16k fixed flash pages, but I am running out of code space as I quickly approach 32k code size. I was hoping to write into my start code some code to fix the PPAGE register at a particular page (not 3E of 3F which are the fixed pages), and then util
OT: QVGA LCD module with builtin SED1335
inHi Sorry if not very HCS12 related subject. I have to interface D64 to QVGA monochrome LCD module. Module has builtin ...
Hi Sorry if not very HCS12 related subject. I have to interface D64 to QVGA monochrome LCD module. Module has builtin SED1335 controller and 32k of display memory. It's too late to change LCD module and controller. It's not to late to use S12 MCU having more RAM. I
DJ64 eeprom programming in low temperature
inWe are using HCS12 micro ( MCS12DJ64 CPV 2L86D mask set) in our automotive CAN application . Recently, we have discovered some problem...
We are using HCS12 micro ( MCS12DJ64 CPV 2L86D mask set) in our automotive CAN application . Recently, we have discovered some problem with eeprom programming in low temperature ( -20 degree Celsius ) environment. Our automotive application is programmed to write some datum to DJ64??s eeprom before turning the power off . The application runs fine in room temperature ( 10 ?V 20 deg...
hc12mem 1.2 - added support for serial monitor, and port of monitor to GNU toolchain
inhc12mem v1.2 ------------ - added support for Freescale's serial monitor (Application Note AN2548) Using this serial monitor in target...
hc12mem v1.2 ------------ - added support for Freescale's serial monitor (Application Note AN2548) Using this serial monitor in target FLASH memory, hc12mem can: - erase,read,write,protect target EEPROM - erase,read,write target FLASH - securing/unsecuring is not supported, due to monitor presence So for now, hc12mem can access HCS12 MCU memory