I'm trying to build the development chain for the 68HC11, but I'm having all kinds of problems. I've gotten various different errors depending on if I use old...
9369
jsmcortina
Oct 5, 2009 12:03 am
This is a script I use to build the tool chains and run from a subdirectory below the sources. In my case I have /usr/src/jsm and the sources trees are there. ...
9370
Daniel O'Connor
dariusmk2
Oct 5, 2009 1:14 am
... Out of curiosity, what version are you building? Thanks. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au ...
9371
jsmcortina
Oct 5, 2009 10:50 am
... The base code versions are: binutils 2.18 gcc version 3.3.6 newlib 1.16 gdb 6.8 With the latest Stephane Carrez patches applied. Then I've been doing some...
9372
danieljjf
Oct 5, 2009 11:25 am
Thanks, James, the script worked great. Strangely enough, it runs exactly the same commands I did when I tried to install manually. The only real difference I...
9373
jsmcortina
Oct 5, 2009 11:32 am
... What CPU are you targetting and how are you going to use gdb with it? Until recently I had ignored gdb and for debugging I was still using HIWAVE that...
9374
Daniel O'Connor
dariusmk2
Oct 5, 2009 11:58 am
... Ahh, I only have HCS12 stuff here.. Is there any work on newer version of gcc? (or LLVM :) ... Wow, how'd you get that working? I'd be very interested in...
9375
jsmcortina
Oct 5, 2009 12:34 pm
... I briefly tried some of the newer versions and HC11/12 support is horribly broken. After a few days banging my head against the wall I returned to 3.3.6. ...
9376
danieljjf
Oct 5, 2009 2:22 pm
I'm targeting the MC68HC11. I was hoping to be able to use the simulator with gdb, which I've done in the past....
9377
Ben Morse
esromneb
Oct 5, 2009 11:41 pm
My coworker was able to 100% successfully build the tool chain. I do not have all his knowledge, but I will help you the best I can. first off use gcc3.3.6 ...
9378
danieljjf
Oct 6, 2009 1:58 am
I was able to build GDB 6.8 earlier today, so I now have the whole chain working. Thanks for offering to help, though. Daniel...
9379
said jello
sjellouli
Oct 6, 2009 3:21 pm
Can you please give me detailed instructions on what you did to build the while chain? I haven't done anything using the 9s12 in several years, and even then I...
9380
danieljjf
Oct 7, 2009 3:57 am
For binutils, gcc, and newlib, I used the script James gave in an earlier post for this topic (with the specific directories, etc. modified to my...
9381
Rohan
rohan.cowley
Nov 9, 2009 12:17 pm
Hi Im using a custom development board based around the 9s12c32 micro. freescales sermon is loaded and i'm trying to use the PLL to keep the eclk at 24mHz in...
9382
said jello
sjellouli
Nov 9, 2009 3:14 pm
Why are you using Freescale serial monitor if you are not planning on using codewarrior? I would recommend using codewarrior that allows you background...
9383
trigpointuk
Nov 16, 2009 11:49 am
I am just making a start with a softecmicro HCS12X Starter kit. It has a USB to BDM interface which I have never come across before, dmesg identifies the...
9384
Eckhard Gosch
egoschde
Nov 16, 2009 12:24 pm
Hello, does it ook like the one in the attached picture ? Then it is an InDart HCS12 from Softec Micro. You can download the Driver at Softecmicros hjomepage. ...
9385
Philip Barnes
trigpointuk
Nov 16, 2009 1:11 pm
... Thanks Eckhard It is not that board, but similar. However I was looking for a solution that does not involve codewarrior, more a gnu-hc12 solution. Thanks...
9386
jsmcortina
Nov 16, 2009 4:05 pm
I'm not sure why people are suggesting the use of Codewarrior - this is a group for discussing GCC after all. I've not used the Softec BDM recently, but I have...
9387
said jello
sjellouli
Nov 18, 2009 1:32 am
Can you guys tell me if the stdio functions are included in the hc1x compiler? I need to use sprintf to format a string and send it to an LCD. I tried...
9388
said
sjellouli
Nov 18, 2009 1:33 am
Can you guys tell me if the stdio functions are included in the hc1x compiler? I need to use sprintf to format a string and send it to an LCD. I tried...
9389
Daniel O'Connor
dariusmk2
Nov 18, 2009 9:17 am
... The compiler doesn't have *printf*, that's a libc thing (hence newlib). -- Daniel O'Connor software and network engineer for Genesis Software -...
9390
said jello
sjellouli
Nov 18, 2009 1:13 pm
So printf is provided with the compiler? I was always under the impression that: printf, sprintf... functions were not bundled with the m68hc11-gcc compiler. I...
9391
said jello
sjellouli
Nov 18, 2009 11:44 pm
Hi all, Anybody has a small version of sprintf that he/she is willing to share? I just finished compiling the gel library ( I actually remembered how to do it...
9392
Mike McCarty
Mike.McCarty@...
Nov 19, 2009 12:15 am
... I've got one, but it's stripped down. What formats do you need to support? Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} ...
9393
said jello
sjellouli
Nov 19, 2009 12:26 am
Hi Mike, I just need a version that allows me to insert an integer inside a string. I don't need anything fancy that deals with formatting floating points or...
9394
Mike McCarty
Mike.McCarty@...
Nov 19, 2009 12:57 am
... I've sent you (under separate cover) one which does this: /* ** _Printf(int (*Func)(void *),void *FuncArg,const char *Format,va_list Args) ** Called by...
9395
Daniel O'Connor
dariusmk2
Nov 19, 2009 1:17 am
... If you are just turning an integer to a string you can do a simple hand rolled version (especially if you can make certain assumptions about sign, base,...
9396
said jello
sjellouli
Nov 20, 2009 3:09 pm
Hi all, If anybody is interested by this, I finally figured out how to use printf and friends and yet end up with very small programs: I tried the gcc and gel...
9397
said jello
sjellouli
Nov 21, 2009 5:16 am
Here a short version (text only) of the steps needed to rebuild and use the gel library under windows. I will have a full tutorial with screenshots and more...