timer interrupt - abs_address ; abs_address

Started by koby_bens in 68HC1216 years ago

hi everyone! i am trying to make timer interrupt i found example which include abs_address interrupt_handler but but the compiler...

hi everyone! i am trying to make timer interrupt i found example which include abs_address interrupt_handler but but the compiler canwt handle them (c4201 pragmaabs_address was not handled,i am using metrowerks codewarrior), i need to see an example that work on codewarrior


Newbie questions

Started by mortisgr in 68HC1214 years ago

Hello all, I have these newbie questions if can someone spent some time answering them it would be very nice. ->What is the difference...

Hello all, I have these newbie questions if can someone spent some time answering them it would be very nice. ->What is the difference between small, banked and long memory model? ->When I use true time Simulator(Metrowerks) I cannot alter any memory positions nor my program can. If for example alters a variable of mine the proper position becomes red highlighted(until next order) a


Metrowerks HC12 Compiler

Started by bkohan_2000 in 68HC1215 years ago 2 replies

I have noticed a weird thing. My startup code looks like this: #pragma CODE_SEG FLSH_ROM #pragma NO_FRAME void...

I have noticed a weird thing. My startup code looks like this: #pragma CODE_SEG FLSH_ROM #pragma NO_FRAME void a_reset(void) { unsigned int *int_ee_location; // write to mapping registers once asm { clra staa INITRG ; control regs a


EEPROM write simulation with Codewarrior

Started by in 68HC1217 years ago 2 replies

Hello, Is it possible to simulate EEPROM writing with the simulator in Metrowerks Codewarrior V2.0 (special edition)? ...

Hello, Is it possible to simulate EEPROM writing with the simulator in Metrowerks Codewarrior V2.0 (special edition)? I use code generated by processor expert to write the EEPROM and when the function WriteSector() checks the CBEIF flag in ESTAT the memo


any one working on metrowerks codewarrior(please help me)

Started by shailu kallappa in 68HC1214 years ago 1 reply

hi this is shailaja, i hv some problem in codewarrior compiler if any one working on this please solve if any one working plz inform me...

hi this is shailaja, i hv some problem in codewarrior compiler if any one working on this please solve if any one working plz inform me so that i can contact u or give ur contact no so that i can contact u please,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, shailaja --------------------------------- Yahoo! India Matrimony: Find your par


P&E Multilink

Started by Adrian Vos in 68HC1213 years ago 2 replies

Hi All, Related to my previous query when I was trying to work out what was going on. The S12DP256B project I am working on has a 4MHz...

Hi All, Related to my previous query when I was trying to work out what was going on. The S12DP256B project I am working on has a 4MHz crystal, and uses the PLL to put the bus speed up to the max 25MHz speed. I use metrowerks to develop and test code on this platform, and I use the P&E Parallel BDM Multilink to connect to the target. When I debug my code in the target, I can step thro...


S records not in range or module

Started by lg123 lg123 in 68HC1215 years ago 2 replies

I m new to HC12. I was trying to flash some simple programs to HC12 using P&E Micro PROG12Z. My IDE is metrowerks Code warrior. When I try...

I m new to HC12. I was trying to flash some simple programs to HC12 using P&E Micro PROG12Z. My IDE is metrowerks Code warrior. When I try to flash the the program I get the error "Srecords not in range or module" Any idea whats wrong ? thanks Gomez --------------------------------- Discover Ya


CodeWarrior type cast objptr->funcptr

Started by Karsten Obenaus in 68HC1217 years ago 2 replies

We're using the Metrowerks Codewarrior for HC12 IDE and have encountered a problem with the compiler and type casting from an object...

We're using the Metrowerks Codewarrior for HC12 IDE and have encountered a problem with the compiler and type casting from an object pointer to a function pointer. Any help would be greatly appreciated. We'd like to use the HCS12 SGF NVM Standard Software Driver in our current


Relocatable vector table

Started by K.N.Mahesh in 68HC1215 years ago

Hi, I am using DJ128B with Metrowerks Codewarrior IDE. For this device, the interrupt vectors are between FF80 and FFFF. The vectors...

Hi, I am using DJ128B with Metrowerks Codewarrior IDE. For this device, the interrupt vectors are between FF80 and FFFF. The vectors contain the addresses of ISRs. The bootcode will reside in the region C000 to FFFF. When there is a need to update the application flash area, there is a risk when bootcode attempts to flash the vector


