Hello.
Can you program a 16Bit PIC in assembly like the 8Bit or do you have to use
C?
Thanks
16 Bit PIC
Started by ●May 23, 2009
Reply by ●May 23, 20092009-05-23
Paul,
You can program the 16-bit family using ASM30, and its related linker, librarian, etc.
I did a quick web search and found a page that might give some hints:
http://www.reesemicro.com/Home/pic24-video-tutorials-1
I'm planning to use ASM30 to program a PIC24HJ12GP201 for a controller project. If I get an LED blinking, I'll try to remember to post the sample code.
Best Wishes,
Coop, aa1ww
--- In p..., "Paul" wrote:
>
> Hello.
>
> Can you program a 16Bit PIC in assembly like the 8Bit or do you have to use C?
>
> Thanks
>
You can program the 16-bit family using ASM30, and its related linker, librarian, etc.
I did a quick web search and found a page that might give some hints:
http://www.reesemicro.com/Home/pic24-video-tutorials-1
I'm planning to use ASM30 to program a PIC24HJ12GP201 for a controller project. If I get an LED blinking, I'll try to remember to post the sample code.
Best Wishes,
Coop, aa1ww
--- In p..., "Paul" wrote:
>
> Hello.
>
> Can you program a 16Bit PIC in assembly like the 8Bit or do you have to use C?
>
> Thanks
>
Reply by ●May 23, 20092009-05-23
> Hello.
>
> Can you program a 16Bit PIC in assembly like the 8Bit or do you have to
> use C?
>
> Thanks
Yes, you can program it in assembly. I wrote some assembly to read and
write flash. Everything else I did in C. It's quite a different
architecture than the pic 16 or 18.
Harold
--
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!
>
> Can you program a 16Bit PIC in assembly like the 8Bit or do you have to
> use C?
>
> Thanks
Yes, you can program it in assembly. I wrote some assembly to read and
write flash. Everything else I did in C. It's quite a different
architecture than the pic 16 or 18.
Harold
--
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!
Reply by ●May 23, 20092009-05-23
I just started playing with the 16-bit PIC lines. Specifically the
dsPIC30F's. So far I find they are VERY nice to work with. Just get MPLAB
from Microchip and you'll be golden. I really like having no banks and
native integer support is super as well. I also like having multiple W
registers... If you've ever done work with the 8-bit stuff the 16-bit MCU
feels like a race car...
--- In p..., "Harold Hallikainen" wrote:
> > Hello.
> >
> > Can you program a 16Bit PIC in assembly like the 8Bit or do you have to
> > use C?
> >
> > Thanks
> >
> > Yes, you can program it in assembly. I wrote some assembly to read and
> write flash. Everything else I did in C. It's quite a different
> architecture than the pic 16 or 18.
>
> Harold
> --
> FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
> opportunities available!
>
--- In p..., "Harold Hallikainen" wrote:
> > Hello.
> >
> > Can you program a 16Bit PIC in assembly like the 8Bit or do you have to
> > use C?
> >
> > Thanks
> >
> > Yes, you can program it in assembly. I wrote some assembly to read and
> write flash. Everything else I did in C. It's quite a different
> architecture than the pic 16 or 18.
>
> Harold
> --
> FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
> opportunities available!
>
Reply by ●May 25, 20092009-05-25
I just fancy doing it all in Assembly, any idea where i can find some templates
to get started? Just have no idea how to lay this one out
Cheers
From: Harold Hallikainen
Sent: Saturday, May 23, 2009 7:39 PM
To: p...
Subject: Re: [piclist] 16 Bit PIC
> Hello.
>
> Can you program a 16Bit PIC in assembly like the 8Bit or do you have to
> use C?
>
> Thanks
Yes, you can program it in assembly. I wrote some assembly to read and
write flash. Everything else I did in C. It's quite a different
architecture than the pic 16 or 18.
Harold
--
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!
Cheers
From: Harold Hallikainen
Sent: Saturday, May 23, 2009 7:39 PM
To: p...
Subject: Re: [piclist] 16 Bit PIC
> Hello.
>
> Can you program a 16Bit PIC in assembly like the 8Bit or do you have to
> use C?
>
> Thanks
Yes, you can program it in assembly. I wrote some assembly to read and
write flash. Everything else I did in C. It's quite a different
architecture than the pic 16 or 18.
Harold
--
FCC Rules Updated Daily at http://www.hallikainen.com - Advertising
opportunities available!
Reply by ●May 25, 20092009-05-25
----- Original Message -----
From: Paul Laverick
To: p...
Sent: Monday, May 25, 2009 1:16 PM
Subject: Re: [piclist] 16 Bit PIC
I just fancy doing it all in Assembly, any idea where i can find some
templates to get started? Just have no idea how to lay this one out
You'll find a Template folder in your Microchip directory.
Leon
From: Paul Laverick
To: p...
Sent: Monday, May 25, 2009 1:16 PM
Subject: Re: [piclist] 16 Bit PIC
I just fancy doing it all in Assembly, any idea where i can find some
templates to get started? Just have no idea how to lay this one out
You'll find a Template folder in your Microchip directory.
Leon
Reply by ●May 29, 20092009-05-29
Hi,
I'm using C for PIC18F452. But having problem with downloading to QwikFlash board using Tera Term Pro. I'm not clear what u have asked.
Thanks,
Ayesha
--- On Sat, 5/23/09, Paul wrote:
From: Paul
Subject: [piclist] 16 Bit PIC
To: p...
Date: Saturday, May 23, 2009, 9:39 AM
Hello.
Can you program a 16Bit PIC in assembly like the 8Bit or do you have to use C?
Thanks
I'm using C for PIC18F452. But having problem with downloading to QwikFlash board using Tera Term Pro. I'm not clear what u have asked.
Thanks,
Ayesha
--- On Sat, 5/23/09, Paul wrote:
From: Paul
Subject: [piclist] 16 Bit PIC
To: p...
Date: Saturday, May 23, 2009, 9:39 AM
Hello.
Can you program a 16Bit PIC in assembly like the 8Bit or do you have to use C?
Thanks
Reply by ●May 29, 20092009-05-29
--
Hi,
I'm using C language and Hitech 18 pro compiler, for PIC18F452(which has bootloader pre programmed). But having problem with downloading to QwikFlash board using Tera Term Pro. I'm not clear what u have asked.
i tried with sample code given in http:/www.picbook.com and it wasn't successfully downloaded.
is there any files that should be added to my project folder?
could any one can advice me about the procedure
Thanks,
Ayesha
--- On Sat, 5/23/09, Paul wrote:
From: Paul
Subject: [piclist] 16 Bit PIC
To: p...
Date: Saturday, May 23, 2009, 9:39 AM
Hello.
Can you program a 16Bit PIC in assembly like the 8Bit or do you have to use C?
Thanks
Hi,
I'm using C language and Hitech 18 pro compiler, for PIC18F452(which has bootloader pre programmed). But having problem with downloading to QwikFlash board using Tera Term Pro. I'm not clear what u have asked.
i tried with sample code given in http:/www.picbook.com and it wasn't successfully downloaded.
is there any files that should be added to my project folder?
could any one can advice me about the procedure
Thanks,
Ayesha
--- On Sat, 5/23/09, Paul wrote:
From: Paul
Subject: [piclist] 16 Bit PIC
To: p...
Date: Saturday, May 23, 2009, 9:39 AM
Hello.
Can you program a 16Bit PIC in assembly like the 8Bit or do you have to use C?
Thanks
Reply by ●May 29, 20092009-05-29
----- Original Message -----
From: Paul
To: p...
Sent: Saturday, May 23, 2009 5:39 PM
Subject: [piclist] 16 Bit PIC
Hello.
Can you program a 16Bit PIC in assembly like the 8Bit or do you have to use
C?
Of course you can!
Leon
--
Leon Heller
Amateur radio call-sign G1HSM
Yaesu FT-817ND transceiver
Suzuki SV1000S motorcycle
l...@btinternet.com
http://webspace.webring.com/people/jl/leon_heller/
From: Paul
To: p...
Sent: Saturday, May 23, 2009 5:39 PM
Subject: [piclist] 16 Bit PIC
Hello.
Can you program a 16Bit PIC in assembly like the 8Bit or do you have to use
C?
Of course you can!
Leon
--
Leon Heller
Amateur radio call-sign G1HSM
Yaesu FT-817ND transceiver
Suzuki SV1000S motorcycle
l...@btinternet.com
http://webspace.webring.com/people/jl/leon_heller/