Speed of downloads with IAR debugger

Started by Andrei Chichak in 68HC129 years ago

Hello all, Does anyone out there use IAR's HC12 compiler/debugger? I am using a P&E Cyclone Pro and the download time for a 21K program is...

Hello all, Does anyone out there use IAR's HC12 compiler/debugger? I am using a P&E Cyclone Pro and the download time for a 21K program is about 5 minutes. By the time I get the debugger going, I can't seem to remember what the heck I was trying to fix. I discussed this with P&E and they figured that IAR is just using the Cyclone as a big, expensive, dumb BDM module. Doing a reset/...


Simulation !!!

Started by Rajesh R in 68HC1214 years ago

Dear Friends, Anybody knows how to simulate interrupts, different Operating Modes, on-chip peripherals like timers, ATD etc ....

Dear Friends, Anybody knows how to simulate interrupts, different Operating Modes, on-chip peripherals like timers, ATD etc . using IAR Systems Workbench? I am using C-Spy simulator from IAR Systems. Please reply in detail. I am a novice in this area. Thanking You,


Cosmic vs ImageCraft IDE for HCs12

Started by waltel506v in 68HC1214 years ago 3 replies

Hello, I'am currently using IAR with Motorola SDI BDM. We are in the process of having to move forward with new product using ...

Hello, I'am currently using IAR with Motorola SDI BDM. We are in the process of having to move forward with new product using 68S12a64. IAR has had multiple delays with release of update for new s12xx support since Nov2002 and now not due till Oct2003. Have attempted Co


IAR C + Motorola = some strange things

Started by lenux22 in 68HC1214 years ago 5 replies

Hello! We use HCS12 family controller with IAR compiler. This is a simple code: -------------------------------------- ...

Hello! We use HCS12 family controller with IAR compiler. This is a simple code: -------------------------------------- unsigned char B[4]; unsigned int *ptr; B[0] = 1; B[1] = 2; ptr = ( unsigned int* )B; ---------------


Please send me a IAR project...

Started by lenux22 in 68HC1214 years ago

Hello! Can anybody send me any IAR 2.31 (not demo) project (like "hello world" ) for the Motorola HCS12 with c-sources, binary...

Hello! Can anybody send me any IAR 2.31 (not demo) project (like "hello world" ) for the Motorola HCS12 with c-sources, binary and objects? There is something stranger with my project... My email WBR, lenux


Using IAR Compiler for MC9s12DP256

Started by mohan kumar in 68HC1214 years ago 2 replies

Hi, Is there any way to avoid having Interrupt Vector Table information in the output file generated using IAR workbench.? ...

Hi, Is there any way to avoid having Interrupt Vector Table information in the output file generated using IAR workbench.? I tried to delete the INTVEC segment in the linker file but, the linker always looks for this segment and generates a error. Is there any way to over ri


External RAM Access with IAR 2.31

Started by lenux22 in 68HC1214 years ago

