Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use... [solved]
#4
(2011-02-01, 00:52:03)Lotusx Wrote: Hello,

Here it is : Firmware manual

You can download it on the homepage (bottom right) ; also available in the package.

Lotusx

I've been reading through the firmware manual and I believe that I have set everything up correctly. I am using the dsPIC30F6014A. I set my device name:

.equ __30F6014A, 1

I set my FCY and Baudrate:

.equ FCY, 1842500
.equ BAUDRATE, 115200

I uncommented the line to use UART2:

.equ USE_UART2, 1

I seem to be having problems setting the tris register. Is this the tris register for the output that is also tied to the UART? I don't think I understand what the "tris register of tx enable pin" is. I don't understand what information the firmware is asking for. The enable pin for UART2 is in the U2MODE register and the bits are UARTEN (bit 15), and UTXEN (bit 10). I don't think this is the information it is looking for. Am I way off?

I have tried to build the program but I get the following errors:
ds30loader.s: Assembler messages:
ds30loader.s:335: Error: Invalid operands specified ('bset LATE,#LED0').
ds30loader.s:335: Check operand #2. Operand must be between 0 and 15, inclusive.
ds30loader.s:339: Error: Invalid operands specified ('bset LATE,#LED1').
ds30loader.s:339: Check operand #2. Operand must be between 0 and 15, inclusive.
ds30loader.s:343: Error: Invalid operands specified ('bset LATE,#LED2').
ds30loader.s:343: Check operand #2. Operand must be between 0 and 15, inclusive.
ds30loader.s:347: Error: Invalid operands specified ('bset LATE,#LED3').
ds30loader.s:347: Check operand #2. Operand must be between 0 and 15, inclusive.

Any tips or help would be appreciated.
Reply


Messages In This Thread
How to use... [solved] - by grmcwilliams - 2011-01-31, 22:34:31
RE: How to use... - by Lotusx - 2011-02-01, 00:52:03
RE: How to use... - by grmcwilliams - 2011-02-01, 16:44:18
RE: How to use... - by grmcwilliams - 2011-02-14, 22:47:14
RE: How to use... - by Mikael Gustavsson - 2011-02-15, 00:02:59
RE: How to use... - by grmcwilliams - 2011-02-15, 00:10:34
RE: How to use... - by grmcwilliams - 2011-02-18, 21:11:02
RE: How to use... - by Mikael Gustavsson - 2011-02-19, 01:15:06
RE: How to use... - by grmcwilliams - 2011-02-22, 15:32:31
RE: How to use... - by Mikael Gustavsson - 2011-02-22, 19:58:45
RE: How to use... - by grmcwilliams - 2011-02-22, 21:12:13
RE: How to use... - by Mikael Gustavsson - 2011-02-23, 20:36:39
RE: How to use... - by grmcwilliams - 2011-02-25, 22:53:31
RE: How to use... - by Mikael Gustavsson - 2011-02-27, 22:10:56
RE: How to use... - by grmcwilliams - 2011-03-02, 15:52:30
RE: How to use... - by Mikael Gustavsson - 2011-03-02, 20:53:09

Forum Jump:


Users browsing this thread: 1 Guest(s)