You can try the freeware as12 - look for as12d: http://www.ericengler.com/AsmIDE.aspx |
You can try the freeware as12 - look for as12d: http://www.ericengler.com/AsmIDE.aspx |
Thanks alot for that buddy, I really appreciate it!! Do you know if there is a DEMO or EVALUATION version of CASM12 or CASM12Z ?? Im trying to get my hands on one (Id order the full version, but they send me the actual program, and I need to get what im doing finished in the next 2 weeks!) Reason being, I found some code for interfacing the LCD, from a weblink someone provided on the board, and they used CASM12 to assemble it (obviously with no errors). If I try to compile it in codewarrior, i get errors. see: http://www.freescale.com/files/microcontrollers/doc/app_note/AN1774.p df Now, what values do I need to change for ram, flash, etc to make it work properly on my processor? This looks like what I need to get my LCD working. Also, I do understand HC11 inside out, and my actual code was quite similar to this one in the link, so I do understand whats going on in it :) If you can help out with this buddy, id really appreciate it. Cheers. --- In , "Erich Styger" <erich.styger@f...> wrote: > With CodeWarrior, start the IDE (bin\ide.exe), then menu File > New, select > 'HC(S)12 New Project Wizard, specify a Project name/location, select > MC9S12E128, then Assembly only, absolute or relocatable assembly (whatever > you want to do, probably just absolute?), then select probably simulator and > the P&E debugging method. > This will create you a nice starter (but still you have to implement your > LCD drivers). > Menu Project > Make or Project > Debug will do the job what they suppose to > do. > Menus Project > Set Default Target and Project > Set Default Project is > something you should look at too. > And: it will create you the S19 file too (see the .bbl file in the project > which does it for you). > > And if you want to have a command line assembler: sure, have a look at the > prog\ahc12.exe. > If you want to use it inside a DOS shell and having the assembler messages > on stdout too: > Use prog\piper.exe prog\ahc12.exe > > But this will not substitute any time on your side to make yourself familiar > with the S12 cpu. > And see the manuals in the 'Help' and 'Help\PDF' subfolder. > > Erich > > > -----Original Message----- > > From: gogosgeorge [mailto:ggogos@b...] > > Sent: Donnerstag, 10. Mz 2005 09:14 > > To: > > Subject: [68HC12] Need to generate s2 file simply!!! NEED HELP QUICK!! > > > > > > > > > > Hi guys, > > > > Im doing my engineering project now, and purchased 2 9S12E128 > > Evaluation boards to use, as well as 2 LCD 16char/2 line displays. I > > used to use a hc11 which was soooo easy to create a s19 file using > > as11, now its not that easy for me with the hcs12! I got codewarrior > > with it, but have no idea how to use it. Also, I try to load my old > > code from my hc11 onto the new hcs12, but it doesnt wanna work. I > > read somewhere about defining my flash, variables, etc. Can someone > > give me the values on how to do this and where it goes in my code? > > > > Most importantly though, is there a command based assembler for the > > hcs12, like as11? Id still use as11, but it doesnt recognise the > > newer instructions. If codewarrior could spit out a s2 or s19 file > > easily, then thays what i need to know. It seems a bit complicated, > > and i dont do any C, just assembly language. > > > > Also, has anyone interfaced a similar type of LCD to their 9S12E128 > > or similar board? im having great difficulties. Im using Ports A and > > B for the outputs, but i think im initialising the display wrong. > > The manual says if you dont wait 20ms you have to set up the LCd > > manually with delays. Hoe can this be done? > > > > Sorry, im very new with the hcs12 and LCD's any help would be > > GREATLY appreciated! > > > > Cheers :) > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > |
Thanks alot for that buddy, I really appreciate it!! Do you know if there is a DEMO or EVALUATION version of CASM12 or CASM12Z ?? Im trying to get my hands on one (Id order the full version, but they send me the actual program, and I need to get what im doing finished in the next 2 weeks!) Reason being, I found some code for interfacing the LCD, from a weblink someone provided on the board, and they used CASM12 to assemble it (obviously with no errors). If I try to compile it in codewarrior, i get errors. see: http://www.freescale.com/files/microcontrollers/doc/app_note/AN1774.p df Now, what values do I need to change for ram, flash, etc to make it work properly on my processor? This looks like what I need to get my LCD working. Also, I do understand HC11 inside out, and my actual code was quite similar to this one in the link, so I do understand whats going on in it :) If you can help out with this buddy, id really appreciate it. Cheers. --- In , "Erich Styger" <erich.styger@f...> wrote: > With CodeWarrior, start the IDE (bin\ide.exe), then menu File > New, select > 'HC(S)12 New Project Wizard, specify a Project name/location, select > MC9S12E128, then Assembly only, absolute or relocatable assembly (whatever > you want to do, probably just absolute?), then select probably simulator and > the P&E debugging method. > This will create you a nice starter (but still you have to implement your > LCD drivers). > Menu Project > Make or Project > Debug will do the job what they suppose to > do. > Menus Project > Set Default Target and Project > Set Default Project is > something you should look at too. > And: it will create you the S19 file too (see the .bbl file in the project > which does it for you). > > And if you want to have a command line assembler: sure, have a look at the > prog\ahc12.exe. > If you want to use it inside a DOS shell and having the assembler messages > on stdout too: > Use prog\piper.exe prog\ahc12.exe > > But this will not substitute any time on your side to make yourself familiar > with the S12 cpu. > And see the manuals in the 'Help' and 'Help\PDF' subfolder. > > Erich > > > -----Original Message----- > > From: gogosgeorge [mailto:ggogos@b...] > > Sent: Donnerstag, 10. Mz 2005 09:14 > > To: > > Subject: [68HC12] Need to generate s2 file simply!!! NEED HELP QUICK!! > > > > > > > > > > Hi guys, > > > > Im doing my engineering project now, and purchased 2 9S12E128 > > Evaluation boards to use, as well as 2 LCD 16char/2 line displays. I > > used to use a hc11 which was soooo easy to create a s19 file using > > as11, now its not that easy for me with the hcs12! I got codewarrior > > with it, but have no idea how to use it. Also, I try to load my old > > code from my hc11 onto the new hcs12, but it doesnt wanna work. I > > read somewhere about defining my flash, variables, etc. Can someone > > give me the values on how to do this and where it goes in my code? > > > > Most importantly though, is there a command based assembler for the > > hcs12, like as11? Id still use as11, but it doesnt recognise the > > newer instructions. If codewarrior could spit out a s2 or s19 file > > easily, then thays what i need to know. It seems a bit complicated, > > and i dont do any C, just assembly language. > > > > Also, has anyone interfaced a similar type of LCD to their 9S12E128 > > or similar board? im having great difficulties. Im using Ports A and > > B for the outputs, but i think im initialising the display wrong. > > The manual says if you dont wait 20ms you have to set up the LCd > > manually with delays. Hoe can this be done? > > > > Sorry, im very new with the hcs12 and LCD's any help would be > > GREATLY appreciated! > > > > Cheers :) > > > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > > > |
With CodeWarrior, start the IDE (bin\ide.exe), then menu File > New,
select 'HC(S)12 New Project Wizard, specify a Project name/location, select MC9S12E128, then Assembly only, absolute or relocatable assembly (whatever you want to do, probably just absolute?), then select probably simulator and the P&E debugging method. This will create you a nice starter (but still you have to implement your LCD drivers). Menu Project > Make or Project > Debug will do the job what they suppose to do. Menus Project > Set Default Target and Project > Set Default Project is something you should look at too. And: it will create you the S19 file too (see the .bbl file in the project which does it for you). And if you want to have a command line assembler: sure, have a look at the prog\ahc12.exe. If you want to use it inside a DOS shell and having the assembler messages on stdout too: Use prog\piper.exe prog\ahc12.exe But this will not substitute any time on your side to make yourself familiar with the S12 cpu. And see the manuals in the 'Help' and 'Help\PDF' subfolder. Erich > -----Original Message----- > From: gogosgeorge [mailto:] > Sent: Donnerstag, 10. Mz 2005 09:14 > To: > Subject: [68HC12] Need to generate s2 file simply!!! NEED HELP QUICK!! > > > Hi guys, > > Im doing my engineering project now, and purchased 2 9S12E128 > Evaluation boards to use, as well as 2 LCD 16char/2 line displays. I > used to use a hc11 which was soooo easy to create a s19 file using > as11, now its not that easy for me with the hcs12! I got codewarrior > with it, but have no idea how to use it. Also, I try to load my old > code from my hc11 onto the new hcs12, but it doesnt wanna work. I > read somewhere about defining my flash, variables, etc. Can someone > give me the values on how to do this and where it goes in my code? > > Most importantly though, is there a command based assembler for the > hcs12, like as11? Id still use as11, but it doesnt recognise the > newer instructions. If codewarrior could spit out a s2 or s19 file > easily, then thays what i need to know. It seems a bit complicated, > and i dont do any C, just assembly language. > > Also, has anyone interfaced a similar type of LCD to their 9S12E128 > or similar board? im having great difficulties. Im using Ports A and > B for the outputs, but i think im initialising the display wrong. > The manual says if you dont wait 20ms you have to set up the LCd > manually with delays. Hoe can this be done? > > Sorry, im very new with the hcs12 and LCD's any help would be > GREATLY appreciated! > > Cheers :) > > Yahoo! Groups Links |
Hi guys, Im doing my engineering project now, and purchased 2 9S12E128 Evaluation boards to use, as well as 2 LCD 16char/2 line displays. I used to use a hc11 which was soooo easy to create a s19 file using as11, now its not that easy for me with the hcs12! I got codewarrior with it, but have no idea how to use it. Also, I try to load my old code from my hc11 onto the new hcs12, but it doesnt wanna work. I read somewhere about defining my flash, variables, etc. Can someone give me the values on how to do this and where it goes in my code? Most importantly though, is there a command based assembler for the hcs12, like as11? Id still use as11, but it doesnt recognise the newer instructions. If codewarrior could spit out a s2 or s19 file easily, then thays what i need to know. It seems a bit complicated, and i dont do any C, just assembly language. Also, has anyone interfaced a similar type of LCD to their 9S12E128 or similar board? im having great difficulties. Im using Ports A and B for the outputs, but i think im initialising the display wrong. The manual says if you dont wait 20ms you have to set up the LCd manually with delays. Hoe can this be done? Sorry, im very new with the hcs12 and LCD's any help would be GREATLY appreciated! Cheers :) |