Hi! I am trying to use gdb for debugging. In one of the timer interrupt applications, tried to watch the breakpoint on ISR. But I am doubtful whether...
Even if I can't help, answering the questions below might give some clues... ... Is this with the Jeff Whitis patch for gdb and 9S12 (or what target)? ... I'm...
When I compile interrupt routines, there is a head and tail generated by GCC to save and restore _.tmp, _.xy, etc. I am trying to port FreeRTOS, and it is the...
Look at http://www.speakeasy.org/~tomdean/os.html tomdean...
User Tomdean
tomdean@...
Aug 3, 2005 9:04 pm
6876
Jeffs, Thanks! a lot. Sorry, I was not prepared to respond immediately. Pl find detailed answers to your queries.Request to provide further clues. regards, ...
... Oh, I must have been thinking about another Jeff. It is Mark Whitis (I'm not good with names but I never forget a personality). Looks like same patch but...
So you haven't solved it either. It looks like your code is saving every possible soft reg, and the programmer would have to remove the ones that are not used?...
You can set the number of soft registers to some low value and just save those. I think you can get away with like three or four. It has been a long time... ...
User Tomdean
tomdean@...
Aug 4, 2005 4:13 pm
6880
... Two _.d softregs is normal, but I get away mostly with 0 and 1 (my epressions are simple). I use -fomit-frame-pointer, but I notice it automatically uses...
Look at __attribute__ for gcc. I believe there is a 'mark as used' attribute. Maybe you can do extern ... _.d1 __attribute((used))__ or, put...
User Tomdean
tomdean@...
Aug 4, 2005 6:13 pm
6882
Hi all I am using a device with 64k memory. 48k (-2k due to back ground debugger) is for my program (linear without paging) and one page (0x3d) is being used...
Can someone please tell me how to get a vectors.c rather that vectors.s that I was able to get through the examples that came with the GCC compiler. Another...
... Pretty easily: extern void _start(void); /* entry point in crt?.s */ void __attribute__ ((interrupt)) default_handler(void); void...
John-Mark Gurney
gurney_j@...
Aug 5, 2005 4:44 am
6885
... Hmm. That sounds like a code generator issue, or environment issue. The code generator should generate a block of descriptors of areas to be zeroed, and...
Mike McCarty
Mike.McCarty@...
Aug 5, 2005 1:34 pm
6886
Hey all, I am not quite sure how to go about doing inline asmbly with in GCC. I have a function that I'll just call foo for here and some global vars char...
... [snip] I found that CFLOW is installed on my machine (Fedora Core Linux). Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} This...
Mike McCarty
Mike.McCarty@...
Aug 5, 2005 1:55 pm
6888
Look at http://www.speakeasy.org/~tomdean/os.html. You need to change the contents of EEPROM so the interrupt vectors point to some place in RAM. And, define...
User Tomdean
tomdean@...
Aug 5, 2005 2:31 pm
6889
asm("ldx %0"::"m"( x )); asm("stx %0":"=m"( x ):); Look at the gcc doc on the m68hc11 site. http://www.gnu-m68hc11.org/ documentation, the gnu compiler,...
User Tomdean
tomdean@...
Aug 5, 2005 2:42 pm
6890
I am designing a controller for experimental aircraft engine management. One of the requirements are robust environmental tolerance. My first version of the...
Have you checked out the Megasquirt Forum? http://www.msefi.com We are using the HC08 for the original MS and the HCS12 for MSII. We have been having trouble...
... [ Sorry to the list for getting slightly off topic here!!] Yes, I'm well aware of the Megasquirt project. :) This is good news. That's another option I'm...
... My goal is to automatically exclude unused softregs. It looks like those attributes would only aid me to add more manually (something I could do myself...
... migrating to ... small ... I thought the MC9S12C32 would be great, at least at the same frequency. Have you checked out those specs? It's designed with...
... Hi Mike I did some more detailed work and can no longer reproduce the effect. Perhaps I was misinterpreting the map file previously. int i[100]; makes the...
Hi all Last night I added a little code and my project started to behave very strangely. After some debugging I found that some variables were not being...
... Thanks for the tip...yeah, they are modestly priced as well.....I've got some engineering samples on the way....boy, these families has such a bewildering ...
I tried making my .rodata overflow into the vectors, and I got a linker error (below). I did notice that as long as ld did not fill the space where .rodata ...
I've been using the same compiler version for over 2 years, and I just downloaded/installed the latest one. I've been building/running the same program for...