Hello, I am facing a big problem in counting pulses generated by an encoder. Here is my code. Its not working. It is detecting pulses till the rate of 1400...
Hello, I am facing a big problem in counting pulses generated by an encoder. Here is my code. Its not working. It is detecting pulses till the rate of 1400...
Using Codewarrior, there is an alternative in C as the following: typedef void (*near intFunction)(void); const vector[] @vector_table_address { //list of...
For what its worth I have found it a lot more reliable to measure the pulse width through a timer interrupt and calculate the speed that way instead of using...
What is wrong with this code? Every HC08 or HC05 device I have made which interfaces with this RTC turns on the oscillator by setting the first line to 0. All...
Recently, when I try to load code onto my flash using the USB BDM and CodeWarrior, I get the following: "Error while loading diagnostics algorithm to target...
You may be working too hard. Haven't dealt with the DG256, but on a MC9S12Exx, all you have to do to initialiaze a pulse accumulator is... TIM0_PACTL = 0x40; ...
org $0800 flag DS 2 org $8000 ldaa #$f6 staa flag ........................ when i check the flag location it is not changed to this value or any value in...
The following works when using MiniIde's buid-in assembler. After running it, memory location 800h contains the f6h value. org $0800 flag: rmb 2 org $8000 ...
Hi All,
I have got the CAN working on a product I have running the S12DP256B.
I have two units connected togeather with transceivers happily talking to each...
Hi Eric. I will contact you off line about this issue and send you the latest ICD12 HTI DLL. However, the issue could be due to a usage not matching with the ...
Hi Would anyone know of a program to extract a subset of the S19 records, based on an address range? I want to put some of my untested new code in RAM and then...
Robert Lewis
robert.lewis@...
Jul 4, 2005 6:45 pm
11069
Freescale CodeWarrior for HC12 comes with a free burner utility (burner.exe) which allows you such manipulation. Erich...
It's easiest with a DSO or a logic analyzer but it can be done with a non-storage scope. Put it on one of the CAN lines and adjust the triggering so that it...
Hello, Thanx alot for helping me in counting pulses from an external encoder.... Now I want to display it at regular intervals on the LCD panel. Say every 2...
I was writing the following suggestions when I saw the probable cause. IBCR should be returned to 0x80 to end message. More discussion below. It reminds me of...
I am using CodeWarrior and a USB BDM to flash my code. I have a preload command script which wipes out the entire flash before the BDM performs the loading....
Thanks so much for taking the time to help but I have managed to fix the problem. I think IBAL was being set for some unknown reason (I don't have a second...
Thanks John,
I have communications happening at 250kbps. The next step is to work out what the messages mean. I have done some research, and am planning on...
Hi Eric. CodeWarrior for HC(S)12 does not provide a sector granularity for flash erasing. Currently only blocks or entire flash can be erased. Also the Flash...
Hi. The "jmp" instruction will not handle the ppage. So if you really don't want to use the "call" instruction, you have to make sure that either: -the source...
One option is to buy a hand held OBDII display unit and compare CAN messages to its display. They have really come down in price, I've seen them sold new for...
Hi Gilles, I am also interested in this subject. How would you make use of the linker To hop between pages without having to set PPAGE and use dummy swap ...
Mohamed Belaroussi
mohamed.belaroussi@...
Jul 6, 2005 4:01 pm
11082
Thanks Gilles. I modified the script you sent me and it works great. If there are any new manuals, completed or not, I would be happy to get a hold of them. ...
Hi, You can't 'jmp' from one page to another. If you are starting off in unpaged memory, you can set the PPAGE and then jump. The only way to jump from page...
Michael Huslig
mhuslig@...
Jul 6, 2005 10:38 pm
11084
Helo, Guys its been the problems week for me. Now I am facing a hardware problem. BDM is not detecting. I am using NoICE debugger and when i open it gives an...
Helo, Guys its been the problems week for me. Now I am facing a hardware problem. BDM is not detecting. I am using NoICE debugger and when i open it gives an...