Author |
Message |
Topic: I'd like to hire a consultant |
Robotan
Replies: 1
Views: 3581
|
Forum: General CCS C Discussion Posted: Wed Dec 30, 2009 10:38 am Subject: I'd like to hire a consultant |
I have been working on and off for about a year on a project, and have realized that I need help! My background is in mechanical engineering, so understandably programming is not my strong point.
Th ... |
Topic: Wireless bootloader |
Robotan
Replies: 3
Views: 5493
|
Forum: General CCS C Discussion Posted: Tue Dec 15, 2009 8:17 pm Subject: Wireless bootloader |
I use bluetooth for both transmit and receive, but this would only be intensive during loading a new program. While the program runs, the bluetooth isn't used much, only to set a few parameters if nee ... |
Topic: Wireless bootloader |
Robotan
Replies: 3
Views: 5493
|
Forum: General CCS C Discussion Posted: Tue Dec 15, 2009 11:32 am Subject: Wireless bootloader |
I am currently working on a project that could benefit from a bootloader. I want to make it more convenient by allowing the updates to be done over a bluetooth connection. I have a bluetooth module co ... |
Topic: migrating serial communication code from 16F877A to 18F4620 |
Robotan
Replies: 12
Views: 12476
|
Forum: General CCS C Discussion Posted: Wed Feb 25, 2009 7:22 am Subject: migrating serial communication code from 16F877A to 18F4620 |
Wow, thanks! I being an amateur programmer would never have caught that. I don't fully understand pointer arithmetic, but that method of accessing the high or low byte of an integer was lifted from a ... |
Topic: migrating serial communication code from 16F877A to 18F4620 |
Robotan
Replies: 12
Views: 12476
|
Forum: General CCS C Discussion Posted: Tue Feb 24, 2009 5:43 pm Subject: migrating serial communication code from 16F877A to 18F4620 |
I just tried the program without the interrupt and it still doesn't work. Both chips were tested with the same 10MHz crystal. With the picbaud program I noticed the error in the 19200 baud rate is muc ... |
Topic: migrating serial communication code from 16F877A to 18F4620 |
Robotan
Replies: 12
Views: 12476
|
Forum: General CCS C Discussion Posted: Tue Feb 24, 2009 7:22 am Subject: migrating serial communication code from 16F877A to 18F4620 |
Here is the complete program:
#include <18F4620.h>
#device ICD=TRUE
#fuses HS,NOWDT,PUT,NOLVP,NOBROWNOUT
#use delay (clock=10000000)
#use rs232(stream=AX12,baud=19200,xmit=PIN ... |
Topic: migrating serial communication code from 16F877A to 18F4620 |
Robotan
Replies: 12
Views: 12476
|
Forum: General CCS C Discussion Posted: Mon Feb 23, 2009 10:09 pm Subject: migrating serial communication code from 16F877A to 18F4620 |
Ok, I have two different student versions of the compiler. For the 16F877A, it is version 3.212, and for the 18F4620, version 4.084.
Just to be 100% sure it was not a harware problem, I put the old c ... |
Topic: migrating serial communication code from 16F877A to 18F4620 |
Robotan
Replies: 12
Views: 12476
|
Forum: General CCS C Discussion Posted: Sun Feb 22, 2009 10:01 pm Subject: migrating serial communication code from 16F877A to 18F4620 |
Nope, I'm not doing any low level stuff simply because I don't know how
So there aren't any #byte, #locate, #bit or #org statements in the program. The one thing that may be suspect is the interru ... |
Topic: migrating serial communication code from 16F877A to 18F4620 |
Robotan
Replies: 12
Views: 12476
|
Forum: General CCS C Discussion Posted: Sun Feb 22, 2009 3:16 pm Subject: migrating serial communication code from 16F877A to 18F4620 |
Well, I tried installing the 18F4620 chip on the old board to replace the 16F877A. This means all of the hardware, including the crystal is the same. I loaded an essentially identical program that was ... |
Topic: migrating serial communication code from 16F877A to 18F4620 |
Robotan
Replies: 12
Views: 12476
|
Forum: General CCS C Discussion Posted: Sat Feb 21, 2009 9:09 pm Subject: migrating serial communication code from 16F877A to 18F4620 |
Hello,
I am working on an application that controls dynamixel ax-12 servo motors. These motors are addressable on a serial bus and can be sent command positions, speeds etc. Anyway, I had the code ... |
Topic: ICD-S40 not working with new compiler |
Robotan
Replies: 2
Views: 24994
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Wed Feb 11, 2009 8:29 pm Subject: ICD-S40 not working with new compiler |
In the meantime I did get things working by using the old ICD program with the new compiler. This allows me to download code to the chip. But I haven't figured out a way to use the debugger.
Does any ... |
Topic: ICD-S40 not working with new compiler |
Robotan
Replies: 2
Views: 24994
|
Forum: CCS ICD / Mach X / Load-n-Go Posted: Sun Feb 08, 2009 1:31 pm Subject: ICD-S40 not working with new compiler |
I recently upgraded to version 4.084 and my ICD no longer works. I still have an older version of the software on my laptop, and the ICD works fine with it. I updated the firmware on the ICD to the la ... |
Topic: Board design for 18f452 |
Robotan
Replies: 5
Views: 6687
|
Forum: General CCS C Discussion Posted: Fri Oct 17, 2008 3:48 pm Subject: Board design for 18f452 |
Thanks for the tips. I will definitely look into using an 18F4620. I do have a place on the board for a resistor between the crystal and the pic, so I'll make use of that.
I'm still curious about th ... |
Topic: Board design for 18f452 |
Robotan
Replies: 5
Views: 6687
|
Forum: General CCS C Discussion Posted: Fri Oct 17, 2008 7:19 am Subject: Board design for 18f452 |
Hello,
I am currently designing a board for the 18f452 pic and I have a couple questions. I would like to to run the chip at 40 Mhz. I understand this can be done in two ways: use a 10Mhz crystal a ... |
Topic: 1Mbps serial communication |
Robotan
Replies: 4
Views: 5843
|
Forum: General CCS C Discussion Posted: Fri Aug 15, 2008 11:40 am Subject: 1Mbps serial communication |
Right, my mistake. A 16Mhz crystal will give me the desired 1Mbps. I can change the crystal, but how do I get around the compiler limitation of the baud rate? The manual says of the set_uart_speed() f ... |
|