GNU Toolset for the HC12

Started by bitjockey1 in 68HC1216 years ago

Hello All!, I am trying out the GNU hc12 toolset and was wondering if there is a good way to make a header file of the IO...

Hello All!, I am trying out the GNU hc12 toolset and was wondering if there is a good way to make a header file of the IO registers that allow bit access as well as byte access to some of the registers? I have worked with the metrowerks compiler before and the 6812D60.h fil


Reading data on Hyperterminal via serial connector P1

Started by Ashwin in 68HC1214 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...


Software topic: Access to a constant in FLASH?

Started by Roth Markus in 68HC1215 years ago 2 replies

I am about to implement an automatic generated compilation date into the FLASH (thanks for all hints about that). The aim is to use...

I am about to implement an automatic generated compilation date into the FLASH (thanks for all hints about that). The aim is to use the SCI to send the compilation date of each software module as a diagnostic feature. Target: 912D60A Environment: Metrowerks CodeWarrior L


hc12 IRQ interrupt - help please

Started by cristian_d27 in 68HC1217 years ago 5 replies

For several days I've been trying to use the irq interrupt (low voltage on port e pin 1) without any success. I'm using metrowerks ...

For several days I've been trying to use the irq interrupt (low voltage on port e pin 1) without any success. I'm using metrowerks code warrior and a dbug12 board. How could I set the hc12 so that it executes my service routine when that pin goes low?. I have tried many methods (


Problem debugging firmware generated by Processor Expert

Started by cwching.rm in 68HC1215 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...


Codewarrior 3 and C++

Started by Daniel Lundin in 68HC1216 years ago 7 replies

Two questions: First: Will Codewarrior 3 for HCS12 support full ANSI C++ ? I'm using 1.2, and it didn't support the full...

Two questions: First: Will Codewarrior 3 for HCS12 support full ANSI C++ ? I'm using 1.2, and it didn't support the full standard, even though Metrowerks said it had "Full ANSI C++ draft". After testing the compiler and reading some help files, it appears th


Bugs or feature in Code Warrior Xgate stuff ?

Started by Kim Lux in 68HC1214 years ago 3 replies

I am running the Metrowerks Code Warrior xgate command line compiler and assembler in Eclipse. I've got the following issues: ...

I am running the Metrowerks Code Warrior xgate command line compiler and assembler in Eclipse. I've got the following issues: 1) The following instruction won't assemble with axgate.exe: TFR R6,PC Gives: ERROR A22005: Number or type of operands mismatch. Compiler listing gives 06fa, which is TFR R6, PC, according to the F


GNU compile error

Started by bitjockey1 in 68HC1216 years ago

Thanks Remko for the Bit Definition info. I am porting over source files from a Metrowerks project to compile under the GNU...

Thanks Remko for the Bit Definition info. I am porting over source files from a Metrowerks project to compile under the GNU tools. I am using the embedded IDE from eric engler. I have added a source and header file to the project and when I compile I now get a "target


S12E128 PORTAD outputs won't work

Started by Dave Sivertsen in 68HC1214 years ago 1 reply

I am confused. The Port Integration Module document says the PORT AD can be used as general purpose I/O and documents a data direction...

I am confused. The Port Integration Module document says the PORT AD can be used as general purpose I/O and documents a data direction register, and allows output bits to be set or cleared with PORTAD. The ATD10B16C Analog module document says PORTAD is read only. Using a BDM Multilink and Metrowerks, I find I can't change the PORTAD values


Bootloader HCS12

Started by tipet20002000 in 68HC1217 years ago 2 replies

Hello, Does anybody know how can I run application from RAM with metrowerks? I've done a bootloader in C for MC9S12A128 and...

Hello, Does anybody know how can I run application from RAM with metrowerks? I've done a bootloader in C for MC9S12A128 and a program with Builder C++ to download code from PC to HCS12 via RS485. I can download code into block 1, but to download code into block


Automatic generated Build-Number

Started by Roth Markus in 68HC1215 years ago 2 replies

Gentlemen I am about to re-setup the whole build process of our system with the Metrowerks IDE, target: HC12D60A. ...

Gentlemen I am about to re-setup the whole build process of our system with the Metrowerks IDE, target: HC12D60A. Question: I want to integrate an build number that counts up automatic. This number should be automatic generated and integrated in the code, at a cer