Hi,
I have a similar problem. Have you already found a solution?
Best regards
Tommy Lehmann
Hi,
I have a similar problem. Have you already found a solution?
Best regards
Tommy Lehmann
I'm confused, your using a PIC24 with PICBasic? How so?
George
He's not. That's why Offtopic.
Robert
Tommy: I never got a definitive answer. My circuits never worked properly and I can't say if it was due to the buffer not clearing or some other bug so in the end I switched to the UART module instead. I prefer SPI for it's use of a clock line but UART won due to it's asynchronous nature which simplified a lot of the code. It's a shame the asynchronous version of SPI doesn't work in my chips.
George: I always use MPASM for PIC10/12/16/18 and ASM30 for PIC24. This question was about the PIC itself though so the language doesn't really matter (and, as Robert said, is why it's posted in Off Topic)
Off on a tangent, can you give your impression of ASM30, the costs of using it (software/hardware)?
I remember branch register and that's it from college. It's been bugging me to get back in asm ever since I saw some asm in this forum.
Robert
Last edited by Demon; - 14th December 2014 at 03:31.
Robert: Sorry for the long delay. Too much going on around Christmas.
I quite like ASM30. It took a bit of getting used to as a lot of things work differently from MPASM and there are more commands but now I'm into it I like it much better. The only problem with Assembly in general is that it takes ages to write anything.
The built in macro support is only suitable for very basic things though and I usually find problems passing labels created with .equ into a macro. These days I don't use ASM30 macros at all. Instead, I define functions in PHP that write out the ASM30 code. It allows for much more compile time logic and can do things that Assembly macros will probably never do such as pulling in values from a website and inserting them in the ASM code.
I bought an ICD3 to write the code onto the PICs as my old programmer only supported up to PIC18. These aren't cheap but I'm glad I went with the ICD3 though because it is also a debugger. I honestly don't know how I used to debug things without being able to read all SFRs and RAM directly from the chips. So far I haven't paid for any software. MPLAB comes on a disc with the ICD3. I believe you have to pay if you want to use a C compiler (which is the main reason I'm still writing ASM)
Bookmarks