Ok. The file I posted before was ugly. I like this much better. #ifdef mc68hc12 void _ediv(unsigned short numhi, unsigned short numlo, unsigned short den,...
Consider all the input files as an ordered list. It reads from left to right. As it encounters a library in the list, it only satisfies symbols (functions,...
hi, em new to 68hc12 so i want to know the basic ckts for the controller i need the schematics of the flash programming, serial interface and debug mode plz...
hi! everyone, i want to learn programming with 6811. i am good with C and have knowldge about assembly. i do have motorola pink books for 6811 but i need some...
Hi John I have also been experimenting with the same board for the last few days. Did you make any progress on the degugger? I have made a simple windows based...
Mark, I have a python based serial debugger started. I can upload/download code and run from command line interface. All the other commands work from an API....
In the linker.x linker script, I put (small excpert): bank3C : { emstdio.elf(.text) foobarbaz.elf(.text) *(bank3C.text) *(bank3C.rodata) } >bank3C this causes...
Hi John Had a minor break-through last night and managed to compile a simple program with the GNU compiler and download it to the board (this means I have also...
If you are new, then it would be best to start with the S12 rather than the HC12 as its newer. There is lots of info here at www.freegeeks.net, also check out...
Hi all, I have an NE64 HCS12 platform which has got 256KB external ram. As I understand this ram can be made available using paging. Even though I define a...
Kiran Chandrashekaran...
kiran.nair@...
Jan 5, 2005 12:53 pm
5793
Hum, It is surprising if you were the first person to find this, if it is indeed wrong. I see why it would be better to work the other way. Do you know if this...
Hint: The term PPAGE stands for "Program Page". Some older devices had also "DPAGE", but there is none in the 9S12 family. There is simply no support for...
Hi Mark, There is lots of reading to do however the responses below may give you some help. Regards eng pi Mark Butcher <mjbcswitzerland@...> wrote: Hi...
... that ... I appreciate you taking the time to answer my question, however I am still a little confused. Do you mean create a seperate line of code to load...
... Well, I find LOTS of bugs that other people miss. Part of the problem in this case is that only people doing embedded work are likely to do anything...
Mark, Sorry for the delay, been trying to catch up at work during the Christmas break. GDB has plus's and minus's. Plus - backend for all the GUI based...
Jefferson, A general note, compiling with the -S switch to gcc will generate an assembly file of the C code. Reading through the assembly code will provide an...
Good fix from John, although I think it was supposed to address Frank since I didn't write the code for which I'm posting a fix :) I liked the "-S" option...
Hi John Many thanks for the reference files. I have managed to sort of get my test project to compile and link after checking through it. I will have to try...
Also a workable solution. The benefit of "m" is that you can then refer to "%1" multiple times in the same assembly. "d", "x", "y" passes the values in the...
Mark, The _start routine is in crt1.o in the gcc library directory. There is a libgcc.a that contains all the support routines for the compiler. You should be...
Hi! I'm trying to interface my application (sort of gdbserver) with gdb via gdb remote protocol. The 'g' command (read registers) requires me to send register...
I would like to thank Jefferson and John for their very helpful suggestions. This was the original method I was using for using the fuzzy logic engine of the...
Frank, 1. When doing line labels in in-line assembler, the line-label must start in the first column of the line. Thus, the \t and any extra space must be...
I found an extremely serious bug in the 68HC12 code generator that prevents a very simple function with 32 bit math from being compiled. Mixing 16 and 32 bit...
I think I may have found a bug in the compiler. I've found a way around the problem... but it may be indicative of a larger problem. Changing mant.ch[0] =...
Hi, this looks exactly like the problem I had last year. Anyway it got the same error while compiling. Would be nice to see this fixed but for now I still...