... Objcopy is used to create S19 files from elf files. --only-section means just what it says, copy only the specified section over from the elf into the S19....
3816
shanesantner
Jan 29, 2004 4:09 pm
Thank you for your response. So in order to load the program into RAM, I would have a command like: m6811-elf-objcopy --only-section=.page0...
3817
Jefferson Smith
imajeff84663
Jan 29, 2004 4:32 pm
You really got to pay attention to the names of the memory regions you are defining. page0 is *definately* not the one you are supposed to change to 0x800....
3818
NZG
ngustavson@...
Jan 29, 2004 4:39 pm
That looks correct, I've always gone through a Makefile myself, so I'm not sure, mine looks like: Ipac.s19: Ipac.elf $(OBJCOPY) $(OBJCOPY_FLAGS)...
3819
kuinton
Jan 29, 2004 4:58 pm
Does anyone know how to program the register that is supposed to contain the DATA that is to be transmitted? I know that there is a Data Segment Register(DSR)...
3820
Jefferson Smith
imajeff84663
Jan 29, 2004 5:05 pm
It's more complicated than you've mentioned. There is an entire hardware module, much more than a serial port. You will need to look over ...
3821
shanesantner
Jan 29, 2004 6:18 pm
... Please excuse my ignorance, but what is banked memory and how is it different from other types of memory, i.e. what other type could the hc12 possibly...
3822
NZG
ngustavson@...
Jan 29, 2004 6:34 pm
... Banked memory is memory that can only be accessed by modifying the page register. Common memory can always be accessed regardless of the status of the page...
3823
kuinton
Jan 29, 2004 6:49 pm
Yeah but doesn't the HCS12 already come with one hardware module completed? It has the 8250 UART and the RS232 already interfaced.... Is that what you meant by...
3824
Remko Galama
remkomg77
Jan 30, 2004 12:18 am
Just looking at the srec...have you ever tried to do the same except then run the program from ram? Or else just try put the text section after ram, so...
3825
Jeff Orthober
ort111
Jan 30, 2004 4:05 am
Hi: Just wondering if the STL and / or iostream will be supported in the 68hc11 port. If it allready is, how to use. Thanks Yes, I know these are "big" items,...
3826
Peter Lingier
peter_lingier
Jan 30, 2004 8:51 am
Hi all, At last I found the solution of my problem, which is mentioned further below. Now I would like to have some more explanation on the subject. In short:...
3827
NZG
ngustavson@...
Jan 30, 2004 3:22 pm
... Yep, you weren't pointing to the RAM, but I'm not going to say I told you so. I am above saying I told you so. ... Yes! there is. I've run across this...
3828
Orthober, Jeff
ort111
Jan 30, 2004 5:01 pm
Hi: All Consider the following program class A { public: virtual void AA ( ) { } }; class B : public A { public: virtual void AA ( ) { } }; int main ( ) { A...
3829
Jefferson Smith
imajeff84663
Jan 30, 2004 5:05 pm
If you have MC912B32 or such, with 32k or less, then you don't have banked memory. I don't recall you mentioning which one you have. --jeffs ... status of ...
3830
Jefferson Smith
imajeff84663
Jan 30, 2004 5:33 pm
I better start over again. I'm only talking about hardware modules which typically come with 9S12 (also called HCS12) chips. SCI is one simple serial port...
3831
shanesantner
Jan 30, 2004 7:05 pm
You all have been very helpful, however most of the info provided is currently over my head. All I want to do is run a simple program, and then build my...
3832
bill.blum@...
alerton_engi...
Jan 30, 2004 8:03 pm
I will be out of the office starting 01/30/2004 and will not return until 02/02/2004. I will respond to your message when I return. Thank you. ...
3833
NZG
ngustavson@...
Jan 30, 2004 8:17 pm
Uh, thanks billl, I'll put it in my PDA. lol, I get so many of these. NZG....
3834
Jefferson Smith
imajeff84663
Jan 30, 2004 8:50 pm
I would think this has to do with having a different amount of ram. DP256 has 12k, DG128 has 8k. Since they might both start at 0x0000, you would have to init...
3836
Jefferson Smith
imajeff84663
Jan 30, 2004 9:39 pm
The latest S19 file would be most useful for someone to tell why it hangs. I did notice you provide "ports" in memory.x, where mine provides "_io_ports"....
3837
NZG
ngustavson@...
Jan 30, 2004 10:47 pm
They actually default to different starting values as well, the 256 defaults to start at 0x1000 and the 128 defaults to start at 0. If you look at the 128...
3838
a_esterhuizen
Jan 31, 2004 7:14 am
I downloaded and installed gcc and associated tools for the hc12 microcontroller, I also installed gel1.6 and port it to hc12-axcmd32 board. I compiled the...
3839
Anton Esterhuizen
a_esterhuizen
Jan 31, 2004 7:20 am
... __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/...
3840
Louis Bertrand
kafkalaughed...
Jan 31, 2004 10:04 am
... D-Bug12 is waiting for you to download the file (shows nothing). In Minicom, there is a function to send an ASCII file (not X-modem or Z-modem file...
3841
yshitoot@...
Jan 31, 2004 1:29 pm
The message contains Unicode characters and has been sent as a binary attachment....
3842
Stephane Carrez
stephane_carrez
Jan 31, 2004 3:17 pm
... Hash: SHA1 Hi! ... The STL and iostream can be compiled but the result is so large that this is not useable. I'll not support it because I have no interest...
3843
Anton Esterhuizen
a_esterhuizen
Jan 31, 2004 6:26 pm
Thanks for you insight Louis but the problem is I already send the hello.s19 from minicom with ascii file protocol and it doesn't work, d-bug12 just sits and...
3844
bill.blum@...
alerton_engi...
Jan 31, 2004 7:08 pm
I will be out of the office starting 01/30/2004 and will not return until 02/02/2004. I will respond to your message when I return. Thank you. ...
3845
Jeff Orthober
ort111
Jan 31, 2004 8:07 pm
Thanks: Pretty much what I expected.... Thanks again...