Hello! We add to HCS12DG128 64Kb of external RAM. How to make IAR work with it? (Suppose, I have big array of data. And I want...

Hello! We add to HCS12DG128 64Kb of external RAM. How to make IAR work with it? (Suppose, I have big array of data. And I want this array fit to external (not to internal) ram) Do I need write something in *.xcl file, set the banked memory model or something?


RAM ROM Check with IAR EW6812

Started by Patrick Gempeler in 68HC1214 years ago

Hallo, is there anybody out there, who solved a RAM and ROM check with use the labels in the config file? ...

Hallo, is there anybody out there, who solved a RAM and ROM check with use the labels in the config file? -P(CODE)RCODE,CODE,CONST,CSTR=4000-7FFF,8000-BFFF,C000-FF7D I use the 912DG128A with IAR EW6812. Is there a solution to realise a RAM ROM check like follow?


Migrating project from IAR EW 2.31 C to 4.7 problems

Started by Rickard Rohlin in 68HC129 years ago 1 reply

Hello, I am asking you for help with a migration problem, migrating code from IAREW 2.31 C to 4.7. The memory won't map in the same areas as...

Hello, I am asking you for help with a migration problem, migrating code from IAREW 2.31 C to 4.7. The memory won't map in the same areas as in the older versions. In the old version, #pragma codeseg(XXX) was used, looking in the IAR migration guide, this translates to #pragma location = "XXX". The same with #pragma memory=constseg(YYY) will be #pragma constseg = "YYY". However, the linker...


IAR embedded workbench updates

Started by Always_Funy in 68HC1213 years ago 4 replies

hello, I use the EW6812-Pro 2.44A until yet. Since I use this IDE only one update comes out (in 1 year). To you know...

hello, I use the EW6812-Pro 2.44A until yet. Since I use this IDE only one update comes out (in 1 year). To you know about new benefits planned for the next few years? Will there be an absolut new version of the EW6812? I want to know it, cause I wou


HC11 to HC12

Started by Anonymous in 68HC1213 years ago 5 replies

Hello Group: Can anyone share the experiences they had taking an HC11(E1) design to an HC12S(E128)? What are the "look out...

Hello Group: Can anyone share the experiences they had taking an HC11(E1) design to an HC12S(E128)? What are the "look out fors"? Is it as simple as Mot would have you believe? I have IAR tools that I use for the 11 and want to Use th


Programming EEPROM

Started by xjmikab in 68HC1215 years ago

We would like to know if anyone can help us with the c-code for programing the EEPROM of a 9S12DP256 device. I'm using IAR...

We would like to know if anyone can help us with the c-code for programing the EEPROM of a 9S12DP256 device. I'm using IAR ICC6812 compiler. The oscillator cristal frekvens is 16 MHz. Thanks in advance.. Peter and Martin Below is my function for programming that


defining constant for use as an int

Started by WobberJ in 68HC1213 years ago 9 replies

Hi all, For this question, I'm using the IAR 3.10a evaluation kit, with a MC9S12C32 chip. This may be a basic C question, but here...

Hi all, For this question, I'm using the IAR 3.10a evaluation kit, with a MC9S12C32 chip. This may be a basic C question, but here goes... I've got a function that takes an int argurment: void sciInit (int baud); I'm calling it with a constant that is defined in a macro: sciInit (BAUD_9600); My pro


Clock oscillator question

Started by Steve-HighPoint in 68HC1214 years ago 6 replies

I am working on a project using either the 9s12A256 or the DP256 part. I have on my board a clock oscillator running at 5VDC and using...

I am working on a project using either the 9s12A256 or the DP256 part. I have on my board a clock oscillator running at 5VDC and using two 10K resistors to divide the voltage to be compatible with the processor clock input. 1.. My prototype uses a 16Mhz clock and works fine. My IAR CSpy was limited to


HCS12 Interrupts

Started by tophongli in 68HC1211 years ago

Hello, I am using IAR to develop a 9s12d64 based project. I am new to these and am having problems with interrupts. . In main program, I...

Hello, I am using IAR to develop a 9s12d64 based project. I am new to these and am having problems with interrupts. . In main program, I have the following init routine to turn realtime interrupt on: void rti_init (void) { RTICTL = 0x17; /* set RTI prescaler */ CRGINT = 0x80; /* Enable RTI interrupts */ } In ISR, I have the following routine with a dead loop bl...


help:Interrupt vector can't be produced!

Started by iamhillson in 68HC1212 years ago

I use IAR embedded workbench for motorola hc12 2.43c on MC9S12C64. I edited the linker command file. But when linked, the interrupt vector...

I use IAR embedded workbench for motorola hc12 2.43c on MC9S12C64. I edited the linker command file. But when linked, the interrupt vector address is BGND. for example, I put one ISR in address:ff8a. But after me linked the program, run it. When checked the memory, to my surprise, oxff8a is BGND. Please help me, Thank you


External Memory Addressing...

Started by lenux22 in 68HC1214 years ago

Hello! We use HCS12 controller in 80-pin package (DG128). External RAM memory chip is 64 Kb. I set controller to Normal...

Hello! We use HCS12 controller in 80-pin package (DG128). External RAM memory chip is 64 Kb. I set controller to Normal Expanded Wide mode. In IAR compiler to access the external RAM I use pointer to window 0x8000 - 0xBFFF such as: unsigned char *mem_arr; mem_arr = (un


IAR HCS12 Banked memory code

Started by Real Live One in 68HC1212 years ago 4 replies

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...

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: