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...
9398
leovasconcelosalves
leovasconcel...
Nov 22, 2009 5:03 pm
Hi folks, I'm trying to build FreeRTOS "HCS12_GCC_banked Demo" and program the MCS912DP256 on MC9S12DP256EVB board (http://tr.im/Fuo2). I have success on...
9399
said
sjellouli
Nov 22, 2009 9:56 pm
I have been away from 68hx MCUs for several years, but I am coming back, I used to program the HC11, I have made the transition to the HC12 now, but I have one...
9400
Mike McCarty
Mike.McCarty@...
Nov 23, 2009 8:08 am
... Attachments get stripped. Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} Oppose globalization and One World Governments like...
9401
Mike McCarty
Mike.McCarty@...
Nov 23, 2009 8:12 am
... Welcome back! ... Are you asking "how to I set up the gnu-m68hc11 toolset" in order to write a program which eventually gets stored in FLASH? Mike -- ...
9402
said jello
sjellouli
Nov 23, 2009 1:53 pm
Hi Mike, How do I include attachments then? Thanks for your help with printf, I REALLY appreciate your kindness and help. I found a printf that works fine and...
9403
said jello
sjellouli
Nov 23, 2009 1:57 pm
Hi Mike, Exactly. Most of the programs I used so far used a very simple memory.x that places the code in the RAM section of the HC12. What I want now is a...
9404
Mike McCarty
Mike.McCarty@...
Nov 23, 2009 4:00 pm
... On list, you don't. If you are a member of the Yahoo!Group, then there is a way to "upload" files into a files area, which other members can see. I am not...
9405
said jello
sjellouli
Nov 23, 2009 4:27 pm
Thanks a MILLION. It's guys like you that make this group so useful to all of us. Have a GREAT GREAT GREAT day!!!!!!! ... From: Mike McCarty...
9406
said jello
sjellouli
Nov 24, 2009 1:34 am
Hi Mike, I haven't had any luck with your implementation of printf and friends. It seems that the main prpoblem is that it relies on the files stdioh, which...
9407
Mike McCarty
Mike.McCarty@...
Nov 24, 2009 8:07 am
... Well, it depends on having fputc(), if that's what you mean. I can send you my implementation of stdout, stderr, stdin, and fputc() if you like. They are...
9408
Mike McCarty
Mike.McCarty@...
Nov 24, 2009 8:46 am
said jello wrote: [...] ... I went and pulled an old map, and using my SMALL C compiler, and the assembly I wrote for stdio, the total package for printf() ...
9409
said jello
sjellouli
Nov 24, 2009 12:07 pm
Hi, Can you please send me the other stdio files that are needed by printf and sprintf? I will modify them to adapt them for the hcs12 MCU I am using. Thanks a...
9410
said jello
sjellouli
Nov 24, 2009 3:43 pm
Hi all, I was wondering if this question was ever asked before, and if yes, where can I find the thread and answer: How can I access a variable (local or...
9411
Sebastien Kramm
seb_kramm
Nov 25, 2009 9:48 am
... Thank you very much for sharing this work with us, I have no time no try it at present, but I surely will need it in the future. Let us know any update to...
9412
Daniel O'Connor
dariusmk2
Nov 25, 2009 10:45 am
... I don't know, do you HAVE an m68hc11-elf-gcc executable? Does it run? What does it say if you run: m68hc11-elf-gcc -dumpspecs -- Daniel O'Connor software...
9413
said jello
sjellouli
Nov 25, 2009 1:46 pm
Hi, I have rebuilt the GEL library for my target board, everything works fine, but I am getting bloated code anytime I use printf or sprintf. I finally found a...
9414
said jello
sjellouli
Nov 25, 2009 1:47 pm
I will upload the text version of my tutorial for rebuilding the gel library to the "files" section of this group. Someone has pointed to me that the...
9415
Mike McCarty
Mike.McCarty@...
Nov 25, 2009 5:51 pm
Oh, I guess you need fputc() as an example. It's still SMALL C, however. I suppose you can guess how to fiddle it up. If not, I'll give you some help. You'll...
9416
Mike McCarty
Mike.McCarty@...
Nov 25, 2009 5:51 pm
... Yahoo strips them. Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. ...
9417
Mike McCarty
Mike.McCarty@...
Nov 25, 2009 5:52 pm
... Sent under separate cover. Discussions of this code probably should be off list, as being off topic. Mike -- ...
9418
said jello
sjellouli
Nov 29, 2009 10:42 pm
Hi all, I was wondering if this question was ever asked before, and if yes, where can I find the thread and answer: How can I access a variable (local or...
9419
jsmcortina
Dec 5, 2009 8:04 pm
gcc inlnie assembly is horrible to use and the hc11/12 port will sometime turn good inline code into a mess. Here's a short snippet to get you going: __asm__...
9420
said jello
sjellouli
Dec 5, 2009 9:16 pm
Hi, Thanks for your help. I just need some clarifications on that code: %0 refers to the first variable, which one is it? %1 refers to the second variable,...
9421
jsmcortina
Dec 11, 2009 11:28 am
Take a look at this: http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html James...
9422
said jello
sjellouli
Dec 11, 2009 2:51 pm
Never mind. I started using codewarrior. It's a million times easier, plus I get to source-code debug my application. Thanks for your help. ... From:...