Hi, I am trying to use latest GCC tools (i.e. gnu-68hc1x-3.0.exe). My target is MC9S12DP256B. I have written a small program to see how to compile and use gdb....
Hi ... You should also set -m68hcs12 for gcc m6811-elf-gcc -g -Os -mshort -m68hcs12 -Wl,-m,m68hc11elfb -o test.elf test.c (I have not yet installed 3.0, but it...
i'm looking for the right set of commands to compile a straight assembler file (as opposed to quoted inline c assembler) i've worked out how to get cpp (yes,...
Xperimenting with release 3.0, The optimization simply is messed up. I run two loops that look the same but one is supposed to happen after the other. It seems...
... Hash: SHA1 Hi Jeff, ... I'm sorry but I don't see the problem. For me, the generated code is correct. When PORTA is read as 0, you increment the loop...
... Hash: SHA1 Hi! ... This title is misleading. If you built your program with -m68hc12 or -m68hcs12 then the simulator really simulates the HC12/HC12 cpu...
I've been trying to get gcc 3.3.4 and 3.3.5 build on Mac OS X 10.3.8. Unfortunately, every time I have tried I run into the following problem: fp-bit.c: In...
... Understood, and the CPU core seems to be working just great. ... Right! This is the part that was tripping me up, I could see that it looked sort of like...
Hi, Thanks Jefferson. I am able to compile my code for hc12 now. I am now using -mhc12 option correctly. br. ... jeffs_int_err.c ... <br_professional@y...>...
... last ... Well, you are right of course. But the compiler should be able to hide this from the programmer. Currently I have to maintain a table of the paged...
Hi zsilinszkyz, I am exactly in the same situation as u mentioned in this mail. I am unable to open the com port through gdb. Please let me know what actually...
I am in the process of setting up bdm12 and tbdml to work in gdb with the hcs12. I have found that if I download a program to ram, and try to run it the JSRs...
... Do you mean you don't see the problem below, or you can't duplicate the problem with your system? Skipping '0' in each cycle would certainly not cut the...
On Monday 04 April 2005 06:19 pm, Jefferson Smith wrote: I agree with Jefferson, there is a bug. This compiles when using the -mshort flag, int main() { ...
Yes. I don't know the problem without an example, but it sounds like you're having it do something it can't do, like if the stack was not in ram. I am curious...
Hi, ... Hmm as signed int, 60000 (ea60) is interpreted as -5536 and there your condition 1<=-5536 isn't true anymore. ... Ciao -- megatec electronic GmbH Dipl....
Jeff, I am going to check this morning, the setup is probably moving ram. the fake JSRs are like this. LEAY 2,PC BRA dly_10us ;Delay for high voltage turn off...
Yea. So the bug is only in the unsigned int (values greater than the signed int max), and used in the double loops (as I've seen, only when both loopse are...
Jeff, The RAMHAL bit in INITRM, was not being set so ram was from 0x0000 to 0x2fff instead of from 0x1000 to 0x3fff. I will have to figure out some way to set...