EmbeddedRelated.com

Using Terminal in Codewarrior - no serial port

Started by blewis999 in 68HC1218 years ago 2 replies

We are using CW and a 9sdg128B and need to I/O to a serial port... but have no phsyical serial port on the board. It seems like it should be...

We are using CW and a 9sdg128B and need to I/O to a serial port... but have no phsyical serial port on the board. It seems like it should be possible to use Terminal component in the Debugger, but it isn't obvious to me how to do so. The doc set says this component relates to the Abatron BDI... whatever that is. Has anyone any advice on how to do this please, or can it even be done? W...


LRAE linking with CodeWarrior

Started by apedroso11 in 68HC1218 years ago 2 replies

I am using LRAE (AN2546SW) with CodeWarrior3.1 but I have problems linking I have created a new project from the Stationary for...

I am using LRAE (AN2546SW) with CodeWarrior3.1 but I have problems linking I have created a new project from the Stationary for MC9S12DP256 (flash target) I have substituted the called to _Startup routine in the PRM file to the called to main routine of the AN2546SW in order to use its initialization instead of the one on the START12.c from


Problems with EEPROM Writes on HC9S12XD256

Started by "Tennies, Joseph C." in 68HC1214 years ago 3 replies

I have been trying to write to the EEPROM on the HC9S12XD256 processor and have been having problems getting it to write. The OSC is 12 MHz,...

I have been trying to write to the EEPROM on the HC9S12XD256 processor and have been having problems getting it to write. The OSC is 12 MHz, but we run the PLL to bring it up to 48 MHz. Our EDIV is set to 60 (with no PRDIV8). The following code is on FreeScale CodeWarrior 4.7. Is there something blatently obvious that I'm doing wrong? (I know I need timeouts instead of infinite whil...


Question on cosmic space modifier @near, @far and @tiny

Started by jekimcmu in 68HC1220 years ago 1 reply

Hello, I am currently rebuilding a project in CodeWarrior IDE(version 3.1). The project was originally developed in WinIDEA...

Hello, I am currently rebuilding a project in CodeWarrior IDE(version 3.1). The project was originally developed in WinIDEA with Cosmic compiler. Here is an example of errors. When I compile the project, I have an error "C1143: Ambiguous cosmic space


Link error with metrowerks

Started by oliv_rennes in 68HC1220 years ago 1 reply

Hi, I have upgrage my metrowerks from a 4.2 to a 5.5. My project was compile and link corretly with the 4.2 and now it doesn...

Hi, I have upgrage my metrowerks from a 4.2 to a 5.5. My project was compile and link corretly with the 4.2 and now it doesn t link! I have errors : Link Error : L1822: Symbol _STORE_FAR_16 in file C:\Program Files\Metrowerks\CodeWarrior CW12_V3.0\lib\HC1


Dragon 12 SCI

Started by nishanth_r in 68HC1214 years ago 7 replies

Hey All, I'm working on a project with a Dragon12 board running codewarrior for the code. i'm trying to get position control of an arm...

Hey All, I'm working on a project with a Dragon12 board running codewarrior for the code. i'm trying to get position control of an arm connected to a motor. I manged to get this done, but it kinda oscillates and so my professor suggested i analyse the position values to get a proper proportional control value. i'm trying to use SCI to get output my position error values so i can plot them. ...


BDM Not Working

Started by pickleza in 68HC1219 years ago 15 replies

Hi all. I am having a huge problem communicating with my board. It did used to work, but now CodeWarrior tells me that there is no...

Hi all. I am having a huge problem communicating with my board. It did used to work, but now CodeWarrior tells me that there is no target attached. It gives a "No target connected, or BDM speed problem", and it won't auto detect the clock divisor. It did work until fairly recently. I know that my P&E Multilink cable is fine b


Reading data on Hyperterminal via serial connector P1

Started by Ashwin in 68HC1218 years ago 7 replies

I want to be able to view some data on an output device. I saw an example in the Metrowerks CodeWarrior and it outputs to the SCIO. I tried...

I want to be able to view some data on an output device. I saw an example in the Metrowerks CodeWarrior and it outputs to the SCIO. I tried doing that and I am able to see data on the transmit pin of the Serial connector (P1). How do I get that to talk with my computer's hyperterminal, so that I can see the data on the screen and not on the scope? The hyperterminal keeps saying "Unable t...


CodeWarrior C compiler for MC9S12DP256

Started by Naheed M K in 68HC1221 years ago 4 replies

Hi, Does any one use c compiler for MC9S12DP256 for developing small code to store at RAM and execute it. I am using DRAGON12PRO...

Hi, Does any one use c compiler for MC9S12DP256 for developing small code to store at RAM and execute it. I am using DRAGON12PRO board and trying to compile. I have successfully compiled and stored the code to RAM but not able to execute. I have tried to load .abs file and s


Problem debugging firmware generated by Processor Expert

Started by cwching.rm in 68HC1219 years ago 7 replies

Hi all, I am using the M68KIT912DP256 development kit from Freescale to develop the firmware for MC9S12A64CPV microcontroller. I am using...

Hi all, I am using the M68KIT912DP256 development kit from Freescale to develop the firmware for MC9S12A64CPV microcontroller. I am using the Processor Expert within Metrowerks Codewarrior for HCS12 to build an initial startup project, with the target CPU of MC9S12DP256BCPV. As I tried to debug my firmware using the Hi-wave debugger, I experienced problem in setting breakpoints. I keep get...


Download my program to motorola EVB for hc12

Started by uripeled2000 in 68HC1221 years ago 3 replies

Please anyone can tell me how to download my program that I wrote using Codewarrior for HC12 to motorola's EVB board ? And how to ...

Please anyone can tell me how to download my program that I wrote using Codewarrior for HC12 to motorola's EVB board ? And how to convert to *.s19 or *.phy ? Thank you Uri


A compiler problem.Is it because the C Program or CWSEHC12..

Started by caoshyh in 68HC1220 years ago

I am using the CodeWarrior Development Studio Special Edition for HCS12 write a simple program for the MCU of MC9S12DP256B using...

I am using the CodeWarrior Development Studio Special Edition for HCS12 write a simple program for the MCU of MC9S12DP256B using the HCS12 software stationery of stationary-k79x.In the Project manager window I removed several MCU peripheral definition and add two files ( "P


Bootloader MC9S12DP256B

Started by jcz in 68HC1219 years ago 3 replies

I have a basic question : how can I upload/run bootloader on motorola MC9S12DP256B (I am using CodeWarrior 5.5, BDM-MULTILINK) I found...

I have a basic question : how can I upload/run bootloader on motorola MC9S12DP256B (I am using CodeWarrior 5.5, BDM-MULTILINK) I found some s-rec files (AN2546SW.zip) on freescale.com with doc's: "HCS12 Load RAM and Execute Bootloader User Guide". When I try uploading these s-rec (for 256) either I have memory errors or it just doesn't wor


Metrowerks SmartLinker doesn't include Banked Flash code in S-Record generation

Started by phylacjoe in 68HC1221 years ago 1 reply

I've recently been studying M.Doughman's AN2153: Serial Bootloader for MC9S12DP256. It is stated that S-records generated by Cosmic...

I've recently been studying M.Doughman's AN2153: Serial Bootloader for MC9S12DP256. It is stated that S-records generated by Cosmic software works fine, but I'm on Metrowerks CodeWarrior, so... I had no problems installing the bootloader into the Protected High area (Starti


codewarrior warning says no dwarf debug info for all c files

Started by ericshufro in 68HC1220 years ago 1 reply

Why would i get the warning that all of my path\filename.c.o files have no dwarf debug information? the compiler option nodug...

Why would i get the warning that all of my path\filename.c.o files have no dwarf debug information? the compiler option nodug is not set and i thought generating debug was definetely something the compiler did. Im confused. any help is appreciated thank y


Problems programing flash on M68KIT912DP256 with BDM Multilink/Metrowerks

Started by djsimpson100 in 68HC1222 years ago 3 replies

Hi all, I am having problems programming the flash on the MC9S912DP256. I am using Codewarrior HC12 V1.2 and the P&E BDM...

Hi all, I am having problems programming the flash on the MC9S912DP256. I am using Codewarrior HC12 V1.2 and the P&E BDM Multilink which came with the Motorola M68KIT912DP256. If I load the Fibo Flash example, the debugger stalls at at the 60% mark in execu


CodeWarrio error L1121

Started by rebeschini2004 in 68HC1217 years ago 2 replies

Good morning, I use CodeWarrior version 3.1 for HC12 - microcontrolador MC9S12DJ64 When compiling gives the error: Link Error...

Good morning, I use CodeWarrior version 3.1 for HC12 - microcontrolador MC9S12DJ64 When compiling gives the error: Link Error : L1121: Out of allocation space at address 0x803B for .copy section Link Error : Link failed I already did what is in Codewarior helps, that it is to change the position of the memory of the file .copy, but it didn't work... ...


CodeWarrior Bug - File Error 206003??

Started by eric_cina in 68HC1219 years ago 3 replies

If I have a *.c file open and I compile my project (including this file), I receive a few warnings but it compiles. Then I try to make ...

If I have a *.c file open and I compile my project (including this file), I receive a few warnings but it compiles. Then I try to make changes to this same *.c file and I cannot save it. I get the following: File Error 206003. Could not open file because access was denied. Then I have to close the file, then open it back up and all is


How to convert my *.abs to *.s19 file

Started by uripeled2000 in 68HC1221 years ago 2 replies

Hi I am developing software for the MC9S12DG256BCPV using the 9s12256 model 112 utility board and the Metrowerks CodeWarrior V2...

Hi I am developing software for the MC9S12DG256BCPV using the 9s12256 model 112 utility board and the Metrowerks CodeWarrior V2 after make I get DG256B_ProcessorExpert_P&E.abs. How to convert this file into *.s19 file in order to be able to download it to my utility Boar


CodeWarrior 6.1 debugger | HC9S12E128 breakpoints don't work

Started by Tim Perry in 68HC1220 years ago 1 reply

Environment: Windows XP Metrowerks Code Warrior Dev Studio 3.1 Real-Time Debugger 6.1 uController: HC9S12E128 Language: C &...

Environment: Windows XP Metrowerks Code Warrior Dev Studio 3.1 Real-Time Debugger 6.1 uController: HC9S12E128 Language: C & C++ Problem: I get the message "Cannot set hardware breakpoint at address " on all lines of